diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-23 00:03:39 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-23 00:03:39 +0100 |
commit | 4465f6f6e25eb8921b282298651b4bcf468d8d3a (patch) | |
tree | 031359301e30498ff590c58c588e20a0e9d9e1b4 /pelicanconf.py | |
parent | 89defc8520f306590e848d817131123a12c1ca54 (diff) |
Adding static page support. Adding legal page. Using markdown parsing for front page
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-x | pelicanconf.py | 15 |
1 files changed, 15 insertions, 0 deletions
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 |