dark
This commit is contained in:
parent
ea61561a33
commit
859646835e
38 changed files with 0 additions and 0 deletions
11
themes/dark/templates/analytics.html
Normal file
11
themes/dark/templates/analytics.html
Normal file
|
@ -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 %}
|
13
themes/dark/templates/archives.html
Normal file
13
themes/dark/templates/archives.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<section id="content">
|
||||
<h1>Archives for {{ SITENAME }}</h1>
|
||||
|
||||
<dl>
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</section>
|
||||
{% endblock %}
|
40
themes/dark/templates/article.html
Normal file
40
themes/dark/templates/article.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ article.title }}{% endblock %}
|
||||
{% block content %}
|
||||
<section id="content">
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{ pagename }}"
|
||||
rel="bookmark"
|
||||
title="Permalink to {{ article.title }}">
|
||||
{{ article.title}}
|
||||
</a>
|
||||
{% include 'twitter.html' %}
|
||||
</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<div class="well">
|
||||
{% include 'article_infos.html' %}
|
||||
</div>
|
||||
{{ article.content }}
|
||||
</div><!-- /.entry-content -->
|
||||
{% if DISQUS_SITENAME %}
|
||||
<div class="comments">
|
||||
<h2>Comments !</h2>
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
var disqus_identifier = "{{ article.url }}";
|
||||
(function() {
|
||||
var dsq = document.createElement('script');
|
||||
dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'https://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] ||
|
||||
document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</div>
|
||||
{% endif %}
|
||||
</article>
|
||||
</section>
|
||||
{% endblock %}
|
21
themes/dark/templates/article_infos.html
Normal file
21
themes/dark/templates/article_infos.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<footer class="post-info">
|
||||
<span class="label">Date</span>
|
||||
<abbr class="published" title="{{ article.date.isoformat() }}">
|
||||
<i class="icon-calendar"></i>{{ article.locale_date }}
|
||||
</abbr>
|
||||
{% if article.author %}
|
||||
<span class="label">By</span>
|
||||
<a href="{{ SITEURL }}/{{ article.author.url }}"><i class="icon-user"></i>{{ article.author }}</a>
|
||||
{% endif %}
|
||||
<span class="label">Category</span>
|
||||
<a href="{{ SITEURL }}/{{ article.category.url }}"><i class="icon-folder-open"></i>{{ article.category }}</a>.
|
||||
|
||||
{% if PDF_PROCESSOR %}
|
||||
<span class="label">
|
||||
<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% include 'taglist.html' %}
|
||||
{% include 'translations.html' %}
|
||||
</footer><!-- /.post-info -->
|
2
themes/dark/templates/author.html
Normal file
2
themes/dark/templates/author.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
|
0
themes/dark/templates/authors.html
Normal file
0
themes/dark/templates/authors.html
Normal file
134
themes/dark/templates/base.html
Normal file
134
themes/dark/templates/base.html
Normal file
|
@ -0,0 +1,134 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="{{ AUTHOR }}">
|
||||
|
||||
<!-- Le styles -->
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.dark.css" type="text/css" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
.sidebar-nav {
|
||||
padding: 9px 0;
|
||||
}
|
||||
.tag-1 {
|
||||
font-size: 13pt;
|
||||
}
|
||||
.tag-2 {
|
||||
font-size: 10pt;
|
||||
}
|
||||
.tag-2 {
|
||||
font-size: 8pt;
|
||||
}
|
||||
.tag-4 {
|
||||
font-size: 6pt;
|
||||
}
|
||||
</style>
|
||||
<link href="{{ SITEURL }}/theme/css/bootstrap-responsive.dark.css" rel="stylesheet">
|
||||
<link href="{{ SITEURL }}/theme/css/font-awesome.css" rel="stylesheet">
|
||||
|
||||
<link href="{{ SITEURL }}/theme/css/pygments.css" rel="stylesheet">
|
||||
|
||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- Le fav and touch icons -->
|
||||
<link rel="shortcut icon" href="{{ SITEURL }}/theme/images/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="{{ SITEURL }}/theme/images/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/theme/images/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/theme/images/apple-touch-icon-114x114.png">
|
||||
|
||||
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
||||
{% if FEED_RSS %}
|
||||
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<a class="brand" href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a>
|
||||
<div class="nav-collapse">
|
||||
<ul class="nav">
|
||||
{% for title, link in MENUITEMS %}
|
||||
<li><a href="{{ link }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for page in pages %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
<li class="divider-vertical"></li>
|
||||
{% endif %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}>
|
||||
<a href="{{ SITEURL }}/{{ cat.url }}">
|
||||
<i class="icon-folder-open icon-large"></i>{{ cat }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
<ul class="nav pull-right">
|
||||
<li><a href="{{ SITEURL }}/archives.html"><i class="icon-th-list"></i>Archives</a></li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
<!--<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>-->
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="span9" id="content">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div><!--/span-->
|
||||
|
||||
<div class="span3 well sidebar-nav" id="sidebar">
|
||||
{% include 'sidebar.html' %}
|
||||
</div><!--/.well -->
|
||||
|
||||
</div><!--/row-->
|
||||
|
||||
<hr>
|
||||
|
||||
<footer>
|
||||
<address id="about">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican <i class="icon-external-link"></i></a>,
|
||||
which takes great advantage of <a href="http://python.org">Python <i class="icon-external-link"></i></a>.
|
||||
</address><!-- /#about -->
|
||||
|
||||
<p>The theme is based on <a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter <i class="icon-external-link"></i></a>,
|
||||
and <a href="http://fortawesome.github.com/Font-Awesome/">Font-Awesome <i class="icon-external-link"></i></a>, thanks!</p>
|
||||
</footer>
|
||||
|
||||
</div><!--/.fluid-container-->
|
||||
|
||||
|
||||
{% include 'analytics.html' %}
|
||||
{% include 'piwik.html' %}
|
||||
{% include 'disqus_script.html' %}
|
||||
|
||||
<!-- Le javascript -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="{{ SITEURL }}/theme/js/jquery-1.7.2.min.js"></script>
|
||||
<script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
8
themes/dark/templates/categories.html
Normal file
8
themes/dark/templates/categories.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ category.url }}">{{ category }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
2
themes/dark/templates/category.html
Normal file
2
themes/dark/templates/category.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
|
7
themes/dark/templates/comments.html
Normal file
7
themes/dark/templates/comments.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<p>There are
|
||||
<a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">
|
||||
comments
|
||||
</a>.
|
||||
</p>
|
||||
{% endif %}
|
11
themes/dark/templates/disqus_script.html
Normal file
11
themes/dark/templates/disqus_script.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
||||
(function () {
|
||||
var s = document.createElement('script'); s.async = true;
|
||||
s.type = 'text/javascript';
|
||||
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
{% endif %}
|
9
themes/dark/templates/github.html
Normal file
9
themes/dark/templates/github.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% if GITHUB_URL %}
|
||||
<a href="{{ GITHUB_URL }}">
|
||||
{% if GITHUB_POSITION != "left" %}
|
||||
<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub" />
|
||||
{% else %}
|
||||
<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
47
themes/dark/templates/index.html
Normal file
47
themes/dark/templates/index.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content_title %}{% endblock %}
|
||||
{% block content %}
|
||||
{% if articles %}
|
||||
{% for article in (articles_page.object_list if articles_page else articles) %}
|
||||
<div class="article">
|
||||
<h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
|
||||
<div class="well small">{% include "article_infos.html" %}</div>
|
||||
<div class="summary">{{ article.summary }}
|
||||
<a class="btn primary xsmall" href="{{ SITEURL }}/{{ article.url }}">more ...</a>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if articles_page and articles_paginator.num_pages > 1 %}
|
||||
<div class="pagination">
|
||||
<ul>
|
||||
{% if articles_page.has_previous() %}
|
||||
{% set num = articles_page.previous_page_number() %}
|
||||
<li class="prev"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">← Previous</a></li>
|
||||
{% else %}
|
||||
<li class="prev disabled"><a href="#">← Previous</a></li>
|
||||
{% endif %}
|
||||
{% for num in range( 1, 1 + articles_paginator.num_pages ) %}
|
||||
<li class="{{ 'active' if num == articles_page.number else '' }}"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">{{ num }}</a></li>
|
||||
{% endfor %}
|
||||
{% if articles_page.has_next() %}
|
||||
<li class="next"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next →</a></li>
|
||||
{% else %}
|
||||
<li class="next disabled"><a href="#">→ Next</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
{% if pages %}
|
||||
<section id="content" class="body">
|
||||
<h1>Pages</h1>
|
||||
{% for page in pages %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock content %}
|
13
themes/dark/templates/page.html
Normal file
13
themes/dark/templates/page.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ page.title }}{% endblock %}
|
||||
{% block content %}
|
||||
<section id="content" class="body">
|
||||
<h1 class="entry-title">{{ page.title }}</h1>
|
||||
{% if PDF_PROCESSOR %}
|
||||
<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">
|
||||
get the pdf
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ page.content }}
|
||||
</section>
|
||||
{% endblock %}
|
15
themes/dark/templates/pagination.html
Normal file
15
themes/dark/templates/pagination.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% if DEFAULT_PAGINATION %}
|
||||
<p class="paginator">
|
||||
{% if articles_page.has_previous() %}
|
||||
{% if articles_page.previous_page_number() == 1 %}
|
||||
<a href="{{ SITEURL }}/{{ page_name }}.html">«</a>
|
||||
{% else %}
|
||||
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">«</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||
{% if articles_page.has_next() %}
|
||||
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">»</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
16
themes/dark/templates/piwik.html
Normal file
16
themes/dark/templates/piwik.html
Normal file
|
@ -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 %}
|
15
themes/dark/templates/search_sidebar.html
Normal file
15
themes/dark/templates/search_sidebar.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% if GOOGLE_CUSTOM_SEARCH_SIDEBAR %}
|
||||
<li class="nav-header"><h4><i class="icon-search"></i>Google Search</h4></li>
|
||||
<div id="cse" style="width: 100%;">Loading</div>
|
||||
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
google.load('search', '1');
|
||||
google.setOnLoadCallback(function() {
|
||||
var customSearchOptions = {}; var customSearchControl = new google.search.CustomSearchControl(
|
||||
'{{GOOGLE_CUSTOM_SEARCH_SIDEBAR}}', customSearchOptions);
|
||||
customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);
|
||||
customSearchControl.draw('cse');
|
||||
}, true);
|
||||
</script>
|
||||
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
|
||||
{% endif %}
|
43
themes/dark/templates/sidebar.html
Normal file
43
themes/dark/templates/sidebar.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
<ul class="nav nav-list">
|
||||
{% if LINKS %}
|
||||
<li class="nav-header"><h4><i class="icon-external-link"></i>blogroll</h4></li>
|
||||
{% for name, link in LINKS %}
|
||||
<li><a href="{{ link }}"><i class="icon-external-link"></i>{{ name }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if SOCIAL %}
|
||||
<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
|
||||
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
|
||||
{% if FEED_RSS %}
|
||||
<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate"><i class="icon-bookmark icon-large"></i>rss feed</a></li>
|
||||
{% endif %}
|
||||
{% for name, link in SOCIAL %}
|
||||
<li><a href="{{ link }}"><i class="icon-{{ name }}-sign icon-large"></i>{{ name }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li>
|
||||
{% for cat, null in categories %}
|
||||
<li>
|
||||
<a href="{{ SITEURL }}/{{ cat.url }}">
|
||||
<i class="icon-folder-open icon-large"></i>{{ cat }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}">
|
||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
||||
<i class="icon-tag icon-large"></i>{{ tag.0 }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% include 'twitter_profile.html' %}
|
||||
{% include 'search_sidebar.html' %}
|
||||
|
||||
{% if SIDEBAR_CUSTOM %}
|
||||
{{ SIDEBAR_CUSTOM }}
|
||||
{% endif %}
|
||||
</ul>
|
2
themes/dark/templates/tag.html
Normal file
2
themes/dark/templates/tag.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
|
6
themes/dark/templates/taglist.html
Normal file
6
themes/dark/templates/taglist.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if article.tags %}
|
||||
<span class="label">Tags</span>
|
||||
{% for tag in article.tags %}
|
||||
<a href="{{ SITEURL }}/{{ tag.url }}"><i class="icon-tag"></i>{{ tag }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
13
themes/dark/templates/tags.html
Normal file
13
themes/dark/templates/tags.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<ul>
|
||||
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}">
|
||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
||||
<i class="icon-tag icon-large"></i>{{ tag.0 }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
6
themes/dark/templates/translations.html
Normal file
6
themes/dark/templates/translations.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if article.translations %}
|
||||
<span class="label">Lang</span>
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}"><i class="icon-edit"></i>{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
6
themes/dark/templates/twitter.html
Normal file
6
themes/dark/templates/twitter.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if TWITTER_USERNAME %}
|
||||
<a href="http://twitter.com/share" class="twitter-share-button"
|
||||
data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a>
|
||||
<script type="text/javascript" src="http://platform.twitter.com/widgets.js">
|
||||
</script>
|
||||
{% endif %}
|
1
themes/dark/templates/twitter_profile.html
Normal file
1
themes/dark/templates/twitter_profile.html
Normal file
|
@ -0,0 +1 @@
|
|||
{% if TWITTER_USERNAME %}
<li class="nav-header"><h4><i class="icon-twitter-sign"></i>Twitter</h4></li>
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#f5f5f5',
color: '#000000'
},
tweets: {
background: '#ffffff',
color: '#000000',
links: '#1a50a1'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('{{ TWITTER_USERNAME }}').start();
</script>
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue