Commit graph

202 commits

Author SHA1 Message Date
Jesse 287b3ff5e9 Fixes #212. (#213) 2019-09-28 08:49:03 -04:00
Jorge Martínez López c474ce0c66 Deprecation messages fixes. (#196)
* Fixes #180.

* Trying to fix .RSSLink deprecation message.
2019-09-15 15:12:51 -04:00
Christian Oliff 79f418c185 Remove Google News meta tags (#197)
These have been deprecated by Google
2019-09-02 12:42:56 -04:00
Christian Oliff 8124777a18 remove deprecated meta tags for old Windows Mobile and BlackBerry (#191) 2019-08-10 09:25:22 -04:00
Marco a1500631c4 localization for form-contact shortcode (#185) 2019-08-10 09:18:38 -04:00
Kirill K a460bf8838 Add commento (#178)
* 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
echarp 0eb51edd63 Correcting issue with cached i18n menu (#174)
* 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 #35
2019-05-14 20:32:08 -04:00
Konrad Kleine e956994e13 Fix TOC header (#168)
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" (#165)
* 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" (#159)
* Create fr.toml

French translation

* Social link to "mastodon" added
2019-03-04 17:25:39 -05:00
Jan Steinke 76e4b7174a add i18n translation support (#156)
* 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. (#155)
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 (#154) 2019-02-04 11:04:39 -05:00
Jan Steinke 85d9218877 add basic support for post translations (#144) 2019-01-07 19:51:26 -05:00
Bud Parr 4eacddaea3
Keep article padding throughout widths (#152)
Fixes #130
2019-01-07 19:48:55 -05:00
Bud Parr 6c05a67995
Improve semantic structure of pages (#151)
Fixes #149
2019-01-07 19:41:02 -05:00
Bud Parr 50d15478b3
Improve social link accessibility (#147)
Keep in spirit with https://medium.com/@svinkle/why-let-someone-know-when-a-link-opens-a-new-window-8699d20ed3b1 but address issue #145
2018-12-26 11:16:03 -05:00
Hannah Henderson 04a27b7ed9 Open social media links in new tab and add Medium icon (#143)
* 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. (#140) 2018-11-14 16:02:29 -05:00
budparr a57189d85f
Add global background color class to footer
(it's already on the header). Fixes #135
2018-11-04 14:14:24 -05:00
budparr fd22513cf1
Add optional reading time/word count indication
via PR #134 @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
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. (#133) 2018-11-03 23:09:03 -04:00
Daniele Ricci 1d79e2d477 Use relative url function for custom CSS files (#132)
Signed-off-by: Daniele Ricci <daniele@casaricci.it>
2018-09-19 12:55:38 -04:00
Jordan Ferenz 6fe34fdd5e Add Gitlab to social icons (#131)
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 (#128)
This applies the flexbox directive `justify-between` to the nav items, not the icons themselves.

Fixes #127
2018-08-31 18:40:24 -04:00
budparr 8c1280c2a3
Fix article padding on mobile
Fixes #115
2018-07-08 19:05:33 -04:00
Anthony Fok 89c26174a4 Fix asset paths when baseURL has sub-folder (#103)
See #97
2018-05-17 16:54:40 -04:00
CCS 10b6b6be0f Add inheritance for social links. (#107) 2018-05-17 13:03:21 -04:00
shawn 41727a62e2 Issue 98 (#101)
* Add custom_css parameter.

* Copy documentation from hugo-octopress.
2018-04-24 08:48:53 -04:00
budparr 6e5e6df161
Make asset paths absolute
Fixes #97
2018-04-14 14:12:22 -04:00
Bud Parr 8b43f4662e
Replace Asset References with a data file instead of paths (#96)
* 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 (#94)
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 (#78)
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 (#76) 2018-01-08 23:03:52 -05:00
budparr ff25b71173
Fix linkedin icon to match the other social icons
Fixes #70
2017-11-06 17:44:30 -05:00
Developer Davo f9b62a2645 #68|Parmeterize number of recent posts in index.html (#69)
* Parmeterize number of recent posts in index.html

* Replace .Site.Params.recent_posts_number with $.Param "recent_posts_number" in index.html
2017-11-01 11:08:19 -04:00
Developer Davo 2a1495aaa5 Fix typo in single.html (#67) 2017-10-31 08:30:32 -04:00
budparr afd2735066
Be smarter about linking to posts on home page.
Fixes #50

Hugo's `.Summary` did not behave as I expected it to, not stripping out
HTML, so I removed the anchor block from around the posts and moved the
links to the image, title and a read more button.
2017-10-16 12:56:21 -04:00
Adam Kaplan 1e37db6cef Favicons (#54)
* Adding support for favicon

* Fixing html tag
2017-09-27 07:52:26 -04:00
budparr be9acde3f4
Merge branch 'master' of https://github.com/budparr/gohugo-theme-ananke
* 'master' of https://github.com/budparr/gohugo-theme-ananke:
  indent fix (#45)
2017-09-26 12:00:34 -04:00
budparr 4d9dc08ee0
Fix spacing 2017-09-26 11:59:56 -04:00
budparr 1dd38282ab
Remove margin 2017-09-26 11:59:47 -04:00
alea12 c850d4f9f8 indent fix (#45) 2017-09-26 11:55:13 -04:00
Brad Clark eb765fdbc8 Social icon updates (#51)
* add linkedin

* update github svg to fix spacing

* add colors from brandcolors.net
2017-09-26 11:51:01 -04:00
Brad Clark 293cedefc1 Add GitHub social icon (#48)
* add github social link

* add github css

* fix css error breaking rollover
2017-09-20 15:12:25 -04:00
Bud Parr a3dc1ac327 Add body_classes parameter to body
Fixes #43
2017-08-23 20:00:53 -04:00
Bjørn Erik Pedersen 7b5196ad18 Make Hero image work out-of-the box (#40)
* using Hero sample image in the theme's /static folder
* fall back to site config
* fall back to hard coded default if none set in page or site params
2017-07-23 08:36:54 -04:00
Bud Parr 6350c2fee6 Fixes #31 (#32) 2017-05-23 07:29:06 -04:00
Bud Parr ec0d6b4700 Bp/fix now function Fixes #29 (#30) 2017-05-15 22:12:36 -04:00
Bud Parr 8f4c3b571d
use better class names 2017-05-02 08:16:53 -04:00
Bud Parr 00a797e9bd fix clunky construction on home page to get section name (#17) 2017-04-21 18:41:10 -04:00
Bud Parr 9543d90786
tweak hero default behavior 2017-04-20 08:18:43 -04:00
Bud Parr b0c7d8bd88
improve terms template 2017-04-19 20:00:11 -04:00
Bud Parr ee265de976
improve image handling for edge cases Fixes #11 2017-04-19 16:45:24 -04:00
Bud Parr 2806e91176
add image to theme dir and use for fallback 2017-04-18 23:27:06 -04:00
Bud Parr 8c101b4231
add a copy of the sample image to the theme 2017-04-18 23:20:19 -04:00
Bud Parr c48bf1f93b
remove hard-coded link + annotations 2017-04-18 22:55:01 -04:00
Bud Parr 5fc34b0a4e
remove silly tag h/t @jhabdas 2017-04-18 20:16:27 -04:00
Bud Parr 95af995e96
remove p tags from .Summary 2017-04-17 19:02:51 -04:00
Bud Parr 3e722a96d7
mind the dot! 2017-04-17 18:34:05 -04:00
Bud Parr 3b211400c4
fix issue count 2017-04-17 18:33:54 -04:00
Bud Parr 2fac73dfac
switch home page work with a variety of sections after earlier PR 2017-04-17 18:30:22 -04:00
Bud Parr 0fa68b2ac3
Merge branch 'where-section' of https://github.com/bep/gohugo-theme-ananke into bep-where-section 2017-04-17 18:27:03 -04:00
Bud Parr 8f2d0f2964
make form email comment make more sense. Ref #5 2017-04-17 18:24:38 -04:00
Bjørn Erik Pedersen a947472c6b Use Site.Params.mainSections to select pages on home page
This helps with theme portability.

Also use Site.RegularPages in its default sort, as this is probably what most people want.
2017-04-17 17:27:26 +02:00
Bud Parr 0756c5260e
use a cleaner way to include language code 2017-04-17 10:54:58 -04:00
Bud Parr 7f7c87a567
fix aria in form 2017-04-17 09:05:48 -04:00
Bud Parr 1871755a89
add Hugo RSS Link 2017-04-17 09:05:36 -04:00
Bud Parr 3951d65c61
add taxonomy templates 2017-04-16 10:40:53 -04:00
Bud Parr afa7a9d29a
add variaable for header bg class 2017-04-15 20:14:13 -04:00
Bud Parr 740aaebed3
remove org from form to keep it simple 2017-04-15 20:08:50 -04:00
Bud Parr 5c53ef6e2f
improve robots to use site param 2017-04-15 12:31:22 -04:00
Bud Parr fa51177f05
add site params to env check in head 2017-04-15 10:12:59 -04:00
Bud Parr 05dfb5753d
add .Site.BaseURL to nav 2017-04-15 09:27:28 -04:00
Bud Parr 681e009eec
add copyright to footer 2017-04-15 09:25:13 -04:00
Bud Parr d8fd2457e9
add absURL to script 2017-04-15 09:11:42 -04:00
Bud Parr 9c269b8068
use a variable for icon size 2017-04-15 09:08:59 -04:00
Bud Parr 789d32ad81
remove unused variable in 404 2017-04-15 09:06:30 -04:00
Bud Parr 480ea34d22
improve conditional 2017-04-15 09:04:44 -04:00
Bud Parr ea887e9313
fix issues with featured image 2017-04-15 09:03:13 -04:00
Bud Parr 9a2b45e91f
add getenv 2017-04-14 23:46:58 -04:00
Bud Parr 1d05813c11
add some readme and annotations 2017-04-14 23:36:23 -04:00
Bud Parr f720177809
add some readme and annotations 2017-04-14 23:08:11 -04:00
Bud Parr 049a9e8d19
change article to post 2017-04-14 22:26:23 -04:00
Bud Parr 9e5401d0fa
change article to post 2017-04-14 22:23:18 -04:00
Bud Parr 4ced75d066
accessibility tweaks 2017-04-14 22:05:32 -04:00
Bud Parr 2dfd957296
clean up 2017-04-14 21:58:31 -04:00
Bud Parr 64909cea4e
fix for mobile 2017-04-14 18:57:40 -04:00
Bud Parr 052cf0cb57
wip address a few accessibility issues 2017-04-14 12:47:59 -04:00
Bud Parr 53df85690d
wip clean up and annotations 2017-04-14 12:37:12 -04:00
Bud Parr 3e49105331
wip home page layout 2017-04-13 23:23:15 -04:00
Bud Parr 6331805b90
clean up layouts 2017-04-13 23:01:23 -04:00
Bud Parr 1d810d7237
add absolute url to css 2017-04-12 11:49:39 -04:00
Bud Parr 426676fd3c
page layout [wip] 2017-04-11 22:22:06 -04:00
Bud Parr d098f46b07
on page wtyling [wip] 2017-04-11 18:59:14 -04:00
Bud Parr 568ccb7539
add internal template styling with pagination 2017-04-11 17:58:29 -04:00
Bud Parr a1e4b64910
fix heading for semantics 2017-04-11 10:44:43 -04:00
Bud Parr 664f5fc3f5
add pagination and first after examples wip 2017-04-11 09:13:12 -04:00
Bud Parr 91984fee72
tweak layouts 2017-04-11 08:53:11 -04:00
Bud Parr 77514eab9e
wip layout mobile 2017-04-10 23:48:09 -04:00
Bud Parr a10e94cd95
placeholder 2017-04-10 22:17:47 -04:00
Bud Parr 98bc281a57
first commit 2017-04-10 21:27:13 -04:00