SMOLNET PORTAL home about changes

my first post

Posted on 2022-09-16

It works!?

It looks it is... so here the first post I'm writing

It has been generated using kiln which is a really easy tool to generate static
content.

Here is the config.toml I'm using to generate this capsule:

title = "Valvin's Gemlog"

[permalinks]
"/" = "{{ .Date.Format `2006/01/02` }}/{{ path.Base .Path }}/"

[[tasks]]
name = "Gemini"
url = "gemini://tilde.team"
input = [".gmi"]
output = ".gmi"
template = ".gmi"
static_dir = "static"
output_dir = "/home/valvin/public_gemini"

[[tasks.feeds]]
input_dir = "."
title = "Valvin's Gemlog on tilde.team"
template = "atom.xml"
output = "atom.xml"

[[tasks]]
input = [".gmi"]
output = ".html"
template = ".gmi"
postprocess = "gmnitohtml -t templates/html_template.html"
static_dir = "static"
output_dir = "/home/valvin/public_html"

[[tasks.feeds]]
input_dir = "."
title = "Valvin's Gemlog on tilde.team"
template = "atom.xml"
output = "atom.xml"


so it generates both my gemini capsule and the html version of it one tilde.team.


@: write me an email for any comments (mailto://)


Valvin's gemlog - CC-BY-SA

Response: 20 (Success), text/gemini
Original URLgemini://tilde.team/~valvin/2022/09/16/my-first-post/
Status Code20 (Success)
Content-Typetext/gemini; charset=utf-8; lang=en