diff options
author | Bradley Taunt <bt@btxx.org> | 2024-01-22 13:06:19 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-01-22 13:06:19 -0500 |
commit | d2e4da10c806d815eded44ade076babb78802c16 (patch) | |
tree | 7494261e22f3255926204164449c7345f5b500e5 /_layouts |
Initial commit to new cgit platform
Diffstat (limited to '_layouts')
-rwxr-xr-x | _layouts/default.html | 11 | ||||
-rw-r--r-- | _layouts/homepage.html | 11 | ||||
-rwxr-xr-x | _layouts/page.html | 6 | ||||
-rw-r--r-- | _layouts/post.html | 21 |
4 files changed, 49 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100755 index 0000000..a099004 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="en"> + + {% include head.html %} + + <body> + {% include navigation.html %} + {{ content }} + {% include footer.html %} + </body> +</html> diff --git a/_layouts/homepage.html b/_layouts/homepage.html new file mode 100644 index 0000000..01effd7 --- /dev/null +++ b/_layouts/homepage.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="en"> + + {% include head.html %} + + <body> + {% include navigation.html %} + {{ content }} + {% include footer.html %} + </body> +</html>
\ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100755 index 0000000..f101e7f --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,6 @@ +--- +layout: default +--- + +{{ content }} + diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..62a2ebc --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,21 @@ +--- +layout: default +--- + +<h2 class="post">{{ page.title }}</h2> +<time class="post-time" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%a, %d %b %Y" }}</time> +{{ content }} + +<div class="thanks"> + <h3>Special Thanks</h3> + <p>I'm extremely grateful for the support from the "Hall of Fame" supporters:<br> + {% assign websites = site.site_listings %} + {% for item in websites %} + {% if item.hof == true %} + <span><a target="_blank" href="https://{{ item.pageurl }}">{{ item.pageurl }}</a></span> + {% endif %} + {% endfor %} + </p> + <p>If you too would like to support this project and help fund more articles like this one:<br><a href="/hall-of-fame">Become a supporter today →</a></p> +</div> + |