Compliance: Rename branch master to main

This commit is contained in:
Sören Weber 2021-07-01 11:01:51 +02:00
parent 862f981f0c
commit 9cc3f7103c
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
8 changed files with 11 additions and 11 deletions

View file

@ -4,7 +4,7 @@ This repository contains a theme for [Hugo](https://gohugo.io/).
Visit the [theme documentation](https://relearn.netlify.app/) to see what is going on. It is actually built with this theme. Visit the [theme documentation](https://relearn.netlify.app/) to see what is going on. It is actually built with this theme.
[![wercker status](https://app.wercker.com/status/062e9604da64b79944d87434cb63fa53/s/master "wercker status")](https://app.wercker.com/project/byKey/062e9604da64b79944d87434cb63fa53) [![wercker status](https://app.wercker.com/status/062e9604da64b79944d87434cb63fa53/s/main "wercker status")](https://app.wercker.com/project/byKey/062e9604da64b79944d87434cb63fa53)
## Main features ## Main features
@ -30,7 +30,7 @@ git clone https://github.com/McShelby/hugo-theme-relearn.git
Check that your Hugo version is minimum `0.25` with `hugo version`. Check that your Hugo version is minimum `0.25` with `hugo version`.
![Overview](https://github.com/McShelby/hugo-theme-relearn/raw/master/images/tn.png) ![Overview](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/tn.png)
## Usage ## Usage
@ -70,7 +70,7 @@ Somewhat work-in-progress steps to release with [gren](https://github.com/github
```shell ```shell
git add CHANGELOG.md git add CHANGELOG.md
git commit -m "Ship tag <tag>" git commit -m "Ship tag <tag>"
git push origin master git push origin main
git tag -f <tag> git tag -f <tag>
git push --force origin <tag> git push --force origin <tag>
``` ```

View file

@ -10,7 +10,7 @@ defaultContentLanguageInSubdir = true
relativeURLs = true relativeURLs = true
[params] [params]
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/master/exampleSite/content/" editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
description = "Documentation for Hugo Relearn Theme" description = "Documentation for Hugo Relearn Theme"
author = "Sören Weber" author = "Sören Weber"
showVisitedLinks = true showVisitedLinks = true

View file

@ -22,7 +22,7 @@ title: "Relearn Theme for Hugo"
* [Customizable look and feel and themes variants]({{%relref "basics/style-customization/_index.md"%}}) * [Customizable look and feel and themes variants]({{%relref "basics/style-customization/_index.md"%}})
* [Buttons]({{%relref "shortcodes/button.en.md" %}}), [Tip/Note/Info/Warning boxes]({{%relref "shortcodes/notice.en.md" %}}), [Expand]({{%relref "shortcodes/expand.en.md" %}}) * [Buttons]({{%relref "shortcodes/button.en.md" %}}), [Tip/Note/Info/Warning boxes]({{%relref "shortcodes/notice.en.md" %}}), [Expand]({{%relref "shortcodes/expand.en.md" %}})
![Screenshot](https://github.com/McShelby/hugo-theme-relearn/raw/master/images/screenshot.png?width=40pc&classes=shadow) ![Screenshot](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/screenshot.png?width=40pc&classes=shadow)
## Contribute to this documentation ## Contribute to this documentation
Feel free to update this content, just click the **Edit this page** link displayed on top right of each page, and pullrequest it Feel free to update this content, just click the **Edit this page** link displayed on top right of each page, and pullrequest it

View file

@ -19,7 +19,7 @@ Install the **Hugo-theme-relearn** theme by following [this documentation](https
This theme's repository is: https://github.com/McShelby/hugo-theme-relearn.git This theme's repository is: https://github.com/McShelby/hugo-theme-relearn.git
Alternatively, you can [download the theme as .zip](https://github.com/McShelby/hugo-theme-relearn/archive/master.zip) file and extract it in the `themes` directory Alternatively, you can [download the theme as .zip](https://github.com/McShelby/hugo-theme-relearn/archive/main.zip) file and extract it in the `themes` directory
## Basic configuration ## Basic configuration

View file

@ -156,7 +156,7 @@ classDiagram
checkout newbranch checkout newbranch
commit commit
commit commit
checkout master checkout main
commit commit
commit commit
merge newbranch merge newbranch
@ -177,7 +177,7 @@ end
checkout newbranch checkout newbranch
commit commit
commit commit
checkout master checkout main
commit commit
commit commit
merge newbranch merge newbranch

View file

@ -9,7 +9,7 @@ For instance, in this current site, the `editURL` variable is used in `config.to
```toml ```toml
[params] [params]
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/master/exampleSite/content/" editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
``` ```
Use the `siteparam` shortcode to display its value. Use the `siteparam` shortcode to display its value.

View file

@ -1,6 +1,6 @@
<center> <center>
<!-- Place this tag where you want the button to render. --> <!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/archive/master.zip" data-icon="octicon-cloud-download" aria-label="Download McShelby/hugo-theme-relearn on GitHub">Download</a> <a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" data-icon="octicon-cloud-download" aria-label="Download McShelby/hugo-theme-relearn on GitHub">Download</a>
<!-- Place this tag where you want the button to render. --> <!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a> <a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>

View file

@ -3,7 +3,7 @@
name = "Relearn" name = "Relearn"
license = "MIT" license = "MIT"
licenselink = "https://github.com/McShelby/hugo-theme-relearn/blob/master/LICENSE.md" licenselink = "https://github.com/McShelby/hugo-theme-relearn/blob/main/LICENSE.md"
description = "Documentation theme for Hugo" description = "Documentation theme for Hugo"
homepage = "https://github.com/McShelby/hugo-theme-relearn/" homepage = "https://github.com/McShelby/hugo-theme-relearn/"
repo = "https://github.com/McShelby/hugo-theme-relearn" repo = "https://github.com/McShelby/hugo-theme-relearn"