diff --git a/README.md b/README.md index b7800f6..e174471 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ Want to check out a demo? (coming soon) To add this theme to an existing Hugo site, start by adding this repo as a submodule in the site's themes folder. -`git submodule add https://github.com/cjtheham/hugo-theme-readable themes/readable` +`git submodule add https://codeberg.org/Freedom-to-Write/hugo-theme-readable themes/readable` Then, update your config file to be using the new theme. For example, if you are using config.toml, the line should become: `theme = 'readable'` -If you don't have an existing site, feel free to use the provided [starter template](https://github.com/cjtheham/hugo-starter-readable) to quickly get your website online. +If you don't have an existing site, feel free to use the provided [starter template](https://codeberg.org/Freedom-to-Write/hugo-starter-readable) to quickly get your website online. For more information on starting a Hugo website and using custom themes, refer to the [Hugo documentation](https://gohugo.io/documentation/). diff --git a/docs/development.md b/docs/development.md index 4a71c4f..eda393c 100644 --- a/docs/development.md +++ b/docs/development.md @@ -2,7 +2,7 @@ ## Adding your fork as an additional Git remote to a hugo-theme-readable Git submodule -The easiest way to test your changes is with an existing Hugo website that already uses this theme. You can use your own or checkout the [starter template](https://github.com/cjtheham/hugo-starter-readable). +The easiest way to test your changes is with an existing Hugo website that already uses this theme. You can use your own or checkout the [starter template](https://codeberg.org/Freedom-to-Write/hugo-starter-readable). The following steps show you how to add your fork as an additional Git remote to the checked out Git submodule. @@ -16,7 +16,7 @@ git submodule update cd themes/readable/ # Add your fork as the remote 'fork'. -git remote add fork git@github.com:/hugo-theme-readable.git +git remote add fork git@codeberg.org:/hugo-theme-readable.git # Create a new branch. git checkout -b my-change diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0a7a6c5..cf46ab0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,12 @@ -

Privacy Policy | Cookie Policy | Terms of Use

-

© 2023 {{ $.Site.Params.author }}

+{{ if .Site.Params.footer.minimal | not }} +

+ Privacy Policy | Cookie Policy | Terms of Use +

+{{ end }} + +{{ with .Site.Copyright }} +

{{ now.Format "2006" }} © {{ . | markdownify }}

+{{ else }} +

{{ now.Format "2006" }} © {{ .Site.Params.author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }}

+{{ end }} Mastodon | Contact Me | RSS Feed

diff --git a/theme.toml b/theme.toml index c9ce5fe..a971b5c 100644 --- a/theme.toml +++ b/theme.toml @@ -3,13 +3,13 @@ name = "Readable" license = "Unlicense" -licenselink = "https://github.com/cjtheham/hugo-theme-readable/blob/main/LICENSE" +licenselink = "https://codeberg.org/Freedom-to-Write/hugo-theme-readable/src/branch/main/LICENSE" description = "A theme using Freedom to Write's Readable.css" -homepage = "https://github.com/cjtheham/hugo-theme-readable" +homepage = "https://codeberg.org/Freedom-to-Write/hugo-theme-readable" tags = [] features = [] min_version = "0.41.0" [author] name = "RogueFoam" - homepage = "" \ No newline at end of file + homepage = ""