288 Commits

Author SHA1 Message Date
John Pursey
a70c2a11f3 Add tachyons-style class overrides for layouts
This change adds overrides for text scale, color, alignment, and padding
in all layouts. This can be configured in site or page parameters, and
can target the default for all layouts (mostly useful for scale and
color), or for a specific layout (home, post, list, page, or terms).

The parameters are named in the following way: <type>_<style>:
- default_scale: Defines default scale for content (aka f5)
- default_color: Defines default color for content (aka mid-gray)
- default_padding: Defines default padding for content (aka ph*/pv*)
- default_align: Defines default alignment for content (aka tc/tj)

This can be overridden for "home", "post", "list", "page", or "terms" by
using instead of "default". If a type-specific style is not specified,
then it will fall back on "default", and if default is not specified, it
will fall back on the Ananke theme default.

Of course, theme users may put whatever classes they want in these
settings, but it still is valuable to specify what will be overridden
from the theme.
2021-12-12 10:15:24 -08: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
v2.8.0
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 v2.7.0 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) v2.6.8 v2.6.9 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) 2.6.9 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) 2.6.8 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
v2.6.7
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
v2.6.6
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
v2.6.5
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
2.6.4 v2.6.4
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>
v2.6.3
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 v2.6.2 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
v2.6.1
2020-06-25 13:30:47 -04:00
Melvin Salas
a011f40c0b
Update spanish translations (#304) v2.6.0 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) 2.6.0 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
Tanner Smith
29972c2fd7
Long urls or links extend beyond content and overlap sidebar (#259)
* Add an overflow-wrap to all links
2020-06-03 14:03:32 -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
foxbg
b2ac90385a
adding Bulgarian translation (#267) 2020-06-03 09:52:30 -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
Eric St-Georges
8a27cda7f0
Updated Windows instructions in README.md (#276) 2020-05-20 08:52:55 -04:00