A minimal Pelican theme.
- Responsive.
- RTL support.
- Easy to customize (title, subtitle, side menu, ...).
RTL Demo (my personal website)
Clone the repository then edit the THEME
identifier in pelicanconf.py
to point to the downloaded theme location, example: THEME = '/Users/kaluaim/workspace/sardine/theme'
Sardine has its own custom identifiers in pelicanconf.py
for easy customization:
SRDN_SITE_DIRECTION
if'rtl'
then will importrtl.css
to the siteSRDN_SITE_LOGO
the name of the site logo inside thestatic/images
folder, for example:'sardine.png'
.SRDN_TAGLINE
tagline under the site name.SRDN_SIDE_TITLE_PAGES
SRDN_SIDE_TITLE_PAGES
SRDN_SIDE_TITLE_PAGES
SRDN_SIDE_TITLE_PAGES
titles for each section in the side menu.SRDN_SIDE_MSG
text area above the footer.SRDN_RSS_TITLE
SRDN_RSS_URL
feet title and URL in the side menu.SRDN_EMAIL_TITLE
SRDN_EMAIL_URL
eamil subscription title and URL.SRDN_CATEGORY_TEXT
SRDN_TAG_TEXT
the way you want the category and the tag to apper at the end of post, for example:'Category:'
and'Tag:'
.SRDN_DISQUS_SITENAME
the site name for Disqus.SRDN_COMMENTS_DISABLED_MSG
text shown if the comments was disabled in a post. you can disable the commient by adding this metadata:comment: false
SRDN_FOOTER_LINES
tuple conteaning HTML footer lines, after each line<br/>
will be added. example:(('<span>Copyright kaluaim © 2016</span>'),('<span>Powred by <a href="http://blog.getpelican.com/">Pelican</a></span>'),)
In addition the theme uses the defaults pelican's identifiers like LINKS
and SOCIAL
Theme structure was influenced by pelican-svbhack and style by Coding Horror
Sardine is licensed under the MIT License.