GithubHelp home page GithubHelp logo

petrnohejl / minimal-xy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsitnicki/minimalx

37.0 2.0 23.0 1.14 MB

Pelican blog theme.

License: MIT License

CSS 60.96% HTML 39.04%
pelican-theme pelican python blog theme

minimal-xy's Introduction

MinimalXY Pelican Theme

MinimalXY Pelican theme is extended from minimalX by art1fa.

I made some improvements, polishing and SEO optimization. The main purpose of this fork is to keep everything simple and focus on content. I removed all unnecessary parts. You can see this theme live here: blog.petrnohejl.cz.

Design focus

  • Minimal flat design
  • Good usability, simple & intuitive navigation
  • Focus on what's really important – your articles
  • Presented in a clean and straightforward way

Features

  • Fully responsive and mobile-first
  • Comments via Disqus integration
  • Social media buttons
  • W3.CSS CSS framework & HTML5 semantics

Screenshots

How to use

# Theme
THEME = '/path/to/MinimalXY'

# Theme customizations
MINIMALXY_CUSTOM_CSS = 'static/custom.css'
MINIMALXY_FAVICON = 'favicon.ico'
MINIMALXY_START_YEAR = 2009
MINIMALXY_CURRENT_YEAR = date.today().year

# Author
AUTHOR_INTRO = u'Hello world! I’m John Doe.'
AUTHOR_DESCRIPTION = u'Hello world! I’m John Doe. I like coffee, birds and Python.'
AUTHOR_AVATAR = 'http://www.gravatar.com/avatar/abcdefghijkl?s=240'
AUTHOR_WEB = 'http://mypersonalsite.com'

# Services
GOOGLE_ANALYTICS = 'UA-12345678-9'
DISQUS_SITENAME = 'johndoe'

# Social
SOCIAL = (
    ('facebook', 'http://www.facebook.com/johndoe'),
    ('twitter', 'http://twitter.com/johndoe'),
    ('github', 'https://github.com/johndoe'),
    ('linkedin', 'http://www.linkedin.com/in/johndoe'),
)

# Menu
MENUITEMS = (
    ('Categories', '/' + CATEGORIES_SAVE_AS),
    ('Archive', '/' + ARCHIVES_SAVE_AS),
)

Follow the Pelican documentation for more info or check the code of my personal blog.

License

MIT

minimal-xy's People

Contributors

edlongman avatar konzertheld avatar petrnohejl avatar zebra-ok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

minimal-xy's Issues

pelican-ipynb prettification

Something that was really bugging me was the extra margin whitespace on code cells when rendering Jupyter/IPython Notebooks using the aforementioned plugin.

My temporary fix was commenting out line 234 on style.css on my local clone:

  /* margin: 3rem 0; */

Sorry for inverting the order. It's after and before:
image
I don't know the implications of removing this margin yet.

[HELP] Setup Disqus on Pelican/theme

hi @petrnohejl ,

I have a fork of the repo and I'm trying to activate Disqus service on my static page. So far, I have registered on Disqus and added private, public keys on pelicanconf.py file (https://github.com/NaveenKarippai/NaveenKarippai.github.io) but with no success. The Disqus comment box doesn't load and I'm not sure how to troubleshoot further.

Any pointers, or help would be appreciated! I could not find contact mail, so had to open a ticket here.

Many Thanks!

Help with favicon

The favicon.ico file is being correctly moved to the root folder, but it does not appear as an icon on my published website.

Right now this is what I'm doing:

# according to https://github.com/getpelican/pelican/wiki/Tips-n-Tricks
STATIC_PATHS = ['images', 'extra/robots.txt', 'extra/favicon.ico']
EXTRA_PATH_METADATA = {
    'extra/robots.txt': {'path': 'robots.txt'},
    'extra/favicon.ico': {'path': 'favicon.ico'}
}

and

MINIMALXY_FAVICON = '/path/to/favicon.ico'

Is there a proper way to do this? What could I possibly be doing wrong? What the MINIMALXY_FAVICON is doing here?

P.S. Thanks for the theme, it's great!

custom.css?

The example configuration points to custom.css which is not part of the theme... do we need to create that file?

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.