Giter VIP home page Giter VIP logo

blog.horan.hk's Introduction

Pelican configs/themes/plugins for blog.horan.hk

Overview

This git repo holds the config files, theme files and plugin files I use to generate the site blog.horan.hk.

Dependancys

  • Pelican 3.6.x
  • BeautifulSoup4
  • Markdown

For a full list of python depances see Pelican install guide

Directory overview

  • README.md -- This file
  • pelicanconf.py -- Pelican config + dev settings
  • publishconf.py -- Pelican config (inherited) + prod settings
  • plugins
    • tipue_search.py -- Tipue search plugin (unmodified from upstream)
    • pelican_comment_system -- Static pelican comment plugin (unmodified from upstream)
  • theme
    • pelican-bootstrap3 -- My current theme (modified from upstream)

Details on modfictions

  • pelicanconf.py and publishconf.py are fully commented in-line, please see each file for the meaning of each setting.
  • pelican-bootstrap3
    • Ripped out any social media rubbish (facebook, twitter etc) [Ongoing effort]
    • Updated tipue search to v5 to resolve search page generation issue

Work flow for a new blog post

This section makes use of the included "Makefile".
Only change to the Makefile was :

SSH_HOST= blog.horan.hk
SSH_PORT= 22
SSH_USER= oldmate
SSH_TARGET_DIR= /dev/null
  1. Write a new article.
    vim content/2015-12-12.new-blog-post.mk
    The header should contain the follwoing :

    title: Check out my new post
    Category:  howto
    slug: check-my-post
    date: 2015-12-12
    summary: How to write the headers for a new post on my blog
    
  2. Test it localy
    run : "make html"
    run : "make serve"
    View in web browser "http://localhost:8000"

  3. Publish to web server
    run : "make publish"
    run : "make rsync_upload"
    Done

blog.horan.hk's People

Contributors

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