mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
Update template to add links to categories
This commit is contained in:
parent
7b44dbb6fb
commit
0f6a153b97
3 changed files with 6 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -52,6 +52,6 @@ publish: install
|
||||||
|
|
||||||
github: publish
|
github: publish
|
||||||
ghp-import -n $(OUTPUTDIR)
|
ghp-import -n $(OUTPUTDIR)
|
||||||
@git push -fq https://${GH_TOKEN}@github.com/$(TRAVIS_REPO_SLUG).git gh-pages > /dev/null
|
git push origin gh-pages
|
||||||
|
|
||||||
.PHONY: html clean serve devserver publish
|
.PHONY: html clean serve devserver publish
|
||||||
|
|
|
@ -81,3 +81,7 @@ ul.articles_list li {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.no-color {
|
||||||
|
color: inherit;
|
||||||
|
}
|
|
@ -58,7 +58,7 @@ h1 {
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="main" class="posts">
|
<div id="main" class="posts">
|
||||||
<h1 class="post-title">{{ article.title }}</h1>
|
<h1 class="post-title">{{ article.title }}</h1>
|
||||||
<span class="post-date">{{ article.locale_date | capitalize }}</span>
|
<span class="post-date">{{ article.locale_date | capitalize }}, dans <a class="no-color" href="{{ article.category.url }}">{{ article.category }}</a></span>
|
||||||
<img id="illustration" src="{{ article.image}}" />
|
<img id="illustration" src="{{ article.image}}" />
|
||||||
|
|
||||||
<div class="post article">
|
<div class="post article">
|
||||||
|
|
Loading…
Reference in a new issue