Giter Site home page Giter Site logo

gitwisp / pelican-svbhack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winter3angle/pelican-svbhack

0.0 0.0 0.0 953 KB

pelican-svbhack is a responsive theme for Pelican and it is my hack of a svbtle-like theme

License: MIT License

CSS 40.31% Makefile 1.83% HTML 57.85%

pelican-svbhack's Introduction

This is a little bit modified pelican-svbhack theme for Pelican.

What's changed:

  • theme palette - solarized dark
  • code highlighting - half solarized dark, half custom
  • added a couple of links in header - categories and tags
  • added 'continue reading' button on index page. It appears after the article's summary
  • I dropped out less stylesheet - I don't know less and too lazy to deal with it, so there is only CSS changed

EXAMPLES

Index theme screenshot

Code block codeblock screenshot

FEATURES

  • responsive
  • syntax highlighting for pre blocks
  • supports google analytics
  • custom list of links

KNOWN ISSUES

  • no IE testing
  • no custom menu

INSTALL

Clone the repository, edit your pelicanconf.py and modify the THEME variable to make it point to the downloaded theme location.

PELICANCONF.PY

Supports a number of common global variables but patches are welcomed if you need better support.

  • GOOGLE_ANALYTICS to use Google Analytics, set this var to your UA-XYZ code

  • USER_LOGO_URL to replace the logo placeholder, put your logo in content/images/your_logo.png and make this var point to SITEURL + '/static/images/your_logo.png'

  • ROUND_USER_LOGO set this to True to crop your logo to a circle and add a black border

  • DISQUS_SITENAME set this to your Disqus sitename to enable disqus comments in articles

  • TAGLINE some text rendered right below the logo

  • INTERNET_DEFENSE_LEAGUE set this to True if you want to enable the Internet Defense League code

When developing locally, you may want to set the following variable: SITEURL = http://localhost:8000

AUTHOR

pelican-svbhack is authored by Giulio Fidente. Little bit tuned by me.

LICENSE

Released under MIT License, full details in LICENSE file.

pelican-svbhack's People

Contributors

gfidente avatar winter3angle avatar pr0ps avatar xqwzts avatar harterrt avatar ssfrr avatar epistrephein avatar squeuei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.