davideisinger.com

My personal website
Log | Files | Refs | README

index.gmi (309B)


      1 {{- define "main" -}}
      2 # David Eisinger
      3 
      4 {{ partial "gemtext.gmi" (dict "content" .RawContent "page" $.Page) }}
      5 
      6 ## Recent Posts
      7 
      8 {{ range first 10 (where .Site.RegularPages "Type" "in" "journal") -}}
      9 => {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
     10 {{ end }}
     11 
     12 => /journal/ All Posts
     13 {{- end -}}