https://github.com/eddymens/accessibility-care-theme
Theme for accessibility care
https://github.com/eddymens/accessibility-care-theme
Last synced: 2 months ago
JSON representation
Theme for accessibility care
- Host: GitHub
- URL: https://github.com/eddymens/accessibility-care-theme
- Owner: EDDYMENS
- License: mit
- Created: 2020-05-22T00:14:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T01:15:44.000Z (about 5 years ago)
- Last Synced: 2024-10-06T03:42:07.696Z (8 months ago)
- Language: CSS
- Size: 1.24 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Pixyll
Pixyll is a simple, beautiful theme for [Hugo](http://gohugo.io/).
Based on [Pixyll for Jekyll](https://github.com/johnotander/pixyll)## Features
- Basic tag support.
- Disqus comments supported.
- Google Analytics supported.
- Social links (currently only for twitter).
- [Formspree](http://formspree.io/) for contact form.
- Pagination support.
- [Search](#search), executes in client side javascript.Example config:
```toml
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](http://www.tipue.com/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.0To 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.
1. Install python requirements: `pip install -r requirements.txt`
1. 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.