Skip to content

sa7mon/hugo-theme-pixyll

master
Switch branches/tags
Code
This branch is 15 commits ahead, 36 commits behind azmelanar:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pixyll

Pixyll is a simple, beautiful theme for Hugo. Based on Pixyll for Jekyll

Features

  • Basic tag support.
  • Disqus comments supported.
  • Google Analytics supported.
  • Social links (currently only for twitter).
  • Formspree for contact form.
  • Pagination support.
  • Search, executes in client side javascript.

Example config:

languageCode = "en-us"
contentdir = "content"
publishdir = "public"
builddrafts = false
baseUrl = ""
canonifyurls = true
title = "Pixyll"
author = "admin"
theme = "pixyll"

[indexes]
  category = "categories"
  tag = "tags"

[params]
  search_engine = true
  google_analytics_id = "XX-XXXXXXXX-X"
  twitter_username = "username"
  disqus_shortname = "sitename"
  paginate = true

Search

To activate search ensure that [params] section has line search_engine = true. Then you need to generate search index:

  1. Copy script create_json.py to your website root location, where config.toml is located.
  2. Install python requirements: pip install -r requirements.txt
  3. Run python2 create_json.py

Script was tested with python 2.7 only.

Index will be placed into public/tipuesearch_content.json. Every time you add new article you need to regenerate index with command above. If you run hugo as a server, please append option --renderToDisk othervise hugo will not pick up files generated by search script.

Pixyll Screenshot

About

A simple, beautiful Hugo theme that's mobile first.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 85.7%
  • HTML 9.3%
  • JavaScript 3.4%
  • Python 1.6%