summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-05-28 20:48:51 +0200
committerxengineering <me@xengineering.eu>2022-05-28 20:48:51 +0200
commitfe23539b58e1ccfd1dc3a256ff8ebb253528b517 (patch)
treee3494c81aaf16e013d037ac9b45cae943017af02
parent0c74a0c63510a8e8f3625634ff594207aacf1946 (diff)
downloadwebsite-fe23539b58e1ccfd1dc3a256ff8ebb253528b517.tar
website-fe23539b58e1ccfd1dc3a256ff8ebb253528b517.tar.zst
website-fe23539b58e1ccfd1dc3a256ff8ebb253528b517.zip
Add minimal hugo example
-rw-r--r--.gitignore1
-rw-r--r--config.toml2
-rw-r--r--content/_index.md5
-rw-r--r--themes/bare/layouts/index.html9
-rw-r--r--themes/bare/theme.toml2
5 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a48cf0d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+public
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..09d1dad
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,2 @@
+baseURL = "https://xengineering.eu/"
+theme = "bare"
diff --git a/content/_index.md b/content/_index.md
new file mode 100644
index 0000000..015e283
--- /dev/null
+++ b/content/_index.md
@@ -0,0 +1,5 @@
++++
+title = "Home sweet home"
++++
+
+This page has **bold** and *italics* formatting.
diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html
new file mode 100644
index 0000000..8dfbda8
--- /dev/null
+++ b/themes/bare/layouts/index.html
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ <h1>Welcome!</h1>
+
+ <h2>{{ .Title }}</h2>
+ {{ .Content }}
+
+ </body>
+</html>
diff --git a/themes/bare/theme.toml b/themes/bare/theme.toml
new file mode 100644
index 0000000..e1bb4c0
--- /dev/null
+++ b/themes/bare/theme.toml
@@ -0,0 +1,2 @@
+name = "bare"
+license = "AGPLv3"