From e83b97e2c5af00e136aecd2391181bdf05ac9ef0 Mon Sep 17 00:00:00 2001
From: mazenovi <vmazenod@gmail.com>
Date: Wed, 17 May 2017 17:36:05 +0200
Subject: [PATCH] add math_render plugin

---
 blog_limos.egg-info/PKG-INFO             | 10 ----------
 blog_limos.egg-info/SOURCES.txt          |  5 -----
 blog_limos.egg-info/dependency_links.txt |  1 -
 blog_limos.egg-info/requires.txt         |  3 ---
 blog_limos.egg-info/top_level.txt        |  1 -
 content/cri/documentation.md             |  2 ++
 pelicanconf.py                           |  2 +-
 plugins/math_render                      |  1 +
 setup.py                                 |  3 ++-
 themes/limos/templates/base.html         |  3 +--
 10 files changed, 7 insertions(+), 24 deletions(-)
 delete mode 100644 blog_limos.egg-info/PKG-INFO
 delete mode 100644 blog_limos.egg-info/SOURCES.txt
 delete mode 100644 blog_limos.egg-info/dependency_links.txt
 delete mode 100644 blog_limos.egg-info/requires.txt
 delete mode 100644 blog_limos.egg-info/top_level.txt
 create mode 160000 plugins/math_render

diff --git a/blog_limos.egg-info/PKG-INFO b/blog_limos.egg-info/PKG-INFO
deleted file mode 100644
index ae8c751..0000000
--- a/blog_limos.egg-info/PKG-INFO
+++ /dev/null
@@ -1,10 +0,0 @@
-Metadata-Version: 1.0
-Name: blog-limos
-Version: 1.0
-Summary: UNKNOWN
-Home-page: UNKNOWN
-Author: UNKNOWN
-Author-email: UNKNOWN
-License: UNKNOWN
-Description: UNKNOWN
-Platform: UNKNOWN
diff --git a/blog_limos.egg-info/SOURCES.txt b/blog_limos.egg-info/SOURCES.txt
deleted file mode 100644
index 85f59b0..0000000
--- a/blog_limos.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-blog_limos.egg-info/PKG-INFO
-blog_limos.egg-info/SOURCES.txt
-blog_limos.egg-info/dependency_links.txt
-blog_limos.egg-info/requires.txt
-blog_limos.egg-info/top_level.txt
\ No newline at end of file
diff --git a/blog_limos.egg-info/dependency_links.txt b/blog_limos.egg-info/dependency_links.txt
deleted file mode 100644
index 8b13789..0000000
--- a/blog_limos.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/blog_limos.egg-info/requires.txt b/blog_limos.egg-info/requires.txt
deleted file mode 100644
index 6adec76..0000000
--- a/blog_limos.egg-info/requires.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-pelican
-markdown
-beautifulsoup4
diff --git a/blog_limos.egg-info/top_level.txt b/blog_limos.egg-info/top_level.txt
deleted file mode 100644
index 8b13789..0000000
--- a/blog_limos.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/content/cri/documentation.md b/content/cri/documentation.md
index fc77a18..d8c2251 100644
--- a/content/cri/documentation.md
+++ b/content/cri/documentation.md
@@ -3,6 +3,8 @@ Date: 2017-05-16 10:20
 Status: Published
 Tags: doc, admin, www
 
+$e=mc^2$
+
 La [doc cri](https://doc.cri.isima.fr/) et la [doc user](https://doc.isima.fr/) de l'ISIMA/LIMOS sont toutes les deux rédigées avec le [projet MkDocs](http://www.mkdocs.org/). ```mkdocs``` permet de générer une documenation html statique à partir de simples fichiers textes au format [markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).
 
 L'idée est de centraliser et surtout de mettre à jour les documentations historiques
diff --git a/pelicanconf.py b/pelicanconf.py
index 1540b5f..ff2cd99 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -94,7 +94,7 @@ DISPLAY_CATEGORIES_ON_MENU = False
 THEME = os.path.dirname(os.path.abspath(__file__)) + "/themes/limos"
 JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
 PLUGIN_PATHS = [os.path.dirname(os.path.abspath(__file__)) + '/plugins']
-PLUGINS = ['i18n_subsites', 'tag_cloud', 'tipue_search', 'extract_toc'] #, 'pandoc_reader']
+PLUGINS = ['i18n_subsites', 'tag_cloud', 'tipue_search', 'extract_toc', 'math_render']
 MARKDOWN = {'extensions': ['toc']}
 I18N_TEMPLATES_LANG = 'en'
 # https://bootswatch.com/
diff --git a/plugins/math_render b/plugins/math_render
new file mode 160000
index 0000000..2bb931a
--- /dev/null
+++ b/plugins/math_render
@@ -0,0 +1 @@
+Subproject commit 2bb931abf47ed1b23da0c6ae41f82149b132c49f
diff --git a/setup.py b/setup.py
index 6973db1..7b1d2aa 100644
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,7 @@ setup(
     install_requires=[
         'pelican',
         'markdown',
-        'beautifulsoup4'
+        'beautifulsoup4',
+        'typogrify'
     ]
 )
diff --git a/themes/limos/templates/base.html b/themes/limos/templates/base.html
index 92b84de..ca1ae7e 100644
--- a/themes/limos/templates/base.html
+++ b/themes/limos/templates/base.html
@@ -98,7 +98,6 @@
         <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate"
               title="{{ SITENAME }} {{ category }} ATOM Feed"/>
     {% endif %}
-
 </head>
 <body>
 
@@ -142,7 +141,7 @@
                         </li>
                     {% endfor %}
                 {% endif %}
-            
+
             {% if ARCHIVES_SAVE_AS %}
               <li><a href="{{ SITEURL }}/{{ ARCHIVES_URL | default('archives.html') }}"><i class="fa fa-th-list"></i><span class="icon-label">{{ _('Archives') }}</span></a></li>
             {% endif %}
-- 
GitLab