From 4465f6f6e25eb8921b282298651b4bcf468d8d3a Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Tue, 23 Jan 2018 00:03:39 +0100 Subject: Adding static page support. Adding legal page. Using markdown parsing for front page --- pelicanconf.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pelicanconf.py') diff --git a/pelicanconf.py b/pelicanconf.py index 450b164..7857908 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -79,3 +79,18 @@ JINJA_EXTENSIONS = ['webassets.ext.jinja2.AssetsExtension', 'jinja2.ext.with_'] SOCIAL = (('Twitter', 'https://www.twitter.com/spacekookie'),('Github','https://www.github.com/spacekookie'),) DEFAULT_PAGINATION = 20 + + +from pygments.lexer import RegexLexer +from pygments.token import * + +class LoveLexer(RegexLexer): + name = 'Love' + aliases = ['love'] + filenames = ['*.love'] + + tokens = { + 'root': [ + ("❤", Keyword.Namespace), + ] + } \ No newline at end of file -- cgit v1.2.3