diff options
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 |