Commit 57ed9dd6 authored by Tobias Rautenkranz's avatar Tobias Rautenkranz

Link source files on GitLab

parent 7af7722e
...@@ -5,6 +5,8 @@ description: > # this means to ignore newlines until "baseurl:" ...@@ -5,6 +5,8 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog baseurl: "" # the subpath of your site, e.g. /blog
url: "https://tobias.rautenkranz.ch" # the base hostname & protocol for your site, e.g. http://example.com url: "https://tobias.rautenkranz.ch" # the base hostname & protocol for your site, e.g. http://example.com
repository: "https://gitlab.com/tobiasrautenkranz/site/blob/master/"
header_pages: header_pages:
- about.md - about.md
......
<footer> <footer>
<p class="mtime"> <p>
<a href="/changelog.html"> <a href="/changelog.html">
{% if page and page.date %} {% if page and page.date %}
<time datetime="{{ page.date | date_to_xmlschema}}" itemprop="datePublished"> <time datetime="{{ page.date | date_to_xmlschema}}" itemprop="datePublished">
{% assign date_format = "%c" %} {% assign date_format = "%c" %}
{{ page.date | date: date_format }} {{ page.date | date: date_format }}</time></a> {% comment %}/a tag here to prevent
</time> whitespace in the link {% endcomment %}
{% else %} {% else %}
<time datetime="{{ site.time | date_to_xmlschema}}"> <time datetime="{{ site.time | date_to_xmlschema}}">
{% assign date_format = "%c" %} {% assign date_format = "%c" %}
{{ site.time | date: date_format }} {{ site.time | date: date_format }}</time></a>
</time> {% endif %}
{% assign extension = page.path | slice,-3,3 %}
{% comment %}jekyll-tagging does not set page.path to the source FIXME {% endcomment %}
{% if site.repository and extension contains ".md" %}
<span>
generated from:
<a class="file" href="{{ site.repository }}{{ page.path }}">{{ page.path }}</a>
</span>
{% endif %} {% endif %}
</a>
</p> </p>
<p id="licence" lang="en"> <p id="licence" lang="en">
<a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>. <a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.
......
...@@ -13,3 +13,4 @@ layout: default ...@@ -13,3 +13,4 @@ layout: default
<div id="tag-cloud"> <div id="tag-cloud">
{{ site | tag_cloud }} {{ site | tag_cloud }}
</div> </div>
...@@ -156,6 +156,10 @@ table caption { ...@@ -156,6 +156,10 @@ table caption {
border-bottom: 1px solid black; border-bottom: 1px solid black;
} }
.file {
font-family: monospace;
}
pre { pre {
white-space: pre-wrap; /* css-3 */ white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment