New draft post and add menu

This commit is contained in:
2025-06-02 22:38:43 -04:00
parent 555e1f57d5
commit e24ef4e2d8
5 changed files with 40 additions and 2 deletions

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