Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
blog-memopol
Commits
f70d28f2
Commit
f70d28f2
authored
Oct 18, 2016
by
Jamesie Pic
Browse files
Update hacker readme
parent
6000dd67
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
f70d28f2
# 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
git clone --recursive gitlab@git.laquadrature.net:political-memory/blog-memopol.git
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::
...
...
@@ -19,6 +40,7 @@ The theme is based on bootstrap4. To hack it::
# Then you need to run the pelican command again in the parent directory
cd ../ && pelican
#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
# plugins
Don't forget to checkout submodules, ie. with
``git submodule sync; git submodule init --update``
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment