~coder_kalyan/coderkalyan.com-bak

93ae1a66850b08f37dbb6dae815f070325f1c151 — Kalyan Sriram 2 years ago 1f6a947
Initial gemini test
M .build.yml => .build.yml +1 -0
@@ 18,3 18,4 @@ tasks:
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/coderkalyan.com -Fcontent=@site.tar.gz
      acurl -f https://pages.sr.ht/publish/coderkalyan.com -Fcontent=@site.tar.gz -Fprotocol=GEMINI

M config.toml => config.toml +18 -0
@@ 2,3 2,21 @@ baseURL = "https://coderkalyan.com"
languageCode = "en-us"
title = "Kalyan Sriram"
theme = "simple"

[mediaTypes]
	[mediaTypes."text/gemini"]
	suffixes = ["gmi"]

[outputFormats]
	[outputFormats.Gemini]
		name = "GEMINI"
		isPlainText = true
		isHTML = false
		mediaType = "text/gemini"
		protocol = "gemini://"
		permalinkable = true
		path = "gemini/"

[outputs]
  home = ["HTML", "RSS", "GEMINI"]
  page = ["HTML", "GEMINI"]

A gmnisrv.ini => gmnisrv.ini +12 -0
@@ 0,0 1,12 @@
# Space-separated list of hosts
listen=0.0.0.0:1965 [::]:1965

[:tls]
# Path to store certificates on disk
store=/var/lib/gemini/certs

# Optional details for new certificates
organization=gmnisrv user

[coderkalyan.com]
root=/home/kalyan/Documents/coderkalyan.com/public/gemini

A themes/simple/layouts/_default/single.gmi => themes/simple/layouts/_default/single.gmi +3 -0
@@ 0,0 1,3 @@
# {{ .Title }}

{{ .RawContent }}

A themes/simple/layouts/index.gmi => themes/simple/layouts/index.gmi +1 -0
@@ 0,0 1,1 @@
# Hello, world!