Git Product home page Git Product logo

hugo-theme-pixyll's Introduction

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"
disqusShortname = "sitename"

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

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

Search

We decided to use Tipue Search with custom script to generate index. Search is being done completely in browser, you don't need to run webserver for search. Current version of Tipue Search is 7.0

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

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

Script was tested with python 2.7 only.

Index will be placed into public/tipuesearch/tipuesearch_content.js. 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

hugo-theme-pixyll's People

Contributors

azmelanar avatar bep avatar casept avatar epeterson avatar imyousuf avatar nonumeros 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.