summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-24 10:20:50 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-24 10:20:50 +0200
commit53f9515af6ca69699d6b1bde9a07dda3a3d7c008 (patch)
treeedd1292a0e3a17133a2c82dbaf7c36db59ab98a7
parent8b81f8aaa9c272a8c2a27d2edde12b4070e1212c (diff)
downloadgohugo-theme-ed-53f9515af6ca69699d6b1bde9a07dda3a3d7c008.tar.gz
Add index page
-rw-r--r--README.md8
-rw-r--r--layouts/index.html26
2 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md
index 313a320..448dc63 100644
--- a/README.md
+++ b/README.md
@@ -34,4 +34,12 @@ theme = 'ed'
name = "Tags"
url = "/tags/"
weight = 2
+ [[menu.nav]]
+ name = "Documentation"
+ url = "/documentation/"
+ weight = 3
+ [[menu.nav]]
+ name = "About"
+ url = "/about/"
+ weight = 4
```
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..e93de76
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,26 @@
+{{ define "main" }}
+
+<div class="introduction">
+ <h1>hi.</h1>
+
+ <p>
+ Ed is a <a href="http://gohugo.io" target="_blank">Hugo</a> theme designed for textual
+ editors based on <a href="http://go-dh.github.io/mincomp/">minimal computing principles</a>, and
+ focused on legibility, durability, ease and flexibility. Our underlying technology is easy to
+ learn and teach, and can produce beautifully rendered scholarly or reading editions of texts meant
+ to last. To start using Ed, please see <a href="{{ .Site.BaseURL }}/documentation/">our
+ documentation</a> for installation instructions and more. To learn more about the ideas behind Ed
+ and a list of current features see our <a href="{{ .Site.BaseURL }}/about/">about</a> section. To
+ see Ed in action, we've provided some sample minimal editions for you below.
+ </p>
+</div>
+
+<hr>
+
+<div class="toc">
+ <h2>sample texts</h2>
+ <ul class="texts">
+ {{/* TODO: Implement me */}}
+ </ul>
+</div>
+{{- end -}}