Commit Graph

348 Commits

Author SHA1 Message Date
Troy Lindsay 3789b8edae
Standardize featured_image logic (#473) (#474) 2022-01-10 15:24:14 -05:00
Troy Lindsay fc9b2352db
Update compiled main.css resource (#484) (#485) 2022-01-10 15:20:14 -05:00
Zihang Ye b235e81a82
Fix zh* translation (#479) 2022-01-10 15:14:56 -05:00
Troy Lindsay 7a2bd22e1b
Ignore Hugo build lock file (#482) (#483) 2022-01-10 09:14:57 -05:00
Regis Philibert 57e38aad38
Make `disable_share` settings on both page and site level (#465)
Fixes #438
2021-12-23 16:50:08 -05:00
Regis Philibert 3592ce1c03 Re-introducing site-scripts partial for user to overwrite
Fixes #464
2021-12-23 16:33:51 -05:00
Regis Philibert 73a363ca52
Fix `_styles.css` bad reference in GetMainCSS (#463)
Fixes #459
2021-12-23 16:02:15 -05:00
Regis Philibert 1f11fbe012
Featured image detection refactoring: (#462)
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 #233
Fixes #407
2021-12-23 15:45:27 -05:00
Tanner Smith 3b30dfbac3
Add option to change content font color (#286)
Co-authored-by: Regis Philibert <login@regisphilibert.com>
2021-12-23 15:01:14 -05:00
Regis Philibert f078a2b4d9 Fixes #332
Fixes #333
2021-12-23 14:52:38 -05:00
funcsec d7d0048952
Remove template language from social svg files (#461)
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 (#425)
* Start of work

* Refactor social service logic

Update README

Fixes #422

* Add URL to contributors instuctions

* Add tiktok
2021-12-02 15:22:18 -05:00
Joe Mooring 24dcf32ffd
Base content title on ContentBaseName (#440)
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 (#444) 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 (#291)
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 (#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
Neeraj 988c731a57
Translate for Hindi and add to i18n (#411) 2021-05-17 16:17:32 -04:00
zar3bski 8845854aa9
fix : production should Allow and point to Sitemap (#404) 2021-03-09 15:40:16 -05:00
Jesse M. Holmes db9acdd991
Improve README.md for new users (#394)
* 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 (#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
Adam Chlan 23c7cc6847
Basic example of multilingual (#386)
* 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 (#359)
* Update README.md

* reword README
2021-01-05 09:27:07 -05:00
Zhangyuan Nie cc963b323f
Add go.mod (#357) 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 (#371) 2020-12-15 08:57:52 -05:00
Winux 056246eb62
Added Hungarian translation (#361)
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 (#356) 2020-10-20 12:46:41 -04: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
antonvasilev52 3c73243c1a
Typo 'recommended' (#347)
Corrected an orthographic  error in the heading
2020-09-21 12:30:51 -04:00
Lázaro Danillo Menezes 5124965276
Portuguese translation updates (#345)
* 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 (#331)
Just fix translations
2020-08-24 09:19:11 -04:00
Marius 02ebad14b2
Add Norwegian Bokmål translation (#330)
* 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 (#305)
* 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; (#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
budparr b4f40ded77
Update package.json to match release 2020-06-25 14:20:09 -04:00
budparr 4d61407835
Update version 2020-06-25 13:56:07 -04:00
Regis Philibert b6bbb16f13 Update theme.toml with new org 2020-06-25 13:51:45 -04:00
Regis Philibert df4c78adb2
Updated minimum theme to .55
See https://github.com/budparr/gohugo-theme-ananke/issues/306
2020-06-25 13:30:47 -04:00
Melvin Salas a011f40c0b
Update spanish translations (#304) 2020-06-23 13:37:21 -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