commit 00474fdb1332c1b45cc9b537616d10f5b5154054 Author: Phil Date: Tue Jan 7 13:02:12 2025 -0700 Initial commit diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..8bc5d52 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,20 @@ + + + + + + {{ .Title }} + + + +
+

{{ .Site.Title }}

+
+
+ {{ block "main" . }}{{ end }} +
+ + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..17c8770 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} +
+

Posts

+ +
+{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..3bbd623 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "main" }} +
+

{{ .Title }}

+
{{ .Content }}
+
+{{ end }} diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..fdb9c38 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,26 @@ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + line-height: 1.6; +} + +header, footer { + background: #333; + color: #fff; + padding: 10px 20px; + text-align: center; +} + +main { + padding: 20px; +} + +a { + color: #007bff; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..7897163 --- /dev/null +++ b/theme.toml @@ -0,0 +1,5 @@ +name = "Indieweb Starter" +author = "Phil Skentelbery" +description = "A minimal Hugo theme for getting started with the Indieweb" +version = "0.0.1" +license = "MIT" \ No newline at end of file