Go to file
Vlad Ionescu 0f2bd0c0a6 Math (#14)
* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* Auto stash before merge of "math" and "origin/math"

* Delete unnecessary option

* Actually enable math for demo page

* Have demo page be consistent
2018-05-01 15:48:49 -03:00
archetypes Fix links and content type 2018-03-08 16:48:46 -03:00
exampleSite Math (#14) 2018-05-01 15:48:49 -03:00
images Initial files 2018-02-28 22:38:59 -03:00
layouts Math (#14) 2018-05-01 15:48:49 -03:00
static Tables (#13) 2018-05-01 15:33:59 -03:00
.editorconfig Add Makefile to build CSS 2018-03-23 16:49:06 -03:00
LICENSE.md Initial files 2018-02-28 22:38:59 -03:00
Makefile Add Makefile to build CSS 2018-03-23 16:49:06 -03:00
README.md Add Makefile to build CSS 2018-03-23 16:49:06 -03:00
theme.toml Fix links and content type 2018-03-08 16:48:46 -03:00

README.md

hugo-coder

A simple and clean blog theme for Hugo.

How to use this theme

To use hugo-coder go through the following steps.

Download

Clone this repository into your Hugo project.

git clone https://github.com/luizdepra/hugo-coder.git themes/coder

Configuration

Add the following lines to your config.toml.

theme = "coder" # set the theme

[params] # theme parameters
    author = "John Doe" # author's name
    info = "Full Stack DevOps and Magician" # author's job title or info
    description = "John Doe's personal website" # site description
    keywords = "blog,developer,personal" # site keywords
    
# Social links
[[params.social]]
    name = "Github"
    weight = 1
    url = "https://github.com/johndoe/"
[[params.social]]
    name = "Twitter"
    weight = 2
    url = "https://twitter.com/johndoe/"
[[params.social]]
    name = "LinkedIn"
    weight = 3
    url = "https://www.linkedin.com/in/johndoe/"

# Menu links
[[menu.main]]
    name = "Blog"
    weight = 1
    url  = "/posts/"
[[menu.main]]
    name = "About"
    weight = 2
    url = "/about/"

You can look at full working config.toml inside the exampleSite folder.

Build & Test

To update or generate the minified CSS file:

make build

To build your site and test, run:

hugo server

To Do

  • Comments (probably not Disqus, sorry)
  • Tags, Categories and Series

License

Coder is licensed under the MIT license.

Author

Luiz de Prá

Special Thanks

  • Gleen McComb, for his great article about custom pagination.
  • All contributors, for every PR and Issue reported.