mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Theme support, add PYGMENTS_STYLE option, stylesheets
To generate pygments theme files, get a list of known styles: >>> from pygments.styles import STYLE_MAP >>> STYLE_MAP.keys() ['default', 'emacs', 'friendly', 'colorful'] Generate the relevant stylesheet etc: $ pygmentize -S emacs -f html -a '.highlight pre' > pygments/emacs.css
This commit is contained in:
parent
fa95d70051
commit
f58a419a6c
54 changed files with 1563 additions and 0 deletions
|
|
@ -43,6 +43,7 @@
|
|||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/clean-blog.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments/{{ PYGMENTS_STYLE|default('native') }}.min.css">
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue