Commit graph

392 commits

Author SHA1 Message Date
Eric Pereira
bcaa83b7ad Add portuguese translation () 2019-06-17 14:38:56 -04:00
Kirill K
a460bf8838 Add commento ()
* 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
Kirill K
0e3fd736c7 feat: add RU translation ()
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
2019-06-08 08:55:36 -04:00
Óscar Nájera
ce82149583 Spanish Translation () 2019-06-01 18:43:16 -04:00
Johan Vervloet
0cc2c6cb62 Dutch translations. () 2019-05-14 20:32:36 -04:00
echarp
0eb51edd63 Correcting issue with cached i18n menu ()
* 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 
2019-05-14 20:32:08 -04:00
lagagain
389e12c252 Create zh.toml () 2019-05-04 14:33:22 -04:00
budparr
c195c12d7d
Remove JQuery dependency
This dependency is not actually used and was causing security violations
2019-04-26 10:50:02 -04:00
budparr
c2cbc831f8
Add blockquote styling
Fixes 
2019-04-26 10:46:37 -04:00
Konrad Kleine
e956994e13 Fix TOC header ()
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" ()
* 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" ()
* Create fr.toml

French translation

* Social link to "mastodon" added
2019-03-04 17:25:39 -05:00
Bud Parr
e07ddccf1f
Add multilingual tag for the themes directory 2019-02-23 14:03:13 -05:00
echarp
3505954eb6 Create fr.toml ()
French translation
2019-02-23 14:01:31 -05:00
Bud Parr
351865dd8b
Add i18n support to list of features 2019-02-23 08:38:39 -05:00
Jan Steinke
76e4b7174a add i18n translation support ()
* 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. ()
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
Andreas Caravella
75d661632a enable localization/modification of "Recent" string () 2019-02-04 11:04:39 -05:00
Jan Steinke
85d9218877 add basic support for post translations () 2019-01-07 19:51:26 -05:00
Bud Parr
4eacddaea3
Keep article padding throughout widths ()
Fixes 
2019-01-07 19:48:55 -05:00
budparr
ad2d643966
Merge branch 'master' of https://github.com/budparr/gohugo-theme-ananke
* 'master' of https://github.com/budparr/gohugo-theme-ananke:
  Improve semantic structure of pages ()
2019-01-07 19:42:33 -05:00
budparr
c12876ddb4
Update readme for formspree change
Fixes 
2019-01-07 19:42:29 -05:00
Bud Parr
6c05a67995
Improve semantic structure of pages ()
Fixes 
2019-01-07 19:41:02 -05:00
Bud Parr
3e1e728712
Update CHANGELOG.md 2018-12-26 11:17:56 -05:00
Bud Parr
50d15478b3
Improve social link accessibility ()
Keep in spirit with https://medium.com/@svinkle/why-let-someone-know-when-a-link-opens-a-new-window-8699d20ed3b1 but address issue 
2018-12-26 11:16:03 -05:00
budparr
a99f95ef1f
Update dependencies
Remove unnecessary/duplicative yarn package lock file
2018-12-26 11:00:43 -05:00
Carlos Roso
e1745a9f44 Add explicit path to image example () 2018-12-26 10:43:27 -05:00
Hannah Henderson
04a27b7ed9 Open social media links in new tab and add Medium icon ()
* Open social media in new tab and add Medium

svg file pulled from Medium post on their logos
and brand guides dated Aug 22, 2017

https://medium.design/logos-and-brand-guidelines-f1a01a733592

* Add new-window accessibility icon for social media icons

Visible on-hover of link-transition class, this PR also
adds a description to the social media icons indicating that
they will open in a new window.

This way, users will be able to see and hear (via a reader)
when a tab will open in a new window.

