From ff6c9b7eb9ac3c2f29c397dafb9d9ffaeed78b96 Mon Sep 17 00:00:00 2001 From: Junyi Hou Date: Sun, 14 Jan 2024 17:50:55 +0800 Subject: [PATCH] updt: to anubis2 --- README.md | 12 ++++++------ exampleSite/hugo.toml | 2 +- .../content/post/markdown-syntax.md | 2 +- exampleSiteMultilingual/hugo.toml | 2 +- go.mod | 2 +- layouts/partials/footer.html | 2 +- theme.toml | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 674d51c..50004e8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anubis2 Theme for Hugo [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Netlify Status](https://api.netlify.com/api/v1/badges/7d9ea909-ad7e-4e47-b7c9-eefb7522d8c6/deploy-status)](https://app.netlify.com/sites/hugo-theme-anubis/deploys) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/paypalme/mitrichius/1) +# Anubis2 Theme for Hugo [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Netlify Status](https://api.netlify.com/api/v1/badges/7d9ea909-ad7e-4e47-b7c9-eefb7522d8c6/deploy-status)](https://app.netlify.com/sites/hugo-theme-anubis/deploys) Anubis2 is another simple minimalist theme for [Hugo blog engine](https://gohugo.io/). @@ -47,14 +47,14 @@ hugo mod init github.com// Add the following to your `config.toml` or `config.yaml` ```toml -theme = ["github.com/Mitrichius/hugo-theme-anubis"] +theme = ["github.com/Junyi-99/hugo-theme-anubis2"] ``` ### As Git Submodule Inside the folder of your Hugo site run: - $ git submodule add https://github.com/mitrichius/hugo-theme-anubis.git themes/anubis + $ git submodule add https://github.com/Junyi-99/hugo-theme-anubis2.git themes/anubis For more information read the official [setup guide](https://gohugo.io/overview/installing/) of Hugo. @@ -249,7 +249,7 @@ If you want font awesome icons, download "Font Awesome For Desktop" and open svg Only works for production environment. ### Multilingual mode -Check config/example usage in [exampleSiteMultilingual](https://github.com/Mitrichius/hugo-theme-anubis/tree/master/exampleSiteMultilingual) directory and documentation on [Hugo site](https://gohugo.io/content-management/multilingual/). +Check config/example usage in [exampleSiteMultilingual](https://github.com/Junyi-99/hugo-theme-anubis2/tree/master/exampleSiteMultilingual) directory and documentation on [Hugo site](https://gohugo.io/content-management/multilingual/). ### RSS RSS is available by site url + /index.xml. Also available for specific language, section, taxonomy. @@ -287,10 +287,10 @@ Example: `{{< video src="/media/movie.mp4" type="video/mp4" preload="auto" capti ## Contributing -If you find a bug or have an idea for a feature, feel free to write an [issue](https://github.com/mitrichius/hugo-theme-anubis/issues) or make a PR. +If you find a bug or have an idea for a feature, feel free to write an [issue](https://github.com/Junyi-99/hugo-theme-anubis2/issues) or make a PR. ## TODO -See [issues](https://github.com/mitrichius/hugo-theme-anubis/issues). +See [issues](https://github.com/Junyi-99/hugo-theme-anubis2/issues). ## License MIT diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 4ed245e..483ee90 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -44,7 +44,7 @@ url = "https://gohugo.io/documentation/" [[params.social]] id = "github" -url = "https://github.com/mitrichius/hugo-theme-anubis" +url = "https://github.com/Junyi-99/hugo-theme-anubis2" [menu] diff --git a/exampleSiteMultilingual/content/post/markdown-syntax.md b/exampleSiteMultilingual/content/post/markdown-syntax.md index b6c00ec..534b67b 100644 --- a/exampleSiteMultilingual/content/post/markdown-syntax.md +++ b/exampleSiteMultilingual/content/post/markdown-syntax.md @@ -13,7 +13,7 @@ categories = [ "themes", "syntax", ] -authors = ["Mitrichius", "hugo"] +authors = ["Junyi-99", "hugo"] aliases = ["migrate-from-jekyl"] favorite = true +++ diff --git a/exampleSiteMultilingual/hugo.toml b/exampleSiteMultilingual/hugo.toml index 45d824f..a8504d7 100644 --- a/exampleSiteMultilingual/hugo.toml +++ b/exampleSiteMultilingual/hugo.toml @@ -39,7 +39,7 @@ url = "https://gohugo.io/documentation/" [[params.social]] id = "github" -url = "https://github.com/mitrichius/hugo-theme-anubis" +url = "https://github.com/Junyi-99/hugo-theme-anubis2" [languages.en] languageName = "English" diff --git a/go.mod b/go.mod index f3d87a2..c26ea37 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/Mitrichius/hugo-theme-anubis +module github.com/Junyi-99/hugo-theme-anubis2 go 1.18 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 663eb94..4ed9a71 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,7 +15,7 @@ {{ end }} diff --git a/theme.toml b/theme.toml index defd192..9891aa5 100644 --- a/theme.toml +++ b/theme.toml @@ -1,8 +1,8 @@ name = "Anubis" license = "MIT" -licenselink = "https://github.com/Mitrichius/hugo-theme-anubis/blob/master/LICENSE" +licenselink = "https://github.com/Junyi-99/hugo-theme-anubis2/blob/master/LICENSE" description = "A minimal Hugo theme" -homepage = "https://github.com/mitrichius/hugo-theme-anubis" +homepage = "https://github.com/Junyi-99/hugo-theme-anubis2" demosite = "https://hugo-theme-anubis.netlify.app/" tags = [ "blog",