Browse files

Repository created

  • Loading branch information...
0 parents commit b267faa2648d4866c8399e8da72a92df3e12dbe6 @magopian magopian committed Feb 29, 2012
Showing with 41 additions and 0 deletions.
  1. +9 −0 Makefile
  2. +3 −0 README.rst
  3. +4 −0 output/.gitignore
  4. +7 −0 output/.htaccess
  5. +3 −0 output/drafts/.gitignore
  6. +2 −0 output/drafts/.htaccess
  7. +2 −0 requirements.pip
  8. +11 −0 settings.py
9 Makefile
@@ -0,0 +1,9 @@
+default:
+ pelican -s settings.py
+
+watch:
+ pelican -s settings.py -r
+
+update:
+ # creds.txt: user@server:~path/to/blog
+ rsync -arvz --progress --exclude '.*.swp' ./output/ `cat creds.txt`
3 README.rst
@@ -0,0 +1,3 @@
+This repository holds the ReST files of my frensh translations for http://mnmlist.com, available at http://mathieu.agopian.info/mnmlist/.
+
+Nothing much to see here, move along ;)
4 output/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.htaccess
+!drafts
7 output/.htaccess
@@ -0,0 +1,7 @@
+RewriteEngine on
+# 2011/01/<titre>/ => /<titre>.html
+RewriteRule ^\d{4}/\d{2}/([^/]+)/? /blog/$1.html [L,R=301]
+# /about => /a-propos.html
+RewriteRule ^about/? /blog/pages/a-propos.html [L,R=301]
+# /feed => /feeds/all.atom.xml
+RewriteRule ^feed/?$ /blog/feeds/all.atom.xml [L,R=301]
3 output/drafts/.gitignore
@@ -0,0 +1,3 @@
+*
+!.gitignore
+!.htaccess
2 output/drafts/.htaccess
@@ -0,0 +1,2 @@
+Options -Indexes
+
2 requirements.pip
@@ -0,0 +1,2 @@
+pelican
+fabric
11 settings.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+AUTHOR = "Mathieu Agopian"
+SITENAME = "mnmlist"
+PATH = "src/"
+SITEURL = "http://mathieu.agopian.info/mnmlist"
+#WITH_PAGINATION = True
+TWITTER_USERNAME = "magopian"
+TIMEZONE = "Europe/Paris"
+DEFAULT_CATEGORY = 'mnmlist'

0 comments on commit b267faa

Please sign in to comment.