From 9cc3f7103cc616ad86f79b3c29e702c46dbff002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 1 Jul 2021 11:01:51 +0200 Subject: [PATCH] Compliance: Rename branch master to main --- README.md | 6 +++--- exampleSite/config.toml | 2 +- exampleSite/content/_index.en.md | 2 +- exampleSite/content/basics/installation/_index.en.md | 2 +- exampleSite/content/shortcodes/mermaid.en.md | 4 ++-- exampleSite/content/shortcodes/siteparam.en.md | 2 +- exampleSite/layouts/partials/menu-footer.html | 2 +- theme.toml | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1491b2fbea..864c884349 100644 --- a/README.md +++ b/README.md @@ -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. -[![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 @@ -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`. -![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 @@ -70,7 +70,7 @@ Somewhat work-in-progress steps to release with [gren](https://github.com/github ```shell git add CHANGELOG.md git commit -m "Ship tag " - git push origin master + git push origin main git tag -f git push --force origin ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1f5d231047..d7046bb723 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,7 +10,7 @@ defaultContentLanguageInSubdir = true relativeURLs = true [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" author = "Sören Weber" showVisitedLinks = true diff --git a/exampleSite/content/_index.en.md b/exampleSite/content/_index.en.md index f60a59d513..440361dec8 100644 --- a/exampleSite/content/_index.en.md +++ b/exampleSite/content/_index.en.md @@ -22,7 +22,7 @@ title: "Relearn Theme for Hugo" * [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" %}}) -![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 Feel free to update this content, just click the **Edit this page** link displayed on top right of each page, and pullrequest it diff --git a/exampleSite/content/basics/installation/_index.en.md b/exampleSite/content/basics/installation/_index.en.md index 89027cd366..e3e615f662 100644 --- a/exampleSite/content/basics/installation/_index.en.md +++ b/exampleSite/content/basics/installation/_index.en.md @@ -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 -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 diff --git a/exampleSite/content/shortcodes/mermaid.en.md b/exampleSite/content/shortcodes/mermaid.en.md index b5ed111dd8..66114813c8 100644 --- a/exampleSite/content/shortcodes/mermaid.en.md +++ b/exampleSite/content/shortcodes/mermaid.en.md @@ -156,7 +156,7 @@ classDiagram checkout newbranch commit commit - checkout master + checkout main commit commit merge newbranch @@ -177,7 +177,7 @@ end checkout newbranch commit commit - checkout master + checkout main commit commit merge newbranch diff --git a/exampleSite/content/shortcodes/siteparam.en.md b/exampleSite/content/shortcodes/siteparam.en.md index f97a1cdd64..dd1169fc8b 100644 --- a/exampleSite/content/shortcodes/siteparam.en.md +++ b/exampleSite/content/shortcodes/siteparam.en.md @@ -9,7 +9,7 @@ For instance, in this current site, the `editURL` variable is used in `config.to ```toml [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. diff --git a/exampleSite/layouts/partials/menu-footer.html b/exampleSite/layouts/partials/menu-footer.html index c2f27299c1..a3968b36e0 100644 --- a/exampleSite/layouts/partials/menu-footer.html +++ b/exampleSite/layouts/partials/menu-footer.html @@ -1,6 +1,6 @@
- Download + Download Star diff --git a/theme.toml b/theme.toml index 07bb50a986..dd0454535d 100644 --- a/theme.toml +++ b/theme.toml @@ -3,7 +3,7 @@ name = "Relearn" 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" homepage = "https://github.com/McShelby/hugo-theme-relearn/" repo = "https://github.com/McShelby/hugo-theme-relearn"