diff options
author | xengineering <me@xengineering.eu> | 2023-01-12 19:44:01 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-12 19:44:01 +0100 |
commit | 02fb96c854173e875d3f361706713af6e6c666a5 (patch) | |
tree | be04605139b540fff1112603b70a8cd5b27b0462 /layouts/git | |
parent | 4b1082b4fda0c5d3e90464716b3e2136bd1fe791 (diff) | |
download | website-02fb96c854173e875d3f361706713af6e6c666a5.tar website-02fb96c854173e875d3f361706713af6e6c666a5.tar.zst website-02fb96c854173e875d3f361706713af6e6c666a5.zip |
Remove unnecessary themes folder
This just makes sense if you have multiple themes.
Diffstat (limited to 'layouts/git')
-rw-r--r-- | layouts/git/list.html | 65 | ||||
-rw-r--r-- | layouts/git/single.html | 46 |
2 files changed, 111 insertions, 0 deletions
diff --git a/layouts/git/list.html b/layouts/git/list.html new file mode 100644 index 0000000..65ed807 --- /dev/null +++ b/layouts/git/list.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> + +<!-- + vim: shiftwidth=4 tabstop=4 noexpandtab +--> + +<html> + + <head> + + <title>xengineering</title> + + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css"> + + </head> + + <body> + + <header> + <nav> + <a href="{{ "/" | absURL }}">Home</a> + </nav> + <h1>Git repositories</h1> + </header> + + <main> + <strong>Experimental</strong> + <ul> + {{- range.Pages }} + {{ if eq .Params.state "experimental" }} + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> + {{ end }} + {{ end -}} + </ul> + + <strong>Active</strong> + <ul> + {{- range.Pages }} + {{ if eq .Params.state "active" }} + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> + {{ end }} + {{ end -}} + </ul> + + <strong>Archived</strong> + <ul> + {{- range.Pages }} + {{ if eq .Params.state "archived" }} + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> + {{ end }} + {{ end -}} + </ul> + + <footer> + <hr> + <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> + </footer> + </main> + + </body> + +</html> + diff --git a/layouts/git/single.html b/layouts/git/single.html new file mode 100644 index 0000000..51ccbad --- /dev/null +++ b/layouts/git/single.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> + +<!-- + vim: shiftwidth=4 tabstop=4 noexpandtab +--> + +<html> + + <head> + + <title>{{.Params.friendly_name}}</title> + + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css"> + + </head> + + <body> + + <header> + <nav> + <a href="{{ "/" | absURL }}">Home</a> + <a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a> + <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a> + <a href="https://cgit.xengineering.eu/{{ .Params.name }}">Clone URL</a> + <nav> + <h1>{{.Params.friendly_name}}</h1> + <p>{{ .Params.description }}</p> + </header> + + <main> + + <p class="notice">State: <strong>{{ .Params.state }}</strong></p> + + {{.Content}} + + <footer> + <hr> + <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> + </footer> + </main> + + </body> + +</html> |