Commit graph

11 commits

Author SHA1 Message Date
Regis Philibert
470ea40982
Only apply the absURL on images served through satic directory ()
This will solve the subdirectory edge case without communication

Fixes 
2022-06-10 15:36:57 -04:00
Meir Kriheli
19242fd2f8
Added support for Right-To-Left languages ()
* Added support for Right-To-Left languages

* Added language-direction partial
2022-04-21 14:17:49 -04:00
Regis Philibert
8cd36f504e
Use .Render for summary and summary-with-image throughout () 2022-01-19 11:24:13 -05:00
Jan Steinke
e3f7fbe39d
enable hosting the website also on other domains () 2021-07-14 09:29:08 -04:00
Sean
5001b28387
Add automatic cover image support ()
* Add support for auto-detection of featured images.

* Rename Partial, Add Documentation

Renamed the partial to func/GetFeaturedImage.html.

Additionally added more documentation in the partial to explain how it
worked, and what values were returned.

Co-authored-by: Sean Zimmermann <sz2243@columbia.edu>
2020-06-23 09:34:09 -04:00
Josh Lubaway
0d9656d939 Replace {{ .URL }} with {{ .Permalink }} ()
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 ()
* 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 

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 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