Commit graph

10 commits

Author SHA1 Message Date
mathew bd759431a9
Add missing "read more" link to summary.html (#658)
* Add missing "read more" link to summary.html

* Fix layouts/post/summary to add read more link
2023-11-21 15:08:47 -05:00
Charles Brunet 5520ed119f
use time.Format to format dates. It allows dates to be localized. (#537)
* use time.Format to format dates. It allows dates to be localized.

* Keep old default format, to remain compatible with older versions of hugo
2022-04-21 13:15:53 -04:00
Tanner Smith 3b30dfbac3
Add option to change content font color (#286)
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-12-23 15:01:14 -05:00
Lars Kruse b0bf3ccca1
Allow override of date format (#291)
Previously the default date format (`January 2, 2006` ) was used for
blog and single page date visualizations.

The new parameter `date_format` can be used to override this format.
This allows the visualization of localized dates or a changed precision
(down to the minute or up to the month or year of publication).

Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-10-01 13:45:22 -04:00
Jan Steinke e3f7fbe39d
enable hosting the website also on other domains (#355) 2021-07-14 09:29:08 -04:00
Josh Lubaway 0d9656d939 Replace {{ .URL }} with {{ .Permalink }} (#216)
Using the `{{ .URL }}` token results in a warning:

    WARN 2019/10/13 15:12:12 Page's .URL is deprecated and will be removed in a
    future release. Use .Permalink or .RelPermalink. If what you want is the
    front matter URL value, use .Params.url.

Steps to reproduce
==================

Follow along with the Quick Start guide at
https://gohugo.io/getting-started/quick-start/

Running `hugo server -D` emits a warning that `.URL` is deprecated.
2019-10-26 13:00:59 -04:00
Bud Parr 5fc34b0a4e
remove silly tag h/t @jhabdas 2017-04-18 20:16:27 -04:00
Bud Parr 95af995e96
remove p tags from .Summary 2017-04-17 19:02:51 -04:00
Bud Parr f720177809
add some readme and annotations 2017-04-14 23:08:11 -04:00
Bud Parr 9e5401d0fa
change article to post 2017-04-14 22:23:18 -04:00
Renamed from layouts/article/summary.html (Browse further)