mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-05-13 15:02:45 +00:00
theme(fix): update module paths to v2
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
parent
b119a21663
commit
4c02c19e51
@ -5,7 +5,7 @@
|
||||
|
||||
The intent of this theme is to provide a solid starting place for Hugo sites with basic features and include best practices for performance, accessibility, and rapid development.
|
||||
|
||||

|
||||

|
||||
|
||||
[DEMO](https://ananke-theme.netlify.app/)
|
||||
|
||||
@ -67,7 +67,7 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th
|
||||
2. Add the theme's repo to your `config.toml`:
|
||||
|
||||
```toml
|
||||
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
||||
theme = ["github.com/theNewDynamic/gohugo-theme-ananke/v2"]
|
||||
```
|
||||
|
||||
### As Git Submodule
|
||||
|
@ -25,174 +25,174 @@ sharetext = true # show the share text
|
||||
# ]
|
||||
|
||||
# social media network setups
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.bluesky]
|
||||
slug = "bluesky"
|
||||
label = "Bluesky"
|
||||
color = "#1185fe"
|
||||
profile = "https://bsky.app/profile/%s"
|
||||
icon = "bluesky" # font awesome brand icon name
|
||||
link = "https://bsky.app/intent/compose"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.bluesky.particles]
|
||||
text = "permalink"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.email]
|
||||
slug = "email"
|
||||
label = "Email"
|
||||
profile = false
|
||||
icon = "envelope" # font awesome free icon name
|
||||
link = "mailto:"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.email.particles]
|
||||
body = "permalink"
|
||||
subject = "title"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.facebook]
|
||||
slug = "facebook"
|
||||
label = "Facebook"
|
||||
color = "#3b5998"
|
||||
profile = "https://www.facebook.com/%s"
|
||||
icon = "facebook" # font awesome brand icon name
|
||||
link = "https://facebook.com/sharer/sharer.php"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.facebook.particles]
|
||||
u = "permalink"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.github]
|
||||
slug = "github"
|
||||
label = "GitHub"
|
||||
color = "#6cc644"
|
||||
profile = "https://github.com/%s/"
|
||||
icon = "github" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.gitlab]
|
||||
slug = "gitlab"
|
||||
label = "GitLab"
|
||||
color = "#FC6D26"
|
||||
profile = "https://gitlab.com/%s/"
|
||||
icon = "gitlab" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.hackernews]
|
||||
slug = "hackernews"
|
||||
label = "Hacker News"
|
||||
color = "#ff4000"
|
||||
profile = "https://news.ycombinator.com/user?id=%s"
|
||||
icon = "hacker-news" # font awesome brand icon name
|
||||
link = "https://news.ycombinator.com/submitlink"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.hackernews.particles]
|
||||
u = "permalink"
|
||||
t = "description"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.instagram]
|
||||
slug = "instagram"
|
||||
label = "Instagram"
|
||||
color = "#e1306c"
|
||||
profile = "https://www.instagram.com/%s/"
|
||||
icon = "instagram" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.keybase]
|
||||
slug = "keybase"
|
||||
label = "Keybase"
|
||||
color = "#3d76ff"
|
||||
profile = "https://keybase.io/%s"
|
||||
icon = "keybase" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.linkedin]
|
||||
slug = "linkedin"
|
||||
label = "LinkedIn"
|
||||
color = "#0077b5"
|
||||
profile = "http://linkedin.com/in/%s"
|
||||
icon = "linkedin" # font awesome brand icon name
|
||||
link = "https://www.linkedin.com/shareArticle"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.linkedin.particles]
|
||||
url = "permalink"
|
||||
title = "title"
|
||||
summary = "description"
|
||||
source = "permalink"
|
||||
params = "mini=true"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.medium]
|
||||
slug = "medium"
|
||||
label = "Medium"
|
||||
color = "#0077b5"
|
||||
profile = "https://medium.com/@%s/"
|
||||
icon = "medium" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.mastodon]
|
||||
slug = "mastodon"
|
||||
label = "Mastodon"
|
||||
color = "#6364FF"
|
||||
profile = ""
|
||||
icon = "mastodon" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.pinterest]
|
||||
slug = "pinterest"
|
||||
label = "Pinterest"
|
||||
color = "#e60023"
|
||||
profile = "https://www.pinterest.com/%s/"
|
||||
icon = "pinterest" # font awesome brand icon name
|
||||
link = "https://pinterest.com/pin/create/button/"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.pinterest.particles]
|
||||
url = "permalink"
|
||||
media = "permalink"
|
||||
description = "description"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.reddit]
|
||||
slug = "reddit"
|
||||
label = "Reddit"
|
||||
color = "#ff4500"
|
||||
profile = "https://www.reddit.com/user/%s/"
|
||||
icon = "reddit" # font awesome brand icon name
|
||||
link = "https://reddit.com/submit/"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.reddit.particles]
|
||||
url = "permalink"
|
||||
title = "title"
|
||||
params = "resubmit=true"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.rss]
|
||||
slug = "rss"
|
||||
label = "RSS"
|
||||
color = "#ff6f1a"
|
||||
profile = ""
|
||||
icon = "rss" # font awesome free icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.slack]
|
||||
slug = "slack"
|
||||
label = "Slack"
|
||||
color = "#E01E5A"
|
||||
profile = ""
|
||||
icon = "slack" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.stackoverflow]
|
||||
slug = "stackoverflow"
|
||||
label = "Stack Overflow"
|
||||
color = "#f48024"
|
||||
profile = "https://stackoverflow.com/users/%s"
|
||||
icon = "stack-overflow" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.telegram]
|
||||
slug = "telegram"
|
||||
label = "Telegram"
|
||||
color = "#0088cc"
|
||||
profile = "https://t.me/%s"
|
||||
icon = "telegram" # font awesome brand icon name
|
||||
link = "https://telegram.me/share/url"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.telegram.particles]
|
||||
text = "description"
|
||||
url = "permalink"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.tiktok]
|
||||
slug = "tiktok"
|
||||
label = "TikTok"
|
||||
color = "#fe2c55"
|
||||
profile = "https://www.tiktok.com/@%s"
|
||||
icon = "tiktok" # font awesome brand icon name
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.tumblr]
|
||||
slug = "tumblr"
|
||||
label = "Tumblr"
|
||||
color = "#35465c"
|
||||
profile = "https://www.tumblr.com/blog/%s"
|
||||
icon = "tumblr" # font awesome brand icon name
|
||||
link = "https://www.tumblr.com/widgets/share/tool"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.tumblr.particles]
|
||||
canonicalUrl = "permalink"
|
||||
shareSource = "source"
|
||||
title = "title"
|
||||
@ -200,18 +200,18 @@ caption = "description"
|
||||
content = "description"
|
||||
params = "posttype=link"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.twitter]
|
||||
slug = "twitter"
|
||||
label = "Twitter"
|
||||
color = "#1da1f2"
|
||||
profile = "https://twitter.com/%s"
|
||||
icon = "twitter" # font awesome brand icon name
|
||||
link = "https://twitter.com/intent/tweet/"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.twitter.particles]
|
||||
text = "description"
|
||||
url = "permalink"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.whatsapp]
|
||||
slug = "whatsapp"
|
||||
label = "WhatsApp"
|
||||
color = "#25d366"
|
||||
@ -219,10 +219,10 @@ profile = false
|
||||
icon = "whatsapp" # font awesome brand icon name
|
||||
link = "whatsapp://send"
|
||||
linkintext = true
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.whatsapp.particles]
|
||||
text = "description"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.xing]
|
||||
slug = "xing"
|
||||
label = "Xing"
|
||||
color = "#026466"
|
||||
@ -230,23 +230,23 @@ profile = "https://www.xing.com/profile/%s"
|
||||
icon = "xing" # font awesome brand icon name
|
||||
link = "https://www.xing.com/app/user"
|
||||
separator = ";"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.xing.particles]
|
||||
url = "permalink"
|
||||
title = "title"
|
||||
params = "op=share"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.x-twitter]
|
||||
slug = "x-twitter"
|
||||
label = "X"
|
||||
color = "#000000"
|
||||
profile = "https://x.com/%s"
|
||||
icon = "x-twitter" # font awesome brand icon name
|
||||
link = "https://twitter.com/intent/tweet/"
|
||||
[ananke.social.networks.particles]
|
||||
[ananke.social.networks.x-twitter.particles]
|
||||
text = "description"
|
||||
url = "permalink"
|
||||
|
||||
[[ananke.social.networks]]
|
||||
[ananke.social.networks.youtube]
|
||||
slug = "youtube"
|
||||
label = "YouTube"
|
||||
color = "#cd201f"
|
||||
|
3
exampleSite/README.md
Normal file
3
exampleSite/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
## gohugo-theme-ananke-example
|
||||
|
||||
This `exampleSite` is based on the submodule-based installation. To learn about a module-based example repository, see the [Ananke Module Example](https://github.com/davidsneighbour/gohugo-theme-ananke-example) repository.
|
@ -1,6 +1,6 @@
|
||||
title = "Notre-Dame de Paris"
|
||||
baseURL = "https://gohugo-theme-ananke.pages.dev"
|
||||
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
||||
theme = ["github.com/theNewDynamic/gohugo-theme-ananke/v2"]
|
||||
resourceDir = "../resources"
|
||||
|
||||
defaultContentLanguage = "en"
|
||||
@ -57,7 +57,8 @@ networks = [
|
||||
networks = [
|
||||
"facebook",
|
||||
"bluesky",
|
||||
"linkedin"
|
||||
"linkedin",
|
||||
"wikipedia"
|
||||
]
|
||||
|
||||
[params.ananke.social.facebook]
|
||||
@ -69,3 +70,13 @@ username = "patrickkollitsch"
|
||||
|
||||
[params.ananke.social.bluesky]
|
||||
username = "kollitsch.dev"
|
||||
|
||||
[params.ananke.social.wikipedia]
|
||||
username = "wikipedia_article"
|
||||
|
||||
[params.ananke.social.networks.wikipedia]
|
||||
slug = "wikipedia"
|
||||
label = "Wikipedia"
|
||||
color = "#0645ad"
|
||||
profile = "https://en.wikipedia.org/wiki/%s"
|
||||
icon = "wikipedia-w"
|
||||
|
@ -1,2 +1,2 @@
|
||||
github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20241018002841-8e1a6dc21313 h1:CnaMQ7K1kUah8cQyh4RkvzGdg/Gu+LtA2hf4d3cT3m0=
|
||||
github.com/theNewDynamic/gohugo-theme-ananke v0.0.0-20241018002841-8e1a6dc21313/go.mod h1:yY14BLqqh5G61rO81YcJKMHY1rClY5iIiUK+K2JKSUM=
|
||||
github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v v1.4.0 h1:u5NLARFfTvuIILVQ65UAPvTBrwg9aQgxEllWk/01wp4=
|
||||
github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v v1.4.0/go.mod h1:hixsTLccfP2qEOSjYhJ8qCEsD+ubl9b0NlCtE9AcH/Y=
|
||||
|
@ -29,7 +29,7 @@
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "gohugo-theme-ananke",
|
||||
"name": "@thenewdynamic/gohugo-theme-ananke",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theNewDynamic/gohugo-theme-ananke.git"
|
||||
@ -38,4 +38,4 @@
|
||||
"version": "auto-changelog -p --template keepachangelog --commit-limit 0 \u0026\u0026 git add CHANGELOG.md"
|
||||
},
|
||||
"version": "2.7.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user