Commit 40965127 authored by okhin's avatar okhin 🚴
Browse files

Merge branch 'refonte' into 'master'

Refonte

See merge request !8
parents 1fe12de3 b3554cd8
Pipeline #696 canceled with stages
in 7 minutes and 8 seconds
[submodule "plugins/pin_to_top"] [submodule "plugins"]
path = plugins/pin_to_top path = plugins
url = https://github.com/Shaked/pin_to_top url = https://github.com/getpelican/pelican-plugins/
# blog-memopol # blog-memopol
Blog about Memopol and its news. In Pelican.
#config Clone the project::
You'll need to change some config settings, like the folder, the username, the theme folder.
#theme git clone --recursive gitlab@git.laquadrature.net:political-memory/blog-memopol.git
The theme used is foundation-memopol, based on foundation-default-colors, and modified by me.
#plugins Install pelican::
I use the pin to top plugin to have a sticky article on homepage.
It's already on github, here : https://github.com/Shaked/pin_to_top pip install pelican
# Or use apt or your favorite package manager
If you have this error::
CRITICAL: UndefinedError: 'extra_siteurls' is undefined
Then it means that the plugins directory is not populated, to do so::
git submodule update --init
# Or, next time do git clone with --recursive
The command to generate the output is::
pelican
# Or, if you're developping, use this command and open localhost:8000
make devserver
# theme
The theme is based on bootstrap4. To hack it::
cd theme
# Install dependencies from package.json into ./node_modules
npm install
# Build scss/* and js/* into static/dist
./node_modules/.bin/gulp
# Then you need to run the pelican command again in the parent directory
cd ../ && pelican
# plugins
Don't forget to checkout submodules, ie. with
``git submodule sync; git submodule init --update``
[jinja2: theme/templates/**.html]
...@@ -2,6 +2,7 @@ Title: Memopol 3.14 Release ...@@ -2,6 +2,7 @@ Title: Memopol 3.14 Release
Date: 2016-02-10 10:00 Date: 2016-02-10 10:00
Category: News Category: News
Author: is_null Author: is_null
Lang: en
### Memopol's back online ! ### Memopol's back online !
......
...@@ -2,8 +2,7 @@ Title: #MemopolMiniHackathon ...@@ -2,8 +2,7 @@ Title: #MemopolMiniHackathon
Date: 2016-04-15 19:00 Date: 2016-04-15 19:00
Category: News Category: News
Author: njoyard Author: njoyard
Lang: en
### Memopol Mini-Hackathon
After the Memopol 3.14 [Relaunch Event on 14th April](http://mediakit.laquadrature.net/embed/2390), the developers didn't rest ! After the Memopol 3.14 [Relaunch Event on 14th April](http://mediakit.laquadrature.net/embed/2390), the developers didn't rest !
......
...@@ -2,6 +2,7 @@ Title: Changing Democracy With Code: A Word From The Developers ...@@ -2,6 +2,7 @@ Title: Changing Democracy With Code: A Word From The Developers
Date: 2011-10-31 11:41 Date: 2011-10-31 11:41
Author: axx Author: axx
Slug: changing-democracy-with-code-a-word-from-the-developers Slug: changing-democracy-with-code-a-word-from-the-developers
Lang: en
Why we citizens need Memopol. Why we citizens need Memopol.
----------------------------- -----------------------------
......
...@@ -2,6 +2,7 @@ Title: Get on board on Memopol project ! ...@@ -2,6 +2,7 @@ Title: Get on board on Memopol project !
Date: 2015-03-01 15:00 Date: 2015-03-01 15:00
Category: News Category: News
Author: Mindiell Author: Mindiell
Lang: en
Hi everyone, Hi everyone,
......
...@@ -2,6 +2,7 @@ Title: Reboot ! ...@@ -2,6 +2,7 @@ Title: Reboot !
Date: 2015-01-01 10:20 Date: 2015-01-01 10:20
Category: News Category: News
Author: quota_atypique Author: quota_atypique
Lang: en
Hello there ! Hello there !
It's been a long time...like two years without posting, wow. It's been a long time...like two years without posting, wow.
......
Title: What is Memopol ? Title: What is Memopol ?
Date: 2015-01-01 10:20 Date: 2015-01-01 10:20
Pin: true Pin: true
Lang: en
Political Memory is a tool designed by La Quadrature du Net to help European citizens to reach members of European Parliament (MEPs) and track their voting records on issues related to fundamental freedoms online. Political Memory is a tool designed by La Quadrature du Net to help European citizens to reach members of European Parliament (MEPs) and track their voting records on issues related to fundamental freedoms online.
...@@ -2,8 +2,7 @@ Title: A few UI updates to Memopol... ...@@ -2,8 +2,7 @@ Title: A few UI updates to Memopol...
Date: 2016-06-03 09:00 Date: 2016-06-03 09:00
Category: News Category: News
Author: njoyard Author: njoyard
lang: en
### A few UI updates to Memopol...
Last week was a busy one for the dev team. A handful of UI changes were made Last week was a busy one for the dev team. A handful of UI changes were made
to make Memopol more useful ! to make Memopol more useful !
......
Title: An Introduction to the project Title: An Introduction to the project
Date: 2011-06-05 11:34 Date: 2011-06-05 11:34
Author: bram Author: bram
Category: About Category: News
Slug: an-introduction-to-the-project Slug: an-introduction-to-the-project
The best way to explain what Political Memory is, is by explaining where The best way to explain what Political Memory is, is by explaining where
......
Title: Next steps for Memopol Title: Next steps for Memopol
Date: 2013-03-06 11:37 Date: 2013-03-06 11:37
Author: quota_atypique Author: quota_atypique
Category: Development diary, News Category: News
Slug: next-steps-for-memopol Slug: next-steps-for-memopol
Political memory is a nice and important project. A lot of work has been Political memory is a nice and important project. A lot of work has been
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment