Marco Kinski
775277039e
i18n made WordCount and ReadingTime singular/plural aware ( #363 )
...
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-10-01 13:23:28 -04:00
Sarah Grefalda
08d842f171
Use i18n for site navigation link tooltips ( #392 )
2021-10-01 13:20:46 -04:00
Ian Anderson
1ae24ada38
Only print article date if it is non-zero ( #397 )
2021-10-01 13:14:07 -04:00
diamon
597a631988
add default author ( #408 )
2021-10-01 13:11:40 -04:00
Jan Steinke
e3f7fbe39d
enable hosting the website also on other domains ( #355 )
2021-07-14 09:29:08 -04:00
Regis Philibert
6a8f9511aa
Fix resource transformation
...
Fixes #426
2021-06-17 09:21:34 -04:00
Regis Philibert
6eb54ab5fd
Refactor styling to drop PostCSS ( #424 )
...
Update custom_css logic (ensure retrocompat)
Fixes #423
2021-06-15 09:58:27 -04:00
zar3bski
8845854aa9
fix : production should Allow and point to Sitemap ( #404 )
2021-03-09 15:40:16 -05:00
Regis Philibert
ffd9d903c9
Add optional processing of styles with Hugo Pipes ( #387 )
...
* Using resources.PostCSS to handle stylesheets
* Allow optional processing of assets through Hugo Pipes
* We can settle with 0.64.0
2021-01-19 15:43:02 -05:00
Jan Steinke
a7f88bb583
use RelPermalink for i18n menu ( #353 )
2020-10-13 08:16:45 -04:00
Enguerran
f5cdf1f3a6
Update baseof template ( #348 )
...
* Update comments about internal templates
* Add missing meta description for SEO
* Add variable scoping to partial
See https://gohugo.io/templates/partials/#variable-scoping
2020-10-06 08:15:01 -04:00
Adam.S
5e250268bd
Fix + character being written as + ( #317 )
...
The existing template code results in the + chartering being written in a form that is not valid for the datetime element when used in and <time> tag.
This patch fixes this issue.
references:
https://discourse.gohugo.io/t/date-lastmod-return-43-in-place-of/27033
https://github.com/gohugoio/hugo/issues/7488
2020-07-20 09:43:05 -04:00
Sean
5001b28387
Add automatic cover image support ( #303 )
...
* 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
Zihang Ye
506175f56f
Add translation for taxonomy page ( #299 )
2020-06-17 18:31:05 -04:00
Tanner Smith
9171519154
Site logo ( #284 )
...
* Add the option to use a logo for the top left site title
2020-06-03 16:26:29 -05:00
Tanner Smith
9752a70c09
Add head partial ( #285 )
...
* Add head-additions partial
2020-06-03 16:01:01 -05:00
nickjwhite
4cf0842964
Use relative URL for favicon ( #251 )
...
This fixes sites which have the baseURL in a subdirectory.
Co-authored-by: Nick White <git@njw.name>
2020-06-03 10:17:41 -04:00
nickjwhite
cfbd40cd86
Fix relURL for custom_css ( #252 )
...
The way relURL was used meant that one needed to preface the custom_css
entries with a slash, or the href would be incorrectly set to
subdircss/mycss.css rather than subdir/css/mycss.css, in the case of
a baseURL in a subdir.
Co-authored-by: Nick White <git@njw.name>
2020-06-03 10:16:59 -04:00
sadah
0cb10e19cc
Fixed a typo in form-contact.html ( #266 )
2020-06-03 09:54:50 -04:00
Juan Manuel Servera
981e7a2cb2
Use | relLangURL for the base url in the site-navigation ( #277 )
...
* Use | relLangURL for the base urlº
This way, when you click on the header it maintains you in the same language you previously selected.
* Use .Site.Home.RelPermalink as proposed by @regisphilibert
2020-06-03 09:49:56 -04:00
Tanner Smith
624b79e7f6
RSS svg icon ( #282 )
...
* Add rss icon to social icons
* Revert unnecessary asset deployment
2020-06-01 15:51:41 -04:00
Sandro Santilli
2d6a91d48a
Replace another 2 .URL occurrences with .Permalink ( #275 )
...
* Replace another 2 .URL occurrences with .Permalink
This is basically a completion of #216
* Revert site-navigation URL change
2020-05-12 08:36:33 -04:00
Tanner Smith
252a11baa7
Swap the page title and site title in page <title> elements ( #272 )
2020-04-28 12:53:57 -04:00
Tanner Smith
c289a90c13
Add the post_content_classes param for changing post content font ( #260 )
2020-02-18 10:23:11 +01:00
mountainbug95
c480ef1851
Clean up social link generation
2020-02-05 18:01:33 -06:00
mountainbug95
2cf4d180fa
Refactor social share buttons config
2020-02-05 11:30:00 -06:00
mountainbug95
2e7e343ce2
Add social media share buttons to the post layout
2020-02-05 10:25:46 -06:00
Regis Philibert
925262ebbd
Ignore comments on reader
2020-02-05 09:39:28 -05:00
mountainbug95
acf3e2b0a6
Fix posts to allow content to be displayed in safari reader view
2020-02-04 17:09:00 -06:00
Dan Corin
878bb9bf43
Add Keybase social icon ( #248 )
...
* Add Keybase social icon
* Fix typo
2020-01-26 14:37:04 -05:00
Jesus Galvan
505b255923
Add StackOverflow social ( #243 )
2020-01-09 22:10:47 -05:00
frankieliu
813de5ccd6
Fix to take care of multiple author list, or for setting the ( #221 )
...
author parameter to a []string, which is the default for ox-hugo
output.
2020-01-05 15:16:57 -05:00
Jace Browning
2ee56e694c
Fix Slack icon size ( #237 )
2020-01-05 15:15:48 -05:00
Giacomo Tenaglia
f10f4d4165
Use Hugo's built in Site Config for copyright according to PR #199 ( #240 )
2019-12-30 12:36:11 -05:00
Jace Browning
37c462b088
Add Slack to social options ( #236 )
2019-11-15 14:13:07 -05:00
Bud Parr
77622f4e52
Fix URL for menus ( #230 )
...
Reverts 0d9656d939 (diff-5c3a1b4da16de002912dd90a78641f32R12)
Fixes #229
2019-10-27 18:28:52 -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
Robin van Boven
7cb108bd54
Adds an author to blog posts. ( #209 )
...
* Adds an author to blog posts.
See #113
* Feedback #209 , fully contain author in {{with}}
Co-authored-by: Bud Parr <budparr@gmail.com>
2019-09-30 09:34:06 -04:00
Jesse
287b3ff5e9
Fixes #212 . ( #213 )
2019-09-28 08:49:03 -04:00
Jorge Martínez López
c474ce0c66
Deprecation messages fixes. ( #196 )
...
* Fixes #180 .
* Trying to fix .RSSLink deprecation message.
2019-09-15 15:12:51 -04:00
Christian Oliff
79f418c185
Remove Google News meta tags ( #197 )
...
These have been deprecated by Google
2019-09-02 12:42:56 -04:00
Christian Oliff
8124777a18
remove deprecated meta tags for old Windows Mobile and BlackBerry ( #191 )
2019-08-10 09:25:22 -04:00
Marco
a1500631c4
localization for form-contact shortcode ( #185 )
2019-08-10 09:18:38 -04:00
Kirill K
a460bf8838
Add commento ( #178 )
...
* feat: add commento block
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
* fix: use params section in config example
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
* fix: use defer to execute script after page load
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
2019-06-09 15:46:06 -04:00
echarp
0eb51edd63
Correcting issue with cached i18n menu ( #174 )
...
* Create fr.toml
French translation
* Social link to "mastodon" added
* Some statics partials are cached, to optimise rendering
* Caching moved so that the i18n menu will work as expected. Refs #35
2019-05-14 20:32:08 -04:00
Konrad Kleine
e956994e13
Fix TOC header ( #168 )
...
In English, the translation that is supposed to be shown on top of the table of contents looks like this:
```toml
[whatsInThis]
other = "What's in this {{.Type }}"
```
When it is invoked, there are two mistakes: `{{ i18n "whatsInThis" humanize .Type }}`.
The first mistake is that you cannot call `humanize` in this context. The more severe one is that if you remove `humanize` it will pass the `.Type` directly to the i18n and that tries to extract `.Type` from it.
2019-03-26 16:45:46 -04:00
echarp
175482653c
Optimisation "partialCached" ( #165 )
...
* Create fr.toml
French translation
* Social link to "mastodon" added
* Some statics partials are cached, to optimise rendering
2019-03-21 19:13:18 -04:00
echarp
8b348e6aad
Add a link to "mastodon" ( #159 )
...
* Create fr.toml
French translation
* Social link to "mastodon" added
2019-03-04 17:25:39 -05: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
Sean Harger
e418548683
Support hiding the featured image header text. ( #155 )
...
I updated the documentaiton as well as changed the contact page in the
exampleSite to use this feature as a demo.
2019-02-10 22:47:28 -05:00