Feat: structure du site principale ok!
This commit is contained in:
parent
25e01d8bf2
commit
57aca4f189
@ -25,7 +25,7 @@ USE_GOOGLE_FONTS = False
|
|||||||
# Pages, articles and static
|
# Pages, articles and static
|
||||||
PAGE_PATHS = ['pages']
|
PAGE_PATHS = ['pages']
|
||||||
#ARTICLE_PATHS = ['pages/Enseignement', 'Blog']
|
#ARTICLE_PATHS = ['pages/Enseignement', 'Blog']
|
||||||
ARTICLE_PATHS = ['Enseignements']
|
ARTICLE_PATHS = ['blog']
|
||||||
STATIC_PATHS = ['./']
|
STATIC_PATHS = ['./']
|
||||||
INDEX_SAVE_AS = 'blog_index.html'
|
INDEX_SAVE_AS = 'blog_index.html'
|
||||||
|
|
||||||
@ -50,7 +50,9 @@ MENUITEMS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Blogroll
|
# Blogroll
|
||||||
LINKS = ()
|
LINKS = [
|
||||||
|
("2019-2020", "/2019-2020/")
|
||||||
|
]
|
||||||
# Social widget
|
# Social widget
|
||||||
SOCIAL = ()
|
SOCIAL = ()
|
||||||
|
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
<meta name="robots" content="{{ ROBOTS }}" />
|
<meta name="robots" content="{{ ROBOTS }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if USE_GOOGLE_FONTS != False %}
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if USE_LESS %}
|
{% if USE_LESS %}
|
||||||
<link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/stylesheet/style.less">
|
<link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/stylesheet/style.less">
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js" type="text/javascript"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js" type="text/javascript"></script>
|
||||||
@ -83,6 +79,7 @@
|
|||||||
|
|
||||||
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
||||||
|
|
||||||
|
<h2><a href="/blog_index.html">Blog</a></h2>
|
||||||
<h2>Années</h2>
|
<h2>Années</h2>
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
@ -91,31 +88,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<h2>Niveaux</h2>
|
|
||||||
<nav>
|
|
||||||
<ul class="list">
|
|
||||||
{% for category, articles in categories|sort %}
|
|
||||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<h2><a href="{{ SITEURL }}/tags.html">
|
|
||||||
Thèmes
|
|
||||||
</a></h2>
|
|
||||||
<nav>
|
|
||||||
<ul class="tagcloud">
|
|
||||||
{% for tag in tag_cloud %}
|
|
||||||
<li class="tag-{{ tag.1 }}">
|
|
||||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
|
||||||
{{ tag.0 }}
|
|
||||||
{% if TAG_CLOUD_BADGE %}
|
|
||||||
<span class="badge">{{ tag.2 }}</span>
|
|
||||||
{% endif %}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
|
Loading…
Reference in New Issue
Block a user