themes
This commit is contained in:
parent
edf883c2f6
commit
3b5262ab5e
101 changed files with 7668 additions and 13930 deletions
18
themes/pelican-striped-html5up/templates/archives.html
Normal file
18
themes/pelican-striped-html5up/templates/archives.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
<article class="box post post-excerpt">
|
||||
<h2>Archives for {{ SITENAME }}</h2>
|
||||
|
||||
<header>
|
||||
{% for article in dates %}
|
||||
<h2>{{ article.locale_date }}</h2>
|
||||
<p><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></p>
|
||||
<p>{{article.headline}}</p>
|
||||
{% endfor %}
|
||||
</header>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
49
themes/pelican-striped-html5up/templates/article.html
Normal file
49
themes/pelican-striped-html5up/templates/article.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
{% extends "base.html" %}
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% if article.description %}
|
||||
<meta name="description" content="{{article.summary}}" />
|
||||
{% endif %}
|
||||
|
||||
{% for tag in article.tags %}
|
||||
<meta name="tags" content="{{tag}}" />
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
<article class="box post post-excerpt">
|
||||
<header>
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||
<p>{{article.headline}}</p>
|
||||
</header>
|
||||
<div class="info">
|
||||
<span class="date" datetime="{{ article.date.isoformat() }}"><span class="month">{{ article.date | strftime('%b') }}</span> <span class="day">{{ article.date | strftime('%d') }}</span> <span class="month"> {{ article.date | strftime('%Y') }}</span></span>
|
||||
<ul class="stats">
|
||||
<li><a href="mailto:?Subject={{article.title}}&Body=I%20saw%20this%20and%20thought%20of%20you!%20 {{ SITEURL }}/{{ article.url }}" class="icon fa-envelope"> </a></li>
|
||||
<li><a href="http://reddit.com/submit?url={{ SITEURL }}/{{ article.url }}&title=#{{article.title}}"" class="icon fa-reddit"> </a></li>
|
||||
<li><a href="https://twitter.com/share?url={{ SITEURL }}/{{ article.url }}&text=&hashtags=GnotC" class="icon fa-twitter"> </a></li>
|
||||
<li><a href="https://www.facebook.com/sharer.php?u={{ SITEURL }}/{{ article.url }}" class="icon fa-facebook"> </a></li>
|
||||
</ul>
|
||||
</div><!-- /.post-info -->
|
||||
<div class="entry-content"> </div><!-- /.entry-content -->
|
||||
</article>
|
||||
{{ article.content }}
|
||||
</div><!-- /.entry-content -->
|
||||
<!-- Pagination -->
|
||||
<div class="pagination">
|
||||
{% if article.prev_article %}
|
||||
<a class="button previous" href="{{ SITEURL }}/{{ article.prev_article.url}}">
|
||||
{{ article.prev_article.title }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if article.next_article %}
|
||||
<a href="{{ SITEURL }}/{{ article.next_article.url}}" class="button next">{{ article.next_article.title }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
7
themes/pelican-striped-html5up/templates/author.html
Normal file
7
themes/pelican-striped-html5up/templates/author.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %}
|
||||
{% block content_title %}
|
||||
<h2>Articles by {{ author }}</h2>
|
||||
{% endblock %}
|
||||
|
13
themes/pelican-striped-html5up/templates/authors.html
Normal file
13
themes/pelican-striped-html5up/templates/authors.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }} - Authors{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Authors on {{ SITENAME }}</h1>
|
||||
|
||||
<ul>
|
||||
{%- for author, articles in authors|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
104
themes/pelican-striped-html5up/templates/base.html
Normal file
104
themes/pelican-striped-html5up/templates/base.html
Normal file
|
@ -0,0 +1,104 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ DEFAULT_LANG }}">
|
||||
<head>
|
||||
{% block head %}
|
||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
||||
<meta charset="utf-8" />
|
||||
{% if FEED_ALL_ATOM %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
|
||||
{% endif %}
|
||||
{% if FEED_ALL_RSS %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
|
||||
{% endif %}
|
||||
{% if FEED_ATOM %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
||||
{% endif %}
|
||||
{% if FEED_RSS %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
||||
{% endif %}
|
||||
{% if CATEGORY_FEED_ATOM and category %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
|
||||
{% endif %}
|
||||
{% if CATEGORY_FEED_RSS and category %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
|
||||
{% endif %}
|
||||
{% if TAG_FEED_ATOM and tag %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
|
||||
{% endif %}
|
||||
{% if TAG_FEED_RSS and tag %}
|
||||
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
|
||||
{% endif %}
|
||||
{% endblock head %}
|
||||
<link rel="stylesheet" href="/theme/css/main.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!--[if lte IE 8]><script src="/theme/js/ie/html5shiv.js"></script><![endif]-->
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="/theme/css/ie8.css" /><![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
|
||||
</header><!-- /#banner -->
|
||||
<!-- Sidebar -->
|
||||
<div id="sidebar">
|
||||
|
||||
<!-- Logo -->
|
||||
<h1 id="logo"><a href="/">{{ SITENAME }}</a></h1>
|
||||
<!-- Text -->
|
||||
<section class="box text-style1">
|
||||
<div class="inner">
|
||||
<p>
|
||||
<strong>Ut scelerisque nec sapien ut sollicitudin:</strong><br />{{SITESUBTITLE}}
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Nav -->
|
||||
<nav id="nav">
|
||||
<ul>
|
||||
|
||||
<li><a href="#">Nam euismod dui</a></li>
|
||||
<li><a href="#">Integer eget eros</a></li>
|
||||
<li><a href="#">Proin vehicula tortor</a></li>
|
||||
<li><a href="#">Vestibulum consectetur tellus</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- Search -->
|
||||
<!-- <section class="box search">
|
||||
<form method="post" action="#">
|
||||
<input type="text" class="text" name="search" placeholder="Search" />
|
||||
</form>
|
||||
</section> -->
|
||||
|
||||
|
||||
|
||||
<!-- Recent Posts -->
|
||||
<section class="box recent-posts">
|
||||
<header>
|
||||
<h2>Contact Me</h2>
|
||||
</header>
|
||||
<ul>
|
||||
<li><a class="icon fa-envelope" href="#"> eMail</a></li>
|
||||
<li><a class="icon fa-twitter" href="#"> Twitter</a></li>
|
||||
<li><a class="icon fa-facebook" href="#"> Facebook</a></li>
|
||||
<li><a class="icon fa-github" href="#"> Github</a></li>
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- Copyright -->
|
||||
<ul id="copyright">
|
||||
<li>Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
|
||||
which takes great advantage of <a href="http://python.org">Python</a>.</li>
|
||||
<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
|
||||
<li>Modified under a <a href="https://creativecommons.org/licenses/by/3.0/">CC:BY</a> license.</li>
|
||||
</ul>
|
||||
|
||||
</div><!-- /#menu -->
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
<!-- /#contentinfo -->
|
||||
</body>
|
||||
</html>
|
8
themes/pelican-striped-html5up/templates/categories.html
Normal file
8
themes/pelican-striped-html5up/templates/categories.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
5
themes/pelican-striped-html5up/templates/category.html
Normal file
5
themes/pelican-striped-html5up/templates/category.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends "index.html" %}
|
||||
{% block content_title %}
|
||||
<h2>Articles in the {{ category }} category</h2>
|
||||
{% endblock %}
|
||||
|
14
themes/pelican-striped-html5up/templates/gosquared.html
Normal file
14
themes/pelican-striped-html5up/templates/gosquared.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% if GOSQUARED_SITENAME %}
|
||||
<script type="text/javascript">
|
||||
var GoSquared={};
|
||||
GoSquared.acct = "{{ GOSQUARED_SITENAME }}";
|
||||
(function(w){
|
||||
function gs(){
|
||||
w._gstc_lt=+(new Date); var d=document;
|
||||
var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "https://d1l6p2sc9645hc.cloudfront.net/tracker.js";
|
||||
var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);
|
||||
}
|
||||
w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);
|
||||
})(window);
|
||||
</script>
|
||||
{% endif %}
|
33
themes/pelican-striped-html5up/templates/index.html
Normal file
33
themes/pelican-striped-html5up/templates/index.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
<div class="inner">
|
||||
<!-- {% block content_title %}
|
||||
<h2>All articles</h2>
|
||||
{% endblock %} -->
|
||||
|
||||
{% for article in articles_page.object_list %}
|
||||
<article class="box post post-excerpt">
|
||||
<header>
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
||||
<p>{{article.headline}}</p>
|
||||
</header>
|
||||
<div class="info">
|
||||
<span class="date" datetime="{{ article.date.isoformat() }}"><span class="month">{{ article.date | strftime('%b') }}</span> <span class="day">{{ article.date | strftime('%d') }}</span> <span class="month"> {{ article.date | strftime('%Y') }}</span></span>
|
||||
<!-- <ul class="stats">
|
||||
<li><a href="#" class="icon fa-comment">16</a></li>
|
||||
<li><a href="#" class="icon fa-heart">32</a></li>
|
||||
<li><a href="#" class="icon fa-twitter">64</a></li>
|
||||
<li><a href="#" class="icon fa-facebook">128</a></li>
|
||||
</ul> -->
|
||||
</div><!-- /.post-info -->
|
||||
<div class="entry-content"> </div><!-- /.entry-content -->
|
||||
</article>
|
||||
{% endfor %}
|
||||
<!-- /#posts-list -->
|
||||
{% if articles_page.has_other_pages() %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div><!-- /#content -->
|
||||
{% endblock content %}
|
15
themes/pelican-striped-html5up/templates/page.html
Normal file
15
themes/pelican-striped-html5up/templates/page.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ page.title }}{%endblock%}
|
||||
{% block content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{{ translations.translations_for(page) }}
|
||||
|
||||
{{ page.content }}
|
||||
|
||||
{% if page.modified %}
|
||||
<p>
|
||||
Last updated: {{ page.locale_modified }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
11
themes/pelican-striped-html5up/templates/pagination.html
Normal file
11
themes/pelican-striped-html5up/templates/pagination.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if DEFAULT_PAGINATION %}
|
||||
<p class="paginator">
|
||||
{% if articles_page.has_previous() %}
|
||||
<a class="button previous" href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newer Entries</a>
|
||||
{% endif %}
|
||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||
{% if articles_page.has_next() %}
|
||||
<a class="button next" href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Entries</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Archives for {{ period | reverse | join(' ') }}</h1>
|
||||
|
||||
<dl>
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endblock %}
|
10
themes/pelican-striped-html5up/templates/tags.html
Normal file
10
themes/pelican-striped-html5up/templates/tags.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }} - Tags{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Tags for {{ SITENAME }}</h1>
|
||||
{%- for tag, articles in tags|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
|
@ -0,0 +1,9 @@
|
|||
{% macro translations_for(article) %}
|
||||
{% if article.translations %}
|
||||
Translations:
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue