Commit graph

305 commits

Author SHA1 Message Date
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
Troy Lindsay
523c771661
Update about page bundle branch -> leaf () () 2022-01-19 11:32:32 -05:00
Thomas Hammer
f21b2e7a65
Add German translation for taxonomyPageList ()
The phrase was only present in English.
2022-01-19 11:30:43 -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
Troy Lindsay
fc9b2352db
Update compiled main.css resource () () 2022-01-10 15:20:14 -05:00
Zihang Ye
b235e81a82
Fix zh* translation () 2022-01-10 15:14:56 -05:00
Troy Lindsay
7a2bd22e1b
Ignore Hugo build lock file () () 2022-01-10 09:14:57 -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
funcsec
d7d0048952
Remove template language from social svg files ()
Causes issues browser issues
Unexpected value {{ . }} parsing height attribute.

Co-authored-by: funcsec <github@fsec.xyz>
2021-12-23 08:42:33 -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
Joe Mooring
24dcf32ffd
Base content title on ContentBaseName ()
With Hugo v0.88.1 and earlier, ContentBaseName and TranslationBaseName
both returned "index" when creating a leaf bundle with hugo new. This is
a known bug, addressed with https://github.com/gohugoio/hugo/pull/9045.

With this PR:

  hugo new post/my-first-post/index.md

will produce:

  title: "My First Post"

instead of:

  title: "Index"
2021-12-02 14:51:01 -05:00
Joel S Aufrecht
3710f7e92a
added tiktok to available social media links () 2021-11-16 09:15:28 -05:00
Regis Philibert
869b03ea78 Add fr readingTime localization 2021-10-01 13:56:55 -04: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
Neeraj
988c731a57
Translate for Hindi and add to i18n () 2021-05-17 16:17:32 -04:00
zar3bski
8845854aa9
fix : production should Allow and point to Sitemap () 2021-03-09 15:40:16 -05:00
Jesse M. Holmes
db9acdd991
Improve README.md for new users ()
* Improve docs for new users

* Correct an ordered list error that I introduced
2021-02-03 10:08:22 -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
Adam Chlan
23c7cc6847
Basic example of multilingual ()
* Basic example of multilingual

* Add one post and the homepage

Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-01-11 16:42:48 -05:00
Zhangyuan Nie
7761676dee
Fix confusion in README.md ()
* Update README.md

* reword README
2021-01-05 09:27:07 -05:00
Zhangyuan Nie
cc963b323f
Add go.mod () 2021-01-04 15:18:36 -05:00
Regis Philibert
ce48112de2
Update README.md 2020-12-19 13:35:32 -05:00
Yağızhan
4492800a74
Create tr.toml () 2020-12-15 08:57:52 -05:00
Winux
056246eb62
Added Hungarian translation ()
I translated this theme for my website but I think it could be helpful to other people too
2020-10-28 09:27:49 -04:00
MineCola
fa022f2c64
Add zh-tw translation () 2020-10-20 12:46:41 -04: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
antonvasilev52
3c73243c1a
Typo 'recommended' ()
Corrected an orthographic  error in the heading
2020-09-21 12:30:51 -04:00
Lázaro Danillo Menezes
5124965276
Portuguese translation updates ()
* Update Portuguese translation to recentTitle

* Update taxonomyPageList Portuguse translation
2020-09-15 08:10:45 -04:00
Regis Philibert
af7976ea28 Update readme for usage as Hugo Module 2020-09-03 16:32:00 -04:00
uonick
03fd7d9da0
Update ru.toml ()
Just fix translations
2020-08-24 09:19:11 -04:00
Marius
02ebad14b2
Add Norwegian Bokmål translation ()
* Add Norwegian translation

* Fixes a typo

Co-authored-by: Marius <marius-sol@pm.me>
2020-08-20 08:33:09 -04:00
Anim Mouse
d7b7d138c8
Update archetypes ()
* Update archetypes to YAML

* Remove deprecated metaDataFormat

* Add Newline at the end
2020-08-07 08:56:08 -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