Commit graph

168 commits

Author SHA1 Message Date
Regis Philibert
a98a70782c
Enable/Disable Social follow/share per service ()
* This allows user to set `follow: false` on a service to see it removed from the list of socials throughout.

Fixes 

* Update README
2022-05-06 11:26:54 -04:00
Regis Philibert
c49009b823 Only add html[dir] attr if languageDirection is explicitly set 2022-04-21 14:23:44 -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
Charles Brunet
5520ed119f
use time.Format to format dates. It allows dates to be localized. ()
* 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
Regis Philibert
751ac93c1b
Upgrade "minVersion" of theme to 84 ()
* Upgrade "minVersion" of theme to 84

Check hugo.IsExtended before trying to process scss files

Fixes 
2022-04-21 11:48:54 -04:00
Regis Philibert
8915e56e6e
Localize "By" ()
* Localize "By" for some languages (En/De/Es/Fr/It/Pt/No) and wrap string in a dedicated template.

Fixes 
2022-04-07 13:34:56 -04:00
Regis Philibert
c3f177ebd4
Remove Section mention from single/page ()
Fixes 
2022-03-21 13:36:15 -04:00
Robert
0e73c5b18c
Change section name to section title in summary ()
* Change section name to section title

Mimics functionality in page.html. Fix 

* Keep title as specified

* Include span in conditional
2022-02-28 11:00:00 -05:00
Regis Philibert
d4e5a698a8 Update exampleSite 2022-02-11 14:54:39 -05:00
Regis Philibert
ca04e6b567 Revert 36c029abb9 2022-02-11 14:51:50 -05:00
Regis Philibert
87f97e55bb Allow certain pages to not be indexed by SE
Fixes 
2022-02-02 13:42:05 -05:00
Troy Lindsay
5de8db332c
Fix support for img width () ()
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2022-02-02 12:51:43 -05:00
Jack
6045d7891c
433 fix tags layout ()
* Added tags class to tags list

* display tags inline

* Added di class to list

* Removed tags class
2022-02-02 11:45:48 -05:00
Jack Jackson
f6329f3e37
Use i18n string for taxonomy layout ()
This allows for overriding of the string (without overriding the whole
layout), such as
[here](23240c3367)
2022-02-02 11:05:42 -05:00
Regis Philibert
baaf9476db Remove template tags from socials SVGs
Fixes 
2022-02-02 10:15:01 -05:00
Regis Philibert
8cd36f504e
Use .Render for summary and summary-with-image throughout () 2022-01-19 11:24:13 -05:00
Regis Philibert
d644dfbe42 User summary template file for taxonomy.html
Fixes 
2022-01-18 16:13:14 -05:00
Troy Lindsay
36c029abb9
Fix support for site config featured image () ()
* Unintentionally caused by 
2022-01-12 12:16:02 -05:00
Troy Lindsay
3789b8edae
Standardize featured_image logic () () 2022-01-10 15:24:14 -05:00
Regis Philibert
57e38aad38
Make disable_share settings on both page and site level ()
Fixes 
2021-12-23 16:50:08 -05:00
Regis Philibert
3592ce1c03 Re-introducing site-scripts partial for user to overwrite
Fixes 
2021-12-23 16:33:51 -05:00
Regis Philibert
73a363ca52
Fix _styles.css bad reference in GetMainCSS ()
Fixes 
2021-12-23 16:02:15 -05:00
Regis Philibert
1f11fbe012
Featured image detection refactoring: ()
We look for .Params.featured_image
If found > we use that as URL
If we find a Page resource matching the value of the above, we use its .RelPermalink
If none of the above we look for an resource whose filepath contains `featured` or `cover` and use its .RelPermalink if found

Fixes 
Fixes 
2021-12-23 15:45:27 -05:00
Tanner Smith
3b30dfbac3
Add option to change content font color ()
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-12-23 15:01:14 -05:00
Regis Philibert
f078a2b4d9 Fixes
Fixes 
2021-12-23 14:52:38 -05:00
Regis Philibert
c7b9901e01
Refactor social service logic and UX ()
* Start of work

* Refactor social service logic

Update README

Fixes 

* Add URL to contributors instuctions

* Add tiktok
2021-12-02 15:22:18 -05:00
Joel S Aufrecht
3710f7e92a
added tiktok to available social media links () 2021-11-16 09:15:28 -05:00
Lars Kruse
b0bf3ccca1
Allow override of date format ()
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
Marco Kinski
775277039e
i18n made WordCount and ReadingTime singular/plural aware ()
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 () 2021-10-01 13:20:46 -04:00
Ian Anderson
1ae24ada38
Only print article date if it is non-zero () 2021-10-01 13:14:07 -04:00
diamon
597a631988
add default author () 2021-10-01 13:11:40 -04:00
Jan Steinke
e3f7fbe39d
enable hosting the website also on other domains () 2021-07-14 09:29:08 -04:00
Regis Philibert
6a8f9511aa Fix resource transformation
Fixes 
2021-06-17 09:21:34 -04:00
Regis Philibert
6eb54ab5fd
Refactor styling to drop PostCSS ()
Update custom_css logic (ensure retrocompat)

Fixes 
2021-06-15 09:58:27 -04:00
zar3bski
8845854aa9
fix : production should Allow and point to Sitemap () 2021-03-09 15:40:16 -05:00
Regis Philibert
ffd9d903c9
Add optional processing of styles with Hugo Pipes ()
* 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 () 2020-10-13 08:16:45 -04:00
Enguerran
f5cdf1f3a6
Update baseof template ()
* 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 &#43; ()
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 ()
* 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 () 2020-06-17 18:31:05 -04:00
Tanner Smith
9171519154
Site logo ()
* 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 ()
* Add head-additions partial
2020-06-03 16:01:01 -05:00
nickjwhite
4cf0842964
Use relative URL for favicon ()
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 ()
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 () 2020-06-03 09:54:50 -04:00
Juan Manuel Servera
981e7a2cb2
Use | relLangURL for the base url in the site-navigation ()
* 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 ()
* 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 ()
* Replace another 2 .URL occurrences with .Permalink

This is basically a completion of 

* Revert site-navigation URL change
2020-05-12 08:36:33 -04:00