feat: add blog_options and rss feed generation

This commit is contained in:
2026-03-15 15:07:34 +01:00
parent 419c8a579c
commit b44868361d
17 changed files with 367 additions and 14 deletions

View File

@@ -0,0 +1,6 @@
extends ../layout
block content
nav
a(href="/conclave/new_post") New post
a(href="/conclave/options") Options

View File

@@ -0,0 +1,11 @@
extends ../layout
block content
a(href='/conclave/options/edit') Edit
case options.length
when 0
p There is no options at the moment
default
ul
each option in options
li #{option.name}: #{option.value}

View File

@@ -0,0 +1,16 @@
extends ../layout
block content
form(method="POST" action="/conclave/options/edit")
each option in options
fieldset(id=option.name)
input(value=option.name name="name" readonly type="text")
input(value="update" name="action" readonly type="hidden")
input(value=option.value name="value" type="text")
fieldset(id="new-one")
input(value="" name="name" type="text")
input(value="create" name="action" readonly type="hidden")
input(value="" name="value" type="text")
input(type="submit" value="Save")