Moved the website code to ./web/ to make it easier to maintain for me. No code changes. (0.40.5)
This commit is contained in:
parent
bebe6dfda0
commit
71576be449
71 changed files with 3354 additions and 1 deletions
31
web/_layouts/default.html
Normal file
31
web/_layouts/default.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
layout:
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{% if page.lang %}{{ page.lang }}{% else %}{{ site.lang }}{% endif %}" id="top">
|
||||
{% include head.html %}
|
||||
<body>
|
||||
<div class="site">
|
||||
<div id="loader" class="lds-dual-ring hidden overlay"></div>
|
||||
{% include header.html %}
|
||||
<div class="page-content">
|
||||
<div class="wrapper">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
</div>
|
||||
|
||||
<p style="text-align: center; color: #e8e8e8; font-size: 12px;">
|
||||
Page generated at: {{ site.time | date: "%b %-d, %Y" }} ({{ site.time | date: "%Z" }}) using <a href="https://jekyllrb.com/">Jekyll</a> and <a href="https://git.xw3.org/xw3/xw3">xw3</a> on {{ site.os }}<br>
|
||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" style="text-decoration:none;" title="License"><img src="/images/by-nc-sa-88x31.png"></a></p>
|
||||
|
||||
<script src="/js/sorttable-2.min.js" charset="utf-8"></script>
|
||||
<script src="/js/cookieconsent.min.js" data-cfasync="false"></script>
|
||||
<!-- Source for documentation and download: https://www.osano.com/cookieconsent/download/ - https://www.osano.com/cookieconsent/documentation/compliance/ -->
|
||||
<script>window.cookieconsent.initialise({"palette":{"popup":{"background":"#000","text":"#e8e8e8"},"button":{"background":"#bc6c21"}},"theme":"classic","position":"bottom","static":false,"content":{"message":"{{ site.cookiebanner_text }} ","dismiss":"{{ site.cookiebanner_dismiss_text }}","link":"{{ site.cookiebanner_link_text }}.","href":"{{ site.cookiebanner_link }}"}});</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
21
web/_layouts/page.html
Normal file
21
web/_layouts/page.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title" id="terminal">{{ site.title }} {{ page.title }}</h1>
|
||||
{% if page.noDate != true %}<p class="post-meta" style="padding: 0px 0px 0px 0px;">{% if page.date %}{{ page.date | date: "%b %-d, %Y %H:%M:%S" }} ({{ page.date | date: "%b %-d, %Y %H:%M:%S" | date: "%Z" }}) - {% endif %}
|
||||
Edited: {{ page.path | file_date | date: "%b %-d, %Y %H:%M:%S" }} ({{ page.path | file_date | date: "%Z" }}){% endif %}{% if page.author %}, <a href="{{ site.git_short }}/{{ page.author }}" target="_blank" class="user">{{ page.author }}</a>{% endif %}</p>
|
||||
{% if page.subtitle %}<p style="padding: 0px 0px 0px 0px;">{{ page.subtitle }}</p>{% endif %}
|
||||
</header>
|
||||
<article class="post-content">
|
||||
{{ content | toc_generate }}
|
||||
{% if page.noComments != true %}
|
||||
<h2>Comments</h2>
|
||||
<section id="isso-thread"><noscript>Javascript needs to be activated to view comments.</noscript></section>
|
||||
<script data-isso="/comments" src="/comments/js/embed.min.js"></script>
|
||||
{% endif %}
|
||||
</article>
|
||||
</div>
|
||||
|
||||
23
web/_layouts/post.html
Normal file
23
web/_layouts/post.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title" id="terminal">{{ site.title }} {{ page.title }}</h1>
|
||||
<p class="post-meta" style="padding: 0px 0px 0px 0px;">{% if page.date %}{{ page.date | date: "%b %-d, %Y %H:%M:%S" }}{% endif %}
|
||||
{% if page.date and page.date_updated %} - {% endif %}
|
||||
{% if page.date_updated %}Edited: {{ page.date_updated | date: "%b %-d, %Y %H:%M:%S" }}{% endif %}
|
||||
{% if page.date or page.date_updated %} ({{ page.date | date: "%Z" }}){% endif %}{% if page.author %}, <a href="{{ site.git_short }}/{{ page.author }}" target="_blank" class="user">{{ page.author }}</a>{% endif %}</p>
|
||||
</header>
|
||||
<article class="post-content">
|
||||
{{ content }}
|
||||
{% if page.noComments != true %}
|
||||
<h2>Comments</h2>
|
||||
<section id="isso-thread"><noscript>Javascript needs to be activated to view comments.</noscript></section>
|
||||
<script data-isso="/comments" src="/comments/js/embed.min.js"></script>
|
||||
{% endif %}
|
||||
<!--<p>Permalink: <a href="{{ page.url }}" title="{{ site.url }}{{ page.url }}">{{ site.url }}{{ page.url }}</a></p>-->
|
||||
</article>
|
||||
</div>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue