diff --git a/content/posts/revive-blog.md b/content/posts/revive-blog.md new file mode 100644 index 0000000..724d1d5 --- /dev/null +++ b/content/posts/revive-blog.md @@ -0,0 +1,7 @@ +--- +title: "Revive Blog" +date: 2025-05-29T18:26:59-04:00 +draft: true +--- + +{{% gitea repo=balki/hugotags path=hugotags.sh lang=bash %}} diff --git a/hugo.yaml b/hugo.yaml index 1e1b080..b258a54 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -11,3 +11,22 @@ params: themeStyleSwitcher: true footerText: "[theme](https://gitea.balki.me/balki/no-js-hugo-theme)" showTagList: false + +menu: + main: + - identifier: home + name: Home + pageRef: / + weight: 1 + - identifier: gitea + name: Gitea + url: https://gitea.balki.me/balki + weight: 2 + - identifier: github + name: Github + url: https://github.com/balki + weight: 3 + - identifier: rss + name: RSS + url: https://blog.balki.me/index.xml + weight: 4 diff --git a/layouts/_shortcodes/gitea.md b/layouts/_shortcodes/gitea.md new file mode 100644 index 0000000..316a67b --- /dev/null +++ b/layouts/_shortcodes/gitea.md @@ -0,0 +1,12 @@ +{{- $url := "" -}} +{{- with .Get "url" -}} + {{- $url = . -}} +{{- else -}} + {{- $url = urls.JoinPath "http://gitea.balki.me" (.Get "repo") "raw/branch/main" (.Get "path") -}} +{{- end -}} +```{{ .Get "lang" }} +{{ with resources.GetRemote $url }} +{{- .Content -}} +{{ end }} +``` +[source]({{ $url }}) diff --git a/public b/public index 13fd4d1..e03e9e4 160000 --- a/public +++ b/public @@ -1 +1 @@ -Subproject commit 13fd4d11f1536859ceebfddf3eb7195de7eaf054 +Subproject commit e03e9e4c2c8e3a8de2579780b08296352408cbdd diff --git a/themes/mytheme b/themes/mytheme index a272786..da51260 160000 --- a/themes/mytheme +++ b/themes/mytheme @@ -1 +1 @@ -Subproject commit a27278651e943b4a02bffadcde911c3ad3eaa3de +Subproject commit da512608d97aafa1080350a93934de1bad429296