From: Vladimír Vondruš Date: Sat, 16 Dec 2017 16:52:20 +0000 (+0100) Subject: site: use the new global social meta tags. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=76a93846d633615126b6820b342807540a5965f2;p=blog.git site: use the new global social meta tags. --- diff --git a/doc/static/site.jpg b/doc/static/site.jpg new file mode 100644 index 00000000..cae66422 Binary files /dev/null and b/doc/static/site.jpg differ diff --git a/site/pelicanconf.py b/site/pelicanconf.py index 85efd763..9ab0938a 100644 --- a/site/pelicanconf.py +++ b/site/pelicanconf.py @@ -29,9 +29,6 @@ M_SITE_LOGO_TEXT = 'm.css' SITENAME = 'm.css' SITEURL = '' -M_BLOG_NAME = 'm.css example articles' -M_BLOG_URL = 'examples/' - STATIC_URL = '{path}' PATH = 'content' @@ -51,6 +48,14 @@ TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None +M_BLOG_NAME = "m.css example articles" +M_BLOG_URL = 'examples/' + +M_SOCIAL_TWITTER_SITE = '@czmosra' +M_SOCIAL_TWITTER_SITE_ID = 1537427036 +M_SOCIAL_IMAGE = 'static/site.jpg' +M_SOCIAL_BLOG_SUMMARY = 'Example articles for the m.css Pelican theme' + M_LINKS_NAVBAR1 = [('Why?', 'why/', 'why', []), ('CSS', 'css/', 'css', [ ('Grid system', 'css/grid/', 'css/grid'), @@ -139,16 +144,18 @@ M_HTMLSANITY_HYPHENATION = True M_DOX_TAGFILES = [ ('../doc/doxygen/corrade.tag', 'http://doc.magnum.graphics/corrade/', ['Corrade::'])] -DIRECT_TEMPLATES = [] +DIRECT_TEMPLATES = ['archives'] PAGE_URL = '{slug}/' PAGE_SAVE_AS = '{slug}/index.html' +ARCHIVES_URL = 'examples/' +ARCHIVES_SAVE_AS = 'examples/index.html' ARTICLE_URL = '{category}/{slug}/' ARTICLE_SAVE_AS = '{category}/{slug}/index.html' AUTHOR_URL = 'author/{slug}/' AUTHOR_SAVE_AS = 'author/{slug}/index.html' -CATEGORY_URL = '{slug}/' -CATEGORY_SAVE_AS = '{slug}/index.html' +CATEGORY_URL = 'examples/' # Aliases with the archives page +CATEGORY_SAVE_AS = '' # The archives page is used instead TAG_URL = 'tag/{slug}/' TAG_SAVE_AS = 'tag/{slug}/index.html'