diff --git a/blog_limos.egg-info/PKG-INFO b/blog_limos.egg-info/PKG-INFO deleted file mode 100644 index ae8c7519ba6432641447b711172fad5dbf0e55ae..0000000000000000000000000000000000000000 --- 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 85f59b0e0b5e6ea9ebb76af7c573829fc4e219e7..0000000000000000000000000000000000000000 --- 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 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- 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 6adec76cfb940b46229998da006ea7481d624637..0000000000000000000000000000000000000000 --- 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 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 --- 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 fc77a18951a465489f416508a2715c3887d15feb..d8c2251afbbffbe66cc56a2029f48b1e1b69934a 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 1540b5fcc9adee27793270cdd537cc0cb06194c7..ff2cd999317332951a9f7ff4000930ff74dc5590 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 0000000000000000000000000000000000000000..2bb931abf47ed1b23da0c6ae41f82149b132c49f --- /dev/null +++ b/plugins/math_render @@ -0,0 +1 @@ +Subproject commit 2bb931abf47ed1b23da0c6ae41f82149b132c49f diff --git a/setup.py b/setup.py index 6973db1be7b6dc9e7353b36e933508deb883980e..7b1d2aaae605bb60f4dc87659c41f466e0d3f462 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 92b84dee34f08a1e72dc04ddd96d27c580c0e3b8..ca1ae7e77f25e8394399e6f5e454a7598744abc8 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 %}