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"]
path = plugins/pin_to_top
url = https://github.com/Shaked/pin_to_top
[submodule "plugins"]
path = plugins
url = https://github.com/getpelican/pelican-plugins/
# blog-memopol
Blog about Memopol and its news. In Pelican.
#config
You'll need to change some config settings, like the folder, the username, the theme folder.
Clone the project::
#theme
The theme used is foundation-memopol, based on foundation-default-colors, and modified by me.
git clone --recursive gitlab@git.laquadrature.net:political-memory/blog-memopol.git
#plugins
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
Install pelican::
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
Date: 2016-02-10 10:00
Category: News
Author: is_null
Lang: en
### Memopol's back online !
......
......@@ -2,8 +2,7 @@ Title: #MemopolMiniHackathon
Date: 2016-04-15 19:00
Category: News
Author: njoyard
### Memopol Mini-Hackathon
Lang: en
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
Date: 2011-10-31 11:41
Author: axx
Slug: changing-democracy-with-code-a-word-from-the-developers
Lang: en
Why we citizens need Memopol.
-----------------------------
......
......@@ -2,6 +2,7 @@ Title: Get on board on Memopol project !
Date: 2015-03-01 15:00
Category: News
Author: Mindiell
Lang: en
Hi everyone,
......
......@@ -2,6 +2,7 @@ Title: Reboot !
Date: 2015-01-01 10:20
Category: News
Author: quota_atypique
Lang: en
Hello there !
It's been a long time...like two years without posting, wow.
......
Title: What is Memopol ?
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.
......@@ -2,8 +2,7 @@ Title: A few UI updates to Memopol...
Date: 2016-06-03 09:00
Category: News
Author: njoyard
### A few UI updates to Memopol...
lang: en
Last week was a busy one for the dev team. A handful of UI changes were made
to make Memopol more useful !
......
Title: An Introduction to the project
Date: 2011-06-05 11:34
Author: bram
Category: About
Category: News
Slug: an-introduction-to-the-project
The best way to explain what Political Memory is, is by explaining where
......
Title: Next steps for Memopol
Date: 2013-03-06 11:37
Author: quota_atypique
Category: Development diary, News
Category: News
Slug: next-steps-for-memopol
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