4 Commits

Author SHA1 Message Date
e24ef4e2d8 New draft post and add menu 2025-06-02 22:38:43 -04:00
555e1f57d5 add tags 2025-05-29 18:25:13 -04:00
954536602f Update theme and new make targets 2025-05-29 11:18:52 -04:00
1645042922 Add fedi link
Link needs to contain rel="me" for verification
2025-05-28 20:08:58 -04:00
9 changed files with 54 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.hugo_build.lock .hugo_build.lock
tags

View File

@@ -1,10 +1,20 @@
.PHONY: pulltheme
pulltheme:
git -C themes/mytheme pull
.PHONY: deploy .PHONY: deploy
deploy: deploy:
rsync -av public desk:/var/www/balki.me git -C public push
ssh desk git -C /var/www/balki.me/public pull
.PHONY: build
build: build:
rm -rf public/* rm -rf public/*
hugo --logLevel debug hugo --logLevel debug
.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

View File

@@ -7,5 +7,5 @@ Just another dev blog.
* git: https://gitea.balki.me/balki * git: https://gitea.balki.me/balki
* github: https://github.com/balki * github: https://github.com/balki
* Fediverse: https://social.balki.me/@balki `@balki@balki.me` * Fediverse: {{< myfedilink >}} `@balki@balki.me`
* RSS: https://blog.balki.me/index.xml * RSS: https://blog.balki.me/index.xml

View 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 %}}

View File

@@ -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

View 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 }})

View File

@@ -0,0 +1 @@
<a href="https://social.balki.me/@balki" rel="me" >https://social.balki.me/@balki</a>

2
public

Submodule public updated: 15935f461a...e03e9e4c2c