Created
January 24, 2017 06:52
-
-
Save MrMovl/f7be92a293146f94a378901e3ead8af9 to your computer and use it in GitHub Desktop.
pelican nmnlist theme issue https://github.com/getpelican/pelican-themes/issues/481
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>{% block title %}{{ SITENAME }}{%endblock%}</title> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" /> | |
<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 %} | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
<!--[if lte IE 7]> | |
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/> | |
<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]--> | |
<!--[if lt IE 7]> | |
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]--> | |
</head> | |
<body> | |
{% include 'github.html' %} | |
{% block content %} | |
{% endblock %} | |
<footer> | |
<nav> | |
<ul> | |
{% for page in PAGES %} | |
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if true %} ::{% endif %}</li> | |
{% endfor %} | |
{% if categories|length > 1 %} | |
<li>:: <a href="{{ SITEURL }}/categories.html">Categories</a></li> | |
{% endif %} | |
{% if tags|length > 1 %} | |
<li>:: <a href="{{ SITEURL }}/tags.html">Tags</a></li> | |
{% endif %} | |
</ul> | |
</nav> | |
<p id="theme-credit">Proudly powered by <a href="http://docs.notmyidea.org/alexis/pelican/">pelican</a></p> | |
</footer> | |
{% include 'analytics.html' %} | |
{% include 'piwik.html' %} | |
{% include 'disqus_script.html' %} | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block content_title %}{% endblock %} | |
{% block content %} | |
{% if articles %} | |
{% for article in articles %} | |
{# First item #} | |
{% if false %} | |
<header> | |
<h1><a href="{{ SITEURL }}/{{ article.url }}" id="page-title">{{ article.title }}</a></h1> | |
<span id="sitename"><a href="{{ SITEURL }}" id="site-title">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> ⋅</span> | |
{% if not HIDE_DATE %}<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>{% endif %} | |
</header> | |
<article> | |
{{ article.content }}{% include 'comments.html' %} | |
</article> | |
{% if 1 > 1 %} | |
<section id="article-list"> | |
<h2>Tous les articles</h2> | |
<ol> | |
{% endif %} | |
{# other items #} | |
{% else %} | |
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></li> | |
{% endif %} | |
{% endfor %} | |
{% if 1 > 1 %} | |
</ol> | |
</section><!-- #article-list --> | |
{% endif %} | |
{% else %} | |
Pas d'articles pour le moment. | |
{% endif %} | |
{% endblock content %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment