- Basic tag support.
- Disqus comments supported.
- Google Analytics supported.
- Social links (currently only for twitter).
- Formspree for contact form.
- Pagination support.
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
To activate search ensure that
[params] section has line
search_engine = true.
Then you need to generate search index:
- Copy script
create_json.pyto your website root location, where
- Install python requirements:
pip install -r requirements.txt
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.