commit | 8c524638122772f82353f827755228c983443b8d | [log] [tgz] |
---|---|---|
author | pR0Ps <pR0Ps.CM@gmail.com> | Wed Dec 11 13:04:15 2013 -0500 |
committer | pR0Ps <pR0Ps.CM@gmail.com> | Wed Dec 11 13:25:31 2013 -0500 |
tree | 3c973bdbb1b66c7831c5802412eb96d0863fe30d | |
parent | 6c1731591d256aa46936a917518283013c0f097e [diff] |
Add FORCE_PIXELS option to force pixels vs. display pixels
pelican-svbhack is a responsive theme for Pelican, it is my hack of a svbtle-like theme.
You can see the theme in action.
Clone the repository, edit your pelicanconf.py
and modify the THEME
variable to make it point to the downloaded theme location.
Supports a number of common global variables but patches are welcomed if you need better support.
GOOGLE_ANALYTICS
your UA-XYZ code
GOOGLE_PLUS_URL
A link to your Google+ profile. Used for the Google Authorship feature.
USER_LOGO_URL
you don't need to replace the logo placeholder, just change this to point to another image. Can be local or remote.`
DISQUS_SITENAME
set this to enable disqus comments in articles
COLLAPSE_COMMENTS
set to True
to have article comments hidden by default. Clicking on the comments
link will toggle visibility.
TAGLINE
some text rendered right below the logo
SCROLL_TO_CONTENT
If this is set to True
, when the content is below the sidebar (for example, on mobile), the page will be scrolled down to the content when it loads. An exception is made for the home page.
FORCE_PIXELS
Some screens (mostly mobiles) don't use pixels directly and scale based on the concept of a "display pixel". Setting this to true tells the device to use actual pixels. Enable with care.
When developing locally, you may want to set the following variable: SITEURL = http://localhost:8000
@accent
in ./static/css/style.less
../Makefile
and running make pygments
.pelican-svbhack is authored by Giulio Fidente.
Released under MIT License, full details in LICENSE
file.