Giter Site home page Giter Site logo

sanpii / iris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slok/iris

0.0 2.0 0.0 1.27 MB

Pelican (the static blog generator) theme based in Flask webpage theme

License: BSD 3-Clause "New" or "Revised" License

CSS 40.51% JavaScript 1.93% HTML 55.14% Makefile 2.43%

iris's Introduction

Iris

What is iris?

Iris is a pelican theme based on Flask webpage This theme is very simple and easy to read, perfect for a minimalist blog without much things and beautiful source code syntax (Thank you pygments!) Also uses various fonts:

Preview

image

Variables

Some of the variables that could be used:

  • DISQUS_SITENAME: For the disqus comments
  • EMAIL: For the email "mailto:"

For the analytics we have two flavours, one is Go Squared

  • GOSQUARED_SITENAME: For the Go squared analytics

And the other is Google analytics Google analytics has various forms. The basic one is:

  • GOOGLE_ANALYTICS_CODE: this is the code of GA, something similar to: UA-xxxxxxxx-y

If you have analytics across domains you can put this setting:

  • GOOGLE_ANALYTICS_DOMAIN = "xlarrakoetxea.org"

And if you have upper domain level (com, org, co.uk...)

  • GOOGLE_ANALYTICS_DOMAIN_UP = True

Installation

To install, go to your pelican theme directory and clone the repo. For example:

$ cd /home/slok/.virtualenvs/blog/lib/python2.7/site-packages/pelican/themes/
$ git clone https://github.com/slok/iris.git

Set the variable THEME to iris in your pelican settings, like this:

THEME = "iris"

Notes

The theme navigation bar does a fade in if you scroll more than 300 pixels to increase the readability of an article.

ReStructuredText creates tt with something that is equivalent to markdown code that is created wit `something. This renders inline source code. So I added tt to the css also, not only code` like most themes. Example:

image

License

This theme is under the 3 clause BSD license

iris's People

Contributors

sanpii avatar slok avatar

Watchers

 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.