Compare commits
2 Commits
954536602f
...
main
Author | SHA1 | Date | |
---|---|---|---|
e24ef4e2d8 | |||
555e1f57d5 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
|
tags
|
||||||
|
3
Makefile
3
Makefile
@ -15,3 +15,6 @@ build:
|
|||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
serve:
|
serve:
|
||||||
hugo server -D --bind "0.0.0.0" --navigateToChanged -p 2323
|
hugo server -D --bind "0.0.0.0" --navigateToChanged -p 2323
|
||||||
|
|
||||||
|
tags:
|
||||||
|
~/projects/mine/hugotags/hugotags.sh ~/projects/notmine/hugoDocs/content/en > tags
|
||||||
|
7
content/posts/revive-blog.md
Normal file
7
content/posts/revive-blog.md
Normal file
@ -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 %}}
|
19
hugo.yaml
19
hugo.yaml
@ -11,3 +11,22 @@ params:
|
|||||||
themeStyleSwitcher: true
|
themeStyleSwitcher: true
|
||||||
footerText: "[theme](https://gitea.balki.me/balki/no-js-hugo-theme)"
|
footerText: "[theme](https://gitea.balki.me/balki/no-js-hugo-theme)"
|
||||||
showTagList: false
|
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
|
||||||
|
12
layouts/_shortcodes/gitea.md
Normal file
12
layouts/_shortcodes/gitea.md
Normal file
@ -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 }})
|
2
public
2
public
Submodule public updated: 13fd4d11f1...e03e9e4c2c
Submodule themes/mytheme updated: a27278651e...da512608d9
Reference in New Issue
Block a user