Coder Social home page Coder Social logo

yljh21328 / pelican-fresh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsliang/pelican-fresh

0.0 2.0 0.0 199 KB

Fresh is a responsive Pelican theme. This theme uses HTML5 and its layout is responsive -- thanks to Smashing HTML5 and Twitter Bootstrap.

Home Page: http://jsliang.com/pelican-fresh-demo/blog/

License: BSD 2-Clause "Simplified" License

CSS 100.00%

pelican-fresh's Introduction

Fresh: a responsive Pelican theme that uses HTML5

Fresh is a responsive Pelican theme. This theme uses HTML5 and its layout is responsive -- thanks to Smashing HTML5 and Twitter Bootstrap.

You can watch a live demo for the Fresh theme here.

Note

Make sure not to set the RELATIVE_URLS global varibles to True (the default value is False) so that Facebook meta tags and canonical links are generated correctly.

Features

  • Google Analytics
  • DISQUS comment system
  • Custom link lists
  • Social widgets
  • "Fork me on GitHub" ribbon
  • Google Custom Search Engine -- use this as your search bar!
  • Hide categories from menu
  • Syntax highlighting for code blocks
  • ShareThis

Settings

The Fresh theme supports most built-in global variables of Pelican. There are also theme-specific global variables that allow you to add a search bar or to hide categories from menu.

Built-in Global Variables

The theme supports most Pelican built-in global variables, and some of them are listed below.

  • GOOGLE_ANALYTICS
  • DISQUS_SITENAME
  • LINKS = (('name1', 'url1'), ('name2', 'url2'))
  • SOCIAL = (('name1', 'url1'), ('name2', 'url2'))
  • GITHUB_URL

Refer to Pelican's documentation of settings for description of these global variables.

Theme-specific Global Variables

The theme also provides these global variables:

  • GOOGLE_CUSTOM_SEARCH = 'your search engine unique ID'

    The Fresh theme allows you to use Google Custom Search Engine as the search engine for your static website.

    Find the search engine unique ID of your customized search engine in Google Custom Search Engine's control panel. Assign this ID to the GOOGLE_CUSTOM_SEARCH variable in your configuration, and a Google custom search bar will appear in the navigation bar.

  • HIDE_CATEGORIES_FROM_MENU = True

    If you want to hide categories from menu, you can do so by setting HIDE_CATEGORIES_FROM_MENU to True in your configuration.

  • SHARETHIS_PUB_KEY = 'your ShareThis Pub Key'

    The Fresh theme allows you to use ShareThis for social plugins.

    Find the Pub Key of your ShareThis Account in ShareThis's Account Dashboard. Assign this ID to the SHARETHIS_PUB_KEY variable in your configuration, and two rows of social plugin buttons will appear before and after your article respectively.

License

Copyright (c) 2013-2014, Jui-Shan Liang <[email protected]>

All rights reserved.

Licensed under GPL v2.

Websites that use Fresh

It's glad to know that the Fresh Theme has been used around the world. Below is a list of sites in alphabetical order that uses Fresh discovered on the Internet. If you're using Fresh and would like your site to be listed here, feel free to edit this file and send me a pull request. :)

  1. cacaojvm.org

pelican-fresh's People

Contributors

jsliang avatar hansliu avatar wagdav avatar yljh21328 avatar yiwenlu66 avatar

Watchers

James Cloos avatar  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.