GithubHelp home page GithubHelp logo

yostos / pelican-hss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laughk/pelican-hss

0.0 1.0 0.0 1.9 MB

HSS is responsive and single page design theme for Pelican.

License: MIT License

Makefile 1.28% CSS 37.96% HTML 60.76%

pelican-hss's Introduction

HSS

  • HSS is responsive and single page design theme for Pelican, it is my hack of a Giulio Fidente's gfidente/pelican-svbhack theme.
  • HSS is "H"ack to "S"ingle-page-layout of "S"VBHACK.

Screenshot&Demo

You can see the my site.

index content
image image

INSTALL

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

PELICANCONF.PY

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

  • The following values are intended for use Google Adsens(only responsive).

    • GOOGLE_ADSENSE_CLIENT: ca-pub-XXXXXXXXX at data-ad-client.
    • GOOGLE_ADSENSE_SLOT: value at data-ad-slot

    ex.

    GOOGLE_ADSENSE_CLIENT = 'ca-pub-xxxxxxxxxxxxxxxx'
    GOOGLE_ADSENSE_SLOT   = 'xxxxxxxxx'
  • 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'

  • 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

  • SHOW_SOCIAL_SHARE_BUTTON to use social share button. set this var to True.

  • SOCIAL_SHARE_BUTTONS to choice social media for

    from the following.

    ex.

    SHOW_SOCIAL_SHARE_BUTTON = True
    SOCIAL_SHARE_BUTTONS = (
        'twitter', 'facebook', 'hatebu', 'pocket', 'googleplus'
    )
  • CUSTOM_CSS_URL (Default: None)

    if you want to customize to stylesheet, you add css file by your hosting and seting url to this value.

    ex.

    make custom.css to /path/to/your-pelican-project/content/extra/custom.css
    and add to pelicanconf.py

    # set custom.css url.
    CUSTOM_CSS_URL = '/static/custom.css'
    
    # add `extra` to STATIC_PATHS.
    STATIC_PATHS = [ 'extra', 'images', ]
    
    # set url of custom.css to EXTRA_PATH_METADATA.
    EXTRA_PATH_METADATA = {
    
        -- -- snip -- --
    
        'extra/custom.css': {'path': 'static/custom.css'},
    }

    or you can use your hosting url path.
    so use your hosting url, there is no need to set STATIC_PATHS , EXTRA_PATH_METADATA.

    # set custom.css url.
    CUSTOM_CSS_URL = 'https://your-hosting.example.com/path/to/custom.css'

MODIFICATIONS

  • A different Pygmentize theme can be used by editing ./Makefile and running make pygments.

AUTHOR

LICENSE

Released under MIT License, full details in LICENSE file.

pelican-hss's People

Contributors

laughk avatar gfidente avatar pr0ps avatar xqwzts avatar ssfrr avatar epistrephein avatar squeuei avatar

Watchers

yostos 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.