davideisinger.com

My personal website
Log | Files | Refs | README

commit a5ee36f514dd2462e6bd2e6e6ac69df51bf4f758
parent 545be896b2256e68346af9345be395e474a565d6
Author: David Eisinger <[email protected]>
Date:   Tue,  9 May 2023 09:53:58 -0400

Start generic pages

Diffstat:
Mconfig.toml | 3+++
Acontent/pages/about.md | 7+++++++
Mthemes/v2/layouts/_default/single.html | 6++++++
3 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/config.toml b/config.toml @@ -4,6 +4,9 @@ title = 'David Eisinger' theme = 'v2' enableGitInfo = true +[permalinks] + pages = '/:title' + [markup] [markup.goldmark] [markup.goldmark.renderer] diff --git a/content/pages/about.md b/content/pages/about.md @@ -0,0 +1,7 @@ +--- +title: "About" +date: 2023-05-09T09:51:10-04:00 +draft: false +--- + +Placeholder diff --git a/themes/v2/layouts/_default/single.html b/themes/v2/layouts/_default/single.html @@ -1 +1,7 @@ +{{ define "main" }} + <hr> + <h2>{{ .Title }}</h2> + + {{ .Content }} +{{ end }}