diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-03-08 23:38:23 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-03-08 23:38:23 +0100 |
| commit | 6352ebb0eb4cb83240c6d4998e0ef1375b041191 (patch) | |
| tree | 3ade08c77c8ab403d3196f80fad5ed3034c3035b /templates | |
| parent | 60307a9a3a39dccf652c9d9b4348e44db1e67627 (diff) | |
Generate and archive blog, allow publishing
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.gmi | 3 | ||||
| -rw-r--r-- | templates/index.gph | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/templates/index.gmi b/templates/index.gmi index 33832b1..35bebd4 100644 --- a/templates/index.gmi +++ b/templates/index.gmi @@ -1,3 +1,4 @@ # Gemlog Archive -{{= posts }} +{{~ posts: post}} +=> ./{{= post.id }}/{{= post.slug }}.gmi {{= post.title}} {{~}} diff --git a/templates/index.gph b/templates/index.gph new file mode 100644 index 0000000..5084284 --- /dev/null +++ b/templates/index.gph @@ -0,0 +1,4 @@ +Gemlog Archive + +{{~ posts: post}} +[0|{{= post.title}}|./{{= post.id }}/{{= post.slug }}.gmi|server|port] {{~}} |