all repos — nasg @ f5c390ecf37c6bbbbf695e6bb7a00ec29fe3b990

templates/Singular.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
{% include 'block_header_open.html' %}

	<title>{{ post.title }} | {{ site.domain }}</title>
	<meta name="author" content="{{ site.author.name }}">
	<meta name="keywords" content="{{ post.tags|join(',') }}">
	<meta name="description" content="{{ post.summary|e }}">

	<link rel="canonical" href="{{ site.url }}/{{ post.slug }}/" />
	<link rel="shortlink" href="{{ site.url }}/{{ post.shortslug }}" />
	<link rel="license" href="{{ post.licence.url }}" />

{% include 'block_header_close.html' %}

<section class="content-body">
	<article class="h-entry hentry singular" lang="{{ post.lang }}">
		<header>
			<h1>{% include 'Singular_title.html' %}</h1>
			{% if 'article' == post.category and post.age >= 2 %}
				<h2 class="old-warning">WARNING: this entry was published at {{ post.pubdate }}.<br />It might be outdated.</h2>
			{% endif %}
		</header>

{% if post.summary %}
		<div class="e-summary entry-summary">
			{{ post.summary }}
			<br class="clear" />
		</div>
{% endif %}

		<div class="e-content entry-content">
			<div class="content-inner">
				{{ post.html }}
			</div>
		</div>

		<footer>
			<p class="published">
				<time class="dt-published" datetime="{{ post.pubtime }}">{{ post.pubdate }}</time>
			</p>
			<p class="shorturl">
				<a href="/{{ post.shortslug }}">{{ site.url }}/{{ post.shortslug }}</a>
			</p>
			{% include 'block_author.html' %}
			<p class="hide">
				<a class="u-url u-uuid" rel="bookmark" href="{{ site.url}}/{{ post.slug }}/"></a>
			</p>
		</footer>
	</article>

	<aside class="content-note">
		<hr />
		<p class="license">
			{% if post.licence.text == 'CC BY 4.0' %}
				<a rel="license" href="https://creativecommons.org/licenses/by/4.0/" class="hide u-license">CC BY 4.0</a>
				<svg class="icon"><use xlink:href="#icon-creative-commons" /></svg>
				Licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, even for commercial use.
			{% elif post.licence.text == 'CC BY-NC 4.0' %}
				<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="hide u-license">CC BY-NC 4.0</a>
				<svg class="icon"><use xlink:href="#icon-creative-commons" /></svg>
				Licensed under <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, for non commercial use. For commercial use please contact the author.
			{% else %}
				<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="hide u-license">CC BY-NC-ND 4.0</a>
				<svg class="icon"><use xlink:href="#icon-creative-commons" /></svg>
				Licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International</a>. You are free to share if you link back here for non commercial use, but you can\'t publish any altered versions of it. For commercial use please contact the author.
			{% endif %}
		</p>

	</aside>

</section>


{% include 'block_footer.html' %}