This approach is based on the one outlined here:
https://medium.com/@svinkle/why-let-someone-know-when-a-link-opens-a-new-window-8699d20ed3b1
2018-11-27 18:44:27 -05:00
Andrey Romancev
cd09f253f6 Make cover dimming class customisable. () 2018-11-14 16:02:29 -05:00
budparr
a57189d85f
Add global background color class to footer
(it's already on the header). Fixes 
2018-11-04 14:14:24 -05:00
budparr
f300f17d3c
Tweak changelog wording 2018-11-03 23:47:51 -04:00
budparr
ea219198c4
Update Readme to include reading time 2018-11-03 23:47:09 -04:00
budparr
01d1cff7d4
Update changelog 2018-11-03 23:42:19 -04:00
budparr
fd22513cf1
Add optional reading time/word count indication
via PR  @looer

Added config variable so this doesn't show up

Show "reading time" and "word count" but only if one of the following are true:
1) A global config `params` value is set `show_reading_time = true`
 2) A section front matter value is set `show_reading_time = true`
3) A page front matter value is set `show_reading_time = true`
2018-11-03 23:40:51 -04:00
budparr
329facc53e
Update changelog 2018-11-03 23:12:26 -04:00
cdeguise
37bb3cc699 Removed hardcoded theme sample hero image. This will allow the user to "blank" out the hero default set in the config. The if statement for blank was unreachable. () 2018-11-03 23:09:03 -04:00
budparr
393db96bea
Add changelog 2018-11-03 23:01:30 -04:00
Daniele Ricci
1d79e2d477 Use relative url function for custom CSS files ()
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
2018-09-19 12:55:38 -04:00
Jordan Ferenz
6fe34fdd5e Add Gitlab to social icons ()
Gitlab is a popular Git repository manager using an opensource license.
This commit adds the Gitlab social icon.
2018-09-13 10:11:36 -04:00
Bud Parr
7a32e28d4b
Add div to wrap social icons ()
This applies the flexbox directive `justify-between` to the nav items, not the icons themselves.

Fixes 
2018-08-31 18:40:24 -04:00
budparr
8c1280c2a3
Fix article padding on mobile
Fixes 
2018-07-08 19:05:33 -04:00
Anthony Fok
89c26174a4 Fix asset paths when baseURL has sub-folder ()
See 
2018-05-17 16:54:40 -04:00
CCS
10b6b6be0f Add inheritance for social links. () 2018-05-17 13:03:21 -04:00
Bud Parr
a89a23cfc4
Add a comment about running in production
ref 
2018-05-14 15:16:43 -04:00
shawn
41727a62e2 Issue 98 ()
* Add custom_css parameter.

* Copy documentation from hugo-octopress.
2018-04-24 08:48:53 -04:00
budparr
6e5e6df161
Make asset paths absolute
Fixes 
2018-04-14 14:12:22 -04:00
Bud Parr
8b43f4662e
Replace Asset References with a data file instead of paths ()
* Add assets-webpack-plugin

Signed-off-by: budparr <budparr@gmail.com>

* Add generated Webpack Assets file

This file is generated by Webpack and writes the names of our hashed assets

Signed-off-by: budparr <budparr@gmail.com>

* Update stylesheet

Note sure why this was updated

Signed-off-by: budparr <budparr@gmail.com>

* Add CSS file from generated file

Replaces hardcoded path

Signed-off-by: budparr <budparr@gmail.com>
2018-04-10 18:35:56 -04:00
Bud Parr
1f3b6f5598
Pre-2.0 Enhancements ()
2.0 Enhancements

- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature 
- Add asset hashing to Webpack for performance
2018-04-09 12:33:10 -04:00
Den McHenry
d5b87cb15e Don't duplicate site title in home page TITLE tag ()
Let's say your `.Site.Title` is "My Website". The code grabs `.Site.Title`, and then then checks to see if there's a `.Title`. When you're on the homepage, `.Title` is equivalent to `.Site.Title`, so that the browser bar will read:

> My Website | My Website

If we qualify `.Title` by confining to the `.Params` namespace, then the site title isn't duplicated:

```<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>```

> My Website

But it still picks up `.Title` from posts and pages, where a content title exists in front matter:

> My Website | About Me
2018-01-15 20:26:37 -05:00
Russell Cohen
8b59adb79b Fix pagination () 2018-01-08 23:03:52 -05:00