31 Commits

Author SHA1 Message Date
Emin Martinian
65d1858438
If nodate is set do not show the date line.
For pages like about or bio or things like that, people may not want to have a date line.

With this change, you can have `nodate = true` set for a page to suppress the date.
2018-12-27 20:06:39 -05:00
budparr
fd22513cf1
Add optional reading time/word count indication
via PR #134 @looer

Added config variable so this doesn't show up

Show "reading time" and "word count" but only if one of the following are true:
1) A global config `params` value is set `show_reading_time = true`
 2) A section front matter value is set `show_reading_time = true`
3) A page front matter value is set `show_reading_time = true`
2018-11-03 23:40:51 -04:00
Daniele Ricci
1d79e2d477 Use relative url function for custom CSS files (#132)
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
2018-09-19 12:55:38 -04:00
budparr
8c1280c2a3
Fix article padding on mobile
Fixes #115
2018-07-08 19:05:33 -04:00
Anthony Fok
89c26174a4 Fix asset paths when baseURL has sub-folder (#103)
See #97
2018-05-17 16:54:40 -04:00
shawn
41727a62e2 Issue 98 (#101)
* Add custom_css parameter.

* Copy documentation from hugo-octopress.
2018-04-24 08:48:53 -04:00
budparr
6e5e6df161
Make asset paths absolute
Fixes #97
2018-04-14 14:12:22 -04:00
Bud Parr
8b43f4662e
Replace Asset References with a data file instead of paths (#96)
* Add assets-webpack-plugin

Signed-off-by: budparr <budparr@gmail.com>

* Add generated Webpack Assets file

This file is generated by Webpack and writes the names of our hashed assets

Signed-off-by: budparr <budparr@gmail.com>

* Update stylesheet

Note sure why this was updated

Signed-off-by: budparr <budparr@gmail.com>

* Add CSS file from generated file

Replaces hardcoded path

Signed-off-by: budparr <budparr@gmail.com>
2018-04-10 18:35:56 -04:00
Bud Parr
1f3b6f5598
Pre-2.0 Enhancements (#94)
2.0 Enhancements

- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature 
- Add asset hashing to Webpack for performance
2018-04-09 12:33:10 -04:00
Den McHenry
d5b87cb15e Don't duplicate site title in home page TITLE tag (#78)
Let's say your `.Site.Title` is "My Website". The code grabs `.Site.Title`, and then then checks to see if there's a `.Title`. When you're on the homepage, `.Title` is equivalent to `.Site.Title`, so that the browser bar will read:

> My Website | My Website

If we qualify `.Title` by confining to the `.Params` namespace, then the site title isn't duplicated:

```<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>```

> My Website

But it still picks up `.Title` from posts and pages, where a content title exists in front matter:

> My Website | About Me
2018-01-15 20:26:37 -05:00
Russell Cohen
8b59adb79b Fix pagination (#76) 2018-01-08 23:03:52 -05:00
Adam Kaplan
1e37db6cef Favicons (#54)
* Adding support for favicon

* Fixing html tag
2017-09-27 07:52:26 -04:00
alea12
c850d4f9f8 indent fix (#45) 2017-09-26 11:55:13 -04:00
Bud Parr
a3dc1ac327 Add body_classes parameter to body
Fixes #43
2017-08-23 20:00:53 -04:00
Bud Parr
8f4c3b571d
use better class names 2017-05-02 08:16:53 -04:00
Bud Parr
b0c7d8bd88
improve terms template 2017-04-19 20:00:11 -04:00
Bud Parr
0756c5260e
use a cleaner way to include language code 2017-04-17 10:54:58 -04:00
Bud Parr
1871755a89
add Hugo RSS Link 2017-04-17 09:05:36 -04:00
Bud Parr
3951d65c61
add taxonomy templates 2017-04-16 10:40:53 -04:00
Bud Parr
fa51177f05
add site params to env check in head 2017-04-15 10:12:59 -04:00
Bud Parr
9a2b45e91f
add getenv 2017-04-14 23:46:58 -04:00
Bud Parr
1d05813c11
add some readme and annotations 2017-04-14 23:36:23 -04:00
Bud Parr
f720177809
add some readme and annotations 2017-04-14 23:08:11 -04:00
Bud Parr
2dfd957296
clean up 2017-04-14 21:58:31 -04:00
Bud Parr
53df85690d
wip clean up and annotations 2017-04-14 12:37:12 -04:00
Bud Parr
6331805b90
clean up layouts 2017-04-13 23:01:23 -04:00
Bud Parr
1d810d7237
add absolute url to css 2017-04-12 11:49:39 -04:00
Bud Parr
426676fd3c
page layout [wip] 2017-04-11 22:22:06 -04:00
Bud Parr
91984fee72
tweak layouts 2017-04-11 08:53:11 -04:00
Bud Parr
77514eab9e
wip layout mobile 2017-04-10 23:48:09 -04:00
Bud Parr
98bc281a57
first commit 2017-04-10 21:27:13 -04:00