diff options
-rw-r--r-- | .gitmodules | 6 | ||||
-rw-r--r-- | basic/static/css/desert.css | 70 | ||||
-rw-r--r-- | basic/static/css/mustang.css | 70 | ||||
-rw-r--r-- | basic/static/css/rdark.css | 70 | ||||
-rw-r--r-- | basic/templates/base.html | 18 | ||||
m--------- | crowsfoot | 0 | ||||
-rw-r--r-- | gum/templates/article.html | 15 | ||||
-rw-r--r-- | gum/templates/base.html | 1 | ||||
-rw-r--r-- | gum/templates/disqus_script.html | 11 | ||||
-rw-r--r-- | gum/templates/index.html | 2 | ||||
-rw-r--r-- | gum/templates/sidebar.html | 4 | ||||
-rw-r--r-- | gum/templates/tag.html | 2 | ||||
-rw-r--r-- | gum/templates/tags.html | 2 | ||||
m--------- | sundown | 0 | ||||
-rw-r--r-- | syte/README.md | 27 |
15 files changed, 284 insertions, 14 deletions
diff --git a/.gitmodules b/.gitmodules index a36eda8..413c484 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,9 @@ [submodule "plumage"] path = plumage url = git@github.com:kdeldycke/plumage.git +[submodule "sundown"] + path = sundown + url = https://github.com/keningle/pelican-sundown.git +[submodule "crowsfoot"] + path = crowsfoot + url = https://github.com/porterjamesj/crowsfoot.git diff --git a/basic/static/css/desert.css b/basic/static/css/desert.css new file mode 100644 index 0000000..3bec60f --- /dev/null +++ b/basic/static/css/desert.css @@ -0,0 +1,70 @@ +.highlight { background: #333333; color: #ffffff} +.highlight .hll { background-color: #ffffcc } +.highlight .c { color: #87ceeb} /* Comment */ +.highlight .err { color: #ffffff} /* Error */ +.highlight .g { color: #ffffff} /* Generic */ +.highlight .k { color: #f0e68c} /* Keyword */ +.highlight .l { color: #ffffff} /* Literal */ +.highlight .n { color: #ffffff} /* Name */ +.highlight .o { color: #ffffff} /* Operator */ +.highlight .x { color: #ffffff} /* Other */ +.highlight .p { color: #ffffff} /* Punctuation */ +.highlight .cm { color: #87ceeb} /* Comment.Multiline */ +.highlight .cp { color: #cd5c5c} /* Comment.Preproc */ +.highlight .c1 { color: #87ceeb} /* Comment.Single */ +.highlight .cs { color: #87ceeb} /* Comment.Special */ +.highlight .gd { color: #0000c0; font-weight: bold; background-color: #008080 } /* Generic.Deleted */ +.highlight .ge { color: #c000c0; text-decoration: underline} /* Generic.Emph */ +.highlight .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */ +.highlight .gh { color: #cd5c5c} /* Generic.Heading */ +.highlight .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */ +.highlight .go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output */ +.highlight .gp { color: #ffffff} /* Generic.Prompt */ +.highlight .gs { color: #ffffff} /* Generic.Strong */ +.highlight .gu { color: #cd5c5c} /* Generic.Subheading */ +.highlight .gt { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Traceback */ +.highlight .kc { color: #f0e68c} /* Keyword.Constant */ +.highlight .kd { color: #f0e68c} /* Keyword.Declaration */ +.highlight .kn { color: #f0e68c} /* Keyword.Namespace */ +.highlight .kp { color: #f0e68c} /* Keyword.Pseudo */ +.highlight .kr { color: #f0e68c} /* Keyword.Reserved */ +.highlight .kt { color: #bdb76b} /* Keyword.Type */ +.highlight .ld { color: #ffffff} /* Literal.Date */ +.highlight .m { color: #ffffff} /* Literal.Number */ +.highlight .s { color: #ffffff} /* Literal.String */ +.highlight .na { color: #ffffff} /* Name.Attribute */ +.highlight .nb { color: #ffffff} /* Name.Builtin */ +.highlight .nc { color: #ffffff} /* Name.Class */ +.highlight .no { color: #ffa0a0} /* Name.Constant */ +.highlight .nd { color: #ffffff} /* Name.Decorator */ +.highlight .ni { color: #ffdead} /* Name.Entity */ +.highlight .ne { color: #ffffff} /* Name.Exception */ +.highlight .nf { color: #ffffff} /* Name.Function */ +.highlight .nl { color: #ffffff} /* Name.Label */ +.highlight .nn { color: #ffffff} /* Name.Namespace */ +.highlight .nx { color: #ffffff} /* Name.Other */ +.highlight .py { color: #ffffff} /* Name.Property */ +.highlight .nt { color: #f0e68c} /* Name.Tag */ +.highlight .nv { color: #98fb98} /* Name.Variable */ +.highlight .ow { color: #ffffff} /* Operator.Word */ +.highlight .w { color: #ffffff} /* Text.Whitespace */ +.highlight .mf { color: #ffffff} /* Literal.Number.Float */ +.highlight .mh { color: #ffffff} /* Literal.Number.Hex */ +.highlight .mi { color: #ffffff} /* Literal.Number.Integer */ +.highlight .mo { color: #ffffff} /* Literal.Number.Oct */ +.highlight .sb { color: #ffffff} /* Literal.String.Backtick */ +.highlight .sc { color: #ffffff} /* Literal.String.Char */ +.highlight .sd { color: #ffffff} /* Literal.String.Doc */ +.highlight .s2 { color: #ffffff} /* Literal.String.Double */ +.highlight .se { color: #ffffff} /* Literal.String.Escape */ +.highlight .sh { color: #ffffff} /* Literal.String.Heredoc */ +.highlight .si { color: #ffffff} /* Literal.String.Interpol */ +.highlight .sx { color: #ffffff} /* Literal.String.Other */ +.highlight .sr { color: #ffffff} /* Literal.String.Regex */ +.highlight .s1 { color: #ffffff} /* Literal.String.Single */ +.highlight .ss { color: #ffffff} /* Literal.String.Symbol */ +.highlight .bp { color: #ffffff} /* Name.Builtin.Pseudo */ +.highlight .vc { color: #98fb98} /* Name.Variable.Class */ +.highlight .vg { color: #98fb98} /* Name.Variable.Global */ +.highlight .vi { color: #98fb98} /* Name.Variable.Instance */ +.highlight .il { color: #ffffff} /* Literal.Number.Integer.Long */ diff --git a/basic/static/css/mustang.css b/basic/static/css/mustang.css new file mode 100644 index 0000000..54735d5 --- /dev/null +++ b/basic/static/css/mustang.css @@ -0,0 +1,70 @@ +.highlight { background: #202020; color: #e2e2e5} +.highlight .hll { background-color: #ffffcc } +.highlight .c { color: #808080; font-style: italic} /* Comment */ +.highlight .err { color: #e2e2e5} /* Error */ +.highlight .g { color: #e2e2e5} /* Generic */ +.highlight .k { color: #7e8aa2} /* Keyword */ +.highlight .l { color: #e2e2e5} /* Literal */ +.highlight .n { color: #e2e2e5} /* Name */ +.highlight .o { color: #e2e2e5} /* Operator */ +.highlight .x { color: #e2e2e5} /* Other */ +.highlight .p { color: #e2e2e5} /* Punctuation */ +.highlight .cm { color: #808080; font-style: italic} /* Comment.Multiline */ +.highlight .cp { color: #faf4c6} /* Comment.Preproc */ +.highlight .c1 { color: #808080; font-style: italic} /* Comment.Single */ +.highlight .cs { color: #808080; font-style: italic} /* Comment.Special */ +.highlight .gd { color: #e2e2e5} /* Generic.Deleted */ +.highlight .ge { color: #e2e2e5} /* Generic.Emph */ +.highlight .gr { color: #e2e2e5} /* Generic.Error */ +.highlight .gh { color: #f6f3e8; font-weight: bold} /* Generic.Heading */ +.highlight .gi { color: #e2e2e5} /* Generic.Inserted */ +.highlight .go { color: #808080; background-color: #303030 } /* Generic.Output */ +.highlight .gp { color: #e2e2e5} /* Generic.Prompt */ +.highlight .gs { color: #e2e2e5} /* Generic.Strong */ +.highlight .gu { color: #f6f3e8; font-weight: bold} /* Generic.Subheading */ +.highlight .gt { color: #e2e2e5} /* Generic.Traceback */ +.highlight .kc { color: #7e8aa2} /* Keyword.Constant */ +.highlight .kd { color: #7e8aa2} /* Keyword.Declaration */ +.highlight .kn { color: #7e8aa2} /* Keyword.Namespace */ +.highlight .kp { color: #7e8aa2} /* Keyword.Pseudo */ +.highlight .kr { color: #7e8aa2} /* Keyword.Reserved */ +.highlight .kt { color: #7e8aa2} /* Keyword.Type */ +.highlight .ld { color: #e2e2e5} /* Literal.Date */ +.highlight .m { color: #ff9800} /* Literal.Number */ +.highlight .s { color: #b1d631; font-style: italic} /* Literal.String */ +.highlight .na { color: #ffffff; font-weight: bold} /* Name.Attribute */ +.highlight .nb { color: #e2e2e5} /* Name.Builtin */ +.highlight .nc { color: #e2e2e5} /* Name.Class */ +.highlight .no { color: #ff9800} /* Name.Constant */ +.highlight .nd { color: #e2e2e5} /* Name.Decorator */ +.highlight .ni { color: #ff9800} /* Name.Entity */ +.highlight .ne { color: #e2e2e5} /* Name.Exception */ +.highlight .nf { color: #ffffff; font-weight: bold} /* Name.Function */ +.highlight .nl { color: #e2e2e5} /* Name.Label */ +.highlight .nn { color: #e2e2e5} /* Name.Namespace */ +.highlight .nx { color: #e2e2e5} /* Name.Other */ +.highlight .py { color: #e2e2e5} /* Name.Property */ +.highlight .nt { color: #7e8aa2} /* Name.Tag */ +.highlight .nv { color: #b1d631} /* Name.Variable */ +.highlight .ow { color: #e2e2e5} /* Operator.Word */ +.highlight .w { color: #e2e2e5} /* Text.Whitespace */ +.highlight .mf { color: #ff9800} /* Literal.Number.Float */ +.highlight .mh { color: #ff9800} /* Literal.Number.Hex */ +.highlight .mi { color: #ff9800} /* Literal.Number.Integer */ +.highlight .mo { color: #ff9800} /* Literal.Number.Oct */ +.highlight .sb { color: #b1d631; font-style: italic} /* Literal.String.Backtick */ +.highlight .sc { color: #b1d631; font-style: italic} /* Literal.String.Char */ +.highlight .sd { color: #b1d631; font-style: italic} /* Literal.String.Doc */ +.highlight .s2 { color: #b1d631; font-style: italic} /* Literal.String.Double */ +.highlight .se { color: #b1d631; font-style: italic} /* Literal.String.Escape */ +.highlight .sh { color: #b1d631; font-style: italic} /* Literal.String.Heredoc */ +.highlight .si { color: #b1d631; font-style: italic} /* Literal.String.Interpol */ +.highlight .sx { color: #b1d631; font-style: italic} /* Literal.String.Other */ +.highlight .sr { color: #b1d631; font-style: italic} /* Literal.String.Regex */ +.highlight .s1 { color: #b1d631; font-style: italic} /* Literal.String.Single */ +.highlight .ss { color: #b1d631; font-style: italic} /* Literal.String.Symbol */ +.highlight .bp { color: #e2e2e5} /* Name.Builtin.Pseudo */ +.highlight .vc { color: #b1d631} /* Name.Variable.Class */ +.highlight .vg { color: #b1d631} /* Name.Variable.Global */ +.highlight .vi { color: #b1d631} /* Name.Variable.Instance */ +.highlight .il { color: #ff9800} /* Literal.Number.Integer.Long */ diff --git a/basic/static/css/rdark.css b/basic/static/css/rdark.css new file mode 100644 index 0000000..f186a0c --- /dev/null +++ b/basic/static/css/rdark.css @@ -0,0 +1,70 @@ +.highlight { background: #1e2426; color: #babdb6} +.highlight .hll { background-color: #ffffcc } +.highlight .c { color: #656763} /* Comment */ +.highlight .err { color: #babdb6} /* Error */ +.highlight .g { color: #babdb6} /* Generic */ +.highlight .k { color: #729fcf} /* Keyword */ +.highlight .l { color: #babdb6} /* Literal */ +.highlight .n { color: #babdb6} /* Name */ +.highlight .o { color: #babdb6} /* Operator */ +.highlight .x { color: #babdb6} /* Other */ +.highlight .p { color: #babdb6} /* Punctuation */ +.highlight .cm { color: #656763} /* Comment.Multiline */ +.highlight .cp { color: #fcaf3e} /* Comment.Preproc */ +.highlight .c1 { color: #656763} /* Comment.Single */ +.highlight .cs { color: #656763} /* Comment.Special */ +.highlight .gd { color: #2e3436; background-color: #0e1416 } /* Generic.Deleted */ +.highlight .ge { color: #babdb6} /* Generic.Emph */ +.highlight .gr { color: #eeeeec; background-color: #cc0000 } /* Generic.Error */ +.highlight .gh { color: #fcaf3e} /* Generic.Heading */ +.highlight .gi { color: #babdb6; background-color: #1f2b2d } /* Generic.Inserted */ +.highlight .go { color: #2c3032; background-color: #2c3032 } /* Generic.Output */ +.highlight .gp { color: #babdb6} /* Generic.Prompt */ +.highlight .gs { color: #babdb6} /* Generic.Strong */ +.highlight .gu { color: #fcaf3e} /* Generic.Subheading */ +.highlight .gt { color: #babdb6} /* Generic.Traceback */ +.highlight .kc { color: #729fcf} /* Keyword.Constant */ +.highlight .kd { color: #729fcf} /* Keyword.Declaration */ +.highlight .kn { color: #729fcf} /* Keyword.Namespace */ +.highlight .kp { color: #729fcf} /* Keyword.Pseudo */ +.highlight .kr { color: #729fcf} /* Keyword.Reserved */ +.highlight .kt { color: #e3e7df} /* Keyword.Type */ +.highlight .ld { color: #babdb6} /* Literal.Date */ +.highlight .m { color: #8ae234} /* Literal.Number */ +.highlight .s { color: #babdb6} /* Literal.String */ +.highlight .na { color: #fcaf3e} /* Name.Attribute */ +.highlight .nb { color: #babdb6} /* Name.Builtin */ +.highlight .nc { color: #babdb6} /* Name.Class */ +.highlight .no { color: #8ae234} /* Name.Constant */ +.highlight .nd { color: #babdb6} /* Name.Decorator */ +.highlight .ni { color: #888a85} /* Name.Entity */ +.highlight .ne { color: #babdb6} /* Name.Exception */ +.highlight .nf { color: #fcaf3e} /* Name.Function */ +.highlight .nl { color: #babdb6} /* Name.Label */ +.highlight .nn { color: #babdb6} /* Name.Namespace */ +.highlight .nx { color: #babdb6} /* Name.Other */ +.highlight .py { color: #babdb6} /* Name.Property */ +.highlight .nt { color: #729fcf} /* Name.Tag */ +.highlight .nv { color: #ffffff} /* Name.Variable */ +.highlight .ow { color: #babdb6} /* Operator.Word */ +.highlight .w { color: #babdb6} /* Text.Whitespace */ +.highlight .mf { color: #8ae234} /* Literal.Number.Float */ +.highlight .mh { color: #8ae234} /* Literal.Number.Hex */ +.highlight .mi { color: #8ae234} /* Literal.Number.Integer */ +.highlight .mo { color: #8ae234} /* Literal.Number.Oct */ +.highlight .sb { color: #babdb6} /* Literal.String.Backtick */ +.highlight .sc { color: #babdb6} /* Literal.String.Char */ +.highlight .sd { color: #babdb6} /* Literal.String.Doc */ +.highlight .s2 { color: #babdb6} /* Literal.String.Double */ +.highlight .se { color: #babdb6} /* Literal.String.Escape */ +.highlight .sh { color: #babdb6} /* Literal.String.Heredoc */ +.highlight .si { color: #babdb6} /* Literal.String.Interpol */ +.highlight .sx { color: #babdb6} /* Literal.String.Other */ +.highlight .sr { color: #babdb6} /* Literal.String.Regex */ +.highlight .s1 { color: #babdb6} /* Literal.String.Single */ +.highlight .ss { color: #babdb6} /* Literal.String.Symbol */ +.highlight .bp { color: #babdb6} /* Name.Builtin.Pseudo */ +.highlight .vc { color: #ffffff} /* Name.Variable.Class */ +.highlight .vg { color: #ffffff} /* Name.Variable.Global */ +.highlight .vi { color: #ffffff} /* Name.Variable.Instance */ +.highlight .il { color: #8ae234} /* Literal.Number.Integer.Long */ diff --git a/basic/templates/base.html b/basic/templates/base.html index 861b4d7..03e2672 100644 --- a/basic/templates/base.html +++ b/basic/templates/base.html @@ -2,7 +2,8 @@ {%- block head %} {{ super() }} - <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/rdark.css" /> + <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" /> <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> {%- if FEED_RSS %}<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />{% endif -%} <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> @@ -29,4 +30,19 @@ }); </script> {% endif %} + +<!-- Using MathJax, with the delimiters $ --> +<!-- Conflict with pygments for the .mo and .mi --> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + "HTML-CSS": { + styles: { + ".MathJax .mo, .MathJax .mi": {color: "black ! important"}} + }, + tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],processEscapes: true} + }); +</script> + +<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script> +</head> {% endblock -%} diff --git a/crowsfoot b/crowsfoot new file mode 160000 +Subproject e8d5f71acb198c3268cfd96c9bd5c1c2be064a9 diff --git a/gum/templates/article.html b/gum/templates/article.html index e43e48e..15188d0 100644 --- a/gum/templates/article.html +++ b/gum/templates/article.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}{{ article.title|striptags }}{% endblock %} {% block content %} <section id="content" class="body"> @@ -26,6 +27,20 @@ <div class="entry-content"> {{ article.content }} </div><!-- /.entry-content --> + {% if DISQUS_SITENAME %} + <div class="comments"> + <h3>Comments</h3> + <div id="disqus_thread"></div> + <script type="text/javascript"> + var disqus_identifier = "{{ article.url }}"; + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + </div> + {% endif %} </div><!-- /.eleven.columns --> diff --git a/gum/templates/base.html b/gum/templates/base.html index 61a38d1..afae24d 100644 --- a/gum/templates/base.html +++ b/gum/templates/base.html @@ -146,6 +146,7 @@ </div> +{% include 'disqus_script.html' %} <script src="{{ SITEURL }}/theme/js/libs/jquery-1.9.1.min.js"></script> <script src="{{ SITEURL }}/theme/js/libs/gumby.min.js"></script> <script src="{{ SITEURL }}/theme/js/plugins.js"></script> diff --git a/gum/templates/disqus_script.html b/gum/templates/disqus_script.html new file mode 100644 index 0000000..c4f442c --- /dev/null +++ b/gum/templates/disqus_script.html @@ -0,0 +1,11 @@ +{% if DISQUS_SITENAME %} +<script type="text/javascript"> + var disqus_shortname = '{{ DISQUS_SITENAME }}'; + (function () { + var s = document.createElement('script'); s.async = true; + s.type = 'text/javascript'; + s.src = 'http://' + disqus_shortname + '.disqus.com/count.js'; + (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); + }()); +</script> +{% endif %} diff --git a/gum/templates/index.html b/gum/templates/index.html index 83abf70..aae5ea5 100644 --- a/gum/templates/index.html +++ b/gum/templates/index.html @@ -28,7 +28,7 @@ {% if article.tags %} <span>Tagged as : </span> {% for tag in article.tags %} - <a class="danger label" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> + <a class="danger label" href="{{ SITEURL }}/{{ tag.url }}">{{ tag|e }}</a> {% endfor %} {% endif %} </div> diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html index 43ed62a..442549e 100644 --- a/gum/templates/sidebar.html +++ b/gum/templates/sidebar.html @@ -33,7 +33,7 @@ {% if tags %} <ul> {% for tag in tag_cloud %} - <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0|string|replace(" ", "-" )|lower }}.html">{{ tag.0 }}</a></li> + <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0|e }}</a></li> {% endfor %} </ul> {% endif %} @@ -50,4 +50,4 @@ </nav> {% endif %} -</div>
\ No newline at end of file +</div> diff --git a/gum/templates/tag.html b/gum/templates/tag.html index 68cdcba..dc697fe 100644 --- a/gum/templates/tag.html +++ b/gum/templates/tag.html @@ -1,2 +1,2 @@ {% extends "index.html" %} -{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} +{% block title %}{{ SITENAME }} - {{ tag|e }}{% endblock %} diff --git a/gum/templates/tags.html b/gum/templates/tags.html index 862eff6..ec380b7 100644 --- a/gum/templates/tags.html +++ b/gum/templates/tags.html @@ -5,7 +5,7 @@ {% for tag in tag_cloud %} <li class="tag-{{ tag.1 }}"> <a href="{{ SITEURL }}/{{ tag.0.url }}"> - <i class="icon-tag icon-large"></i>{{ tag.0 }} + <i class="icon-tag icon-large"></i>{{ tag.0|e }} </a> </li> {% endfor %} diff --git a/sundown b/sundown new file mode 160000 +Subproject c25ac1e829fc2548f084d4496e71ddfce3e8692 diff --git a/syte/README.md b/syte/README.md index bae5417..b8bd6d4 100644 --- a/syte/README.md +++ b/syte/README.md @@ -1,12 +1,26 @@ Syte theme for Pelican ====================== -This theme is based on [Syte][syte] and is for Pelican. It has been instanciated by [samrat][samrat] and continued by [arnaudbos][arnaudbos]. +This Pelican theme is based on [Syte][syte]. It was created by [samrat][samrat], with continued development by [arnaudbos][arnaudbos]. You can [see this theme in action here][sneakernet]. ![screenshot](https://raw.github.com/arnaudbos/pelican-themes/master/syte/screenshot.png) + +Dependencies +------------ + +Pelican-Syte uses the `webassets` and `cssmin` Python packages, which can be installed via: + + pip install webassets cssmin + +Also required is the [assets][] Pelican plugin, which integrates the `webassets` +package mentioned above into Pelican. Follow the instructions on the +[Pelican Plugins][] page to install the [assets][] plugin and activate it via +your settings file. + + Settings -------- @@ -19,12 +33,6 @@ All these settings are optional, not using them will simply not enable the socia * SITE_DESCRIPTION = u'Used in HTML meta tag for description' * SITE_KEYWORDS = u'Used in the HTML meta tag for keywords' -###### Not so optional - -Pelican-syte uses the webassets module integrated into Pelican, so you -will also need to install it ( `pip install webassets` ) and add the -`pelican.plugins.assets` plugin to `PLUGINS` setting. - #### Links * DISPLAY_HOME_ON_MENU = True (If you still want to display a 'Home' link, note that the site name is already a link to the home page) @@ -55,7 +63,10 @@ will also need to install it ( `pip install webassets` ) and add the * INSTAGRAM_USERNAME = 'your_username' (Needed if INSTAGRAM_INTEGRATION_ENABLED is set to True) * INSTAGRAM_API_ACCESS = 'your_api_access_key' (Needed if INSTAGRAM_INTEGRATION_ENABLED is set to True) + [syte]: http://rigoneri.github.com/syte/ -[samrat]: http://samrat.github.com +[samrat]: http://samrat.github.com/ [arnaudbos]: http://github.com/arnaudbos/ [sneakernet]: http://www.sneakernet.fr/ +[assets]: https://github.com/getpelican/pelican-plugins/tree/master/assets +[Pelican Plugins]: https://github.com/getpelican/pelican-plugins |