Commit graph

6 commits

Author SHA1 Message Date
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
Jan Steinke 76e4b7174a add i18n translation support (#156)
* add initial translation

* readd _copy params to templates
2019-02-23 08:30:18 -05:00
budparr afd2735066
Be smarter about linking to posts on home page.
Fixes #50

Hugo's `.Summary` did not behave as I expected it to, not stripping out
HTML, so I removed the anchor block from around the posts and moved the
links to the image, title and a read more button.
2017-10-16 12:56:21 -04:00
Bud Parr ee265de976
improve image handling for edge cases Fixes #11 2017-04-19 16:45:24 -04:00
Bud Parr 95af995e96
remove p tags from .Summary 2017-04-17 19:02:51 -04:00
Bud Parr 2fac73dfac
switch home page work with a variety of sections after earlier PR 2017-04-17 18:30:22 -04:00