Permalink
Browse files

Upgrade theme for Pelican 3.3

  • Loading branch information...
dflock committed Oct 20, 2013
1 parent d5662f5 commit bae678828b4535fcece8327c0f2dbae63bf4c92f
Showing with 17 additions and 12 deletions.
  1. +2 −2 static/css/main.css
  2. +6 −1 static/css/pygments-monokai.css
  3. +3 −3 templates/article.html
  4. +6 −6 templates/base.html
View
@@ -67,7 +67,7 @@ h1 {
.blog-header,
.blog-footer {
padding: 16px 0;
background: #2C71B8 url(/static/images/blueprint-background.png) repeat;
background: #2C71B8 url(/images/blueprint-background.png) repeat;
color: #fff;
margin-bottom: 1em;
}
@@ -377,7 +377,7 @@ h1 {
.content div.note,
.content div.caution {
padding: 0.25em 1em;
background: #2C71B8 url(/static/images/blueprint-background.png);
background: #2C71B8 url(/images/blueprint-background.png);
color: #fff;
border: 1px solid #3C7CBD;
border-radius: 4px;
@@ -56,4 +56,9 @@
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
.highlight .gh { color: #fff; } /* Generic Heading & Diff Header */
.highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
.highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */
.highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */
View
@@ -2,7 +2,7 @@
{% block pageschema %}{{ article.schema|d(DEFAULT_PAGESCHEMA) }}{% endblock %}
{% block metaimage %}{{ SITEURL }}{{ article.thumbnail|d('/static/images/favicon-128x128.png') }}{% endblock %}
{% block metaimage %}{{ SITEURL }}{{ article.thumbnail|d('/images/favicon-128x128.png') }}{% endblock %}
{% block title %}{{ article.title|striptags }}: {{ SITENAME }}{% endblock %}
{% block description %}{{ article.meta_description|d(article.summary|striptags|striptags|striptags) }}{% endblock %}
@@ -13,7 +13,7 @@
<meta name="twitter:image" content="{{ SITEURL }}{{ article.thumbnail }}">
{% else %}
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{{ SITEURL }}/static/images/favicon-128x128.png">
<meta name="twitter:image" content="{{ SITEURL }}/images/favicon-128x128.png">
{% endif %}
<meta name="twitter:site" content="@{{ TWITTER_USERNAME }}">
<meta name="twitter:title" content="{{ article.title|striptags }}">
@@ -27,7 +27,7 @@
{% if article.thumbnail %}
<meta property="og:image" content="{{ SITEURL }}{{ article.thumbnail }}"/>
{% else %}
<meta property="og:image" content="{{ SITEURL }}/static/images/favicon-128x128.png"/>
<meta property="og:image" content="{{ SITEURL }}/images/favicon-128x128.png"/>
{% endif %}
<meta property="og:site_name" content="{{ SITENAME }}"/>
<meta property="og:title" content="{{ article.title|striptags }}"/>
View
@@ -4,11 +4,11 @@
<meta charset="utf-8">
<title>{% block title %}{{ SITE_TITLE }}: {{ SITENAME }}{% endblock %}</title>
{# Favicons #}
<meta itemprop="image" content="{% block metaimage %}{{ SITEURL }}/static/images/favicon-128x128.png{% endblock %}">
<meta itemprop="image" content="{% block metaimage %}{{ SITEURL }}/images/favicon-128x128.png{% endblock %}">
<link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico">
<link rel="apple-touch-icon" href="{{ SITEURL }}/static/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/static/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/static/images/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" href="{{ SITEURL }}/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/images/apple-touch-icon-114x114.png">
<meta name="description" itemprop="description" content="{% block description %}{{ SITE_DESCRIPTION }}{% endblock %}" />
@@ -43,7 +43,7 @@
<meta name="twitter:title" content="{{ SITENAME }}">
<meta name="twitter:description" content="{{ SITE_DESCRIPTION }}">
<meta name="twitter:creator" content="@{{ TWITTER_USERNAME }}">
<meta name="twitter:image" content="{{ SITEURL }}/static/images/favicon-128x128.png">
<meta name="twitter:image" content="{{ SITEURL }}/images/favicon-128x128.png">
<meta name="twitter:domain" content="{{ SITE_DOMAIN }}">
{% endblock %}
{% endif %}
@@ -53,7 +53,7 @@
<meta property="og:title" content="{{ SITENAME }}"/>
<meta property="og:type" content="blog"/>
<meta property="og:description" content="{{ SITE_DESCRIPTION }}"/>
<meta property="og:image" content="{{ SITEURL }}/static/images/favicon-128x128.png"/>
<meta property="og:image" content="{{ SITEURL }}/images/favicon-128x128.png"/>
<meta property="og:url" content="{{ SITEURL }}"/>
{% endblock %}
{% endif %}

0 comments on commit bae6788

Please sign in to comment.