initial import of deadsands website
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,12 @@
|
||||
{% set lim = count or 10 %}
|
||||
{% set a = articles | selectattr(key, 'in', values) | list %}
|
||||
<div class='cards'>
|
||||
{% for article in a[:lim] %}
|
||||
<div class='card curled'>
|
||||
<article class="hentry">
|
||||
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
||||
<div class="entry-content"> {{ article.summary }} </div><!-- entry-content -->
|
||||
</article>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<div class='pager'>
|
||||
<div class='prev'>
|
||||
{% if articles_page.has_previous() %}
|
||||
{% set num = articles_page.previous_page_number() %}
|
||||
<a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">← Previous</a>
|
||||
{% else %}
|
||||
<a>← Previous</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class='middle'> </div>
|
||||
<div class='next'>
|
||||
{% if articles_page.has_next() %}
|
||||
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next →</a>
|
||||
{% else %}
|
||||
<a>Next →</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
{% for article in articles_page.object_list | selectattr('field', 'in', values) %}
|
||||
<div class='sign curled'>
|
||||
<article class="hentry">
|
||||
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
||||
<div class="entry-content"> {{ article.summary }} </div><!-- entry-content -->
|
||||
</article>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{% extends "index.html" %}
|
||||
{% block title %} Articles in {{ category }} category - {{ SITENAME }}{% endblock %}
|
||||
{% block navclass %}{%endblock%}
|
||||
{% block archclass %} class="active"{%endblock%}
|
||||
{% block content_title %}
|
||||
<h2>Articles in the {{ category }} category</h2>
|
||||
{% endblock %}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<div class='pager'>
|
||||
<div class='prev'>
|
||||
{% if dates_previous_page %}
|
||||
<a href="{{ SITEURL }}/{{ dates_previous_page.url }}">⇇</a>
|
||||
<a href="{{ SITEURL }}/{{ dates_previous_page.url }}">«</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class='middle'>
|
||||
Page {{ dates_previous_page.number }} / {{ dates_next_page.num_pages }}
|
||||
</div>
|
||||
<div class='next'>
|
||||
{% if dates_next_page %}
|
||||
<a href="{{ SITEURL }}/{{ dates_next_page.url }}">»</a>
|
||||
<a href="{{ SITEURL }}/{{ dates_next_page.url }}">⇉</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
{% if PIWIK_URL and PIWIK_SITE_ID %}
|
||||
<script type="text/javascript">
|
||||
{% if PIWIK_SSL_URL %}
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_SSL_URL }}/" : "http://{{ PIWIK_URL }}/");
|
||||
{% else %}
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://{{ PIWIK_URL }}/" : "http://{{ PIWIK_URL }}/");
|
||||
{% endif %}
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script><script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {{ PIWIK_SITE_ID }});
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script><noscript><p><img src="http://{{ PIWIK_URL }}/piwik.php?idsite={{ PIWIK_SITE_ID }}" style="border:0" alt="" /></p></noscript>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,16 @@
|
||||
<div class='box curled'>
|
||||
<hr>
|
||||
</hr>
|
||||
</div>
|
||||
<div class='column'>
|
||||
<div class='signs'>
|
||||
<h3>Recent Sessions</h3>
|
||||
{% with count=10, key='category', values=['sessions', 'test'] %}{% include "signs.html" %}{% endwith %}
|
||||
</div>
|
||||
</div>
|
||||
<div class='column'>
|
||||
<h3>Recent Lore</h3>
|
||||
<div class='signs'>
|
||||
{% with count=10, key='category', values=['lore', 'dm'] %}{% include "signs.html" %}{% endwith %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user