Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||||
## [v2.5.6](https://github.com/budparr/gohugo-theme-ananke/compare/v2.5.5...v2.5.6) - 2019-12-30 | |||||
## [v2.6.1](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.6.0...v2.6.1) - 2020-06-25 | |||||
### Commits | |||||
- Updated minimum theme to .55 [`df4c78a`](https://github.com/theNewDynamic/gohugo-theme-ananke/commit/df4c78adb2ed004c3780f7a76254e9756dd024b5) | |||||
## [v2.6.0](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/2.6.0...v2.6.0) - 2020-06-23 | |||||
### Merged | |||||
- Update spanish translations [`#304`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/304) | |||||
- Add automatic cover image support [`#303`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/303) | |||||
## [2.6.0](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.5.5...2.6.0) - 2020-06-17 | |||||
### Merged | |||||
- Add translation for taxonomy page [`#299`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/299) | |||||
- Site logo [`#284`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/284) | |||||
- Add head partial [`#285`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/285) | |||||
- Long urls or links extend beyond content and overlap sidebar [`#259`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/259) | |||||
- Use relative URL for favicon [`#251`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/251) | |||||
- Fix relURL for custom_css [`#252`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/252) | |||||
- Fixed a typo in form-contact.html [`#266`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/266) | |||||
- adding Bulgarian translation [`#267`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/267) | |||||
- Use | relLangURL for the base url in the site-navigation [`#277`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/277) | |||||
- RSS svg icon [`#282`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/282) | |||||
- Updated Windows instructions in README.md [`#276`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/276) | |||||
- Replace another 2 .URL occurrences with .Permalink [`#275`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/275) | |||||
- Add alternative method for running prod to the readme [`#273`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/273) | |||||
- Swap the page title and site title in page <title> elements [`#272`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/272) | |||||
- Add the post_content_classes param for changing post content font [`#260`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/260) | |||||
- Add sharing links for the posts [`#255`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/255) | |||||
- Safari Reader View lacks content [`#254`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/254) | |||||
- Add Keybase social icon [`#248`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/248) | |||||
- Add StackOverflow social [`#243`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/243) | |||||
- Fix to take care of multiple author list, or for setting the [`#221`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/221) | |||||
- Fix Slack icon size [`#237`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/237) | |||||
- Correct the original translation [`#241`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/241) | |||||
## [v2.5.6](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.6.1...v2.5.6) - 2019-12-30 | |||||
### Merged | ### Merged | ||||
- Use Hugo's built in Site Config for copyright according to PR #199 [`#240`](https://github.com/budparr/gohugo-theme-ananke/pull/240) | |||||
- Add italian translation [`#239`](https://github.com/budparr/gohugo-theme-ananke/pull/239) | |||||
- Use Hugo's built in Site Config for copyright according to PR #199 [`#240`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/240) | |||||
- Add italian translation [`#239`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/239) | |||||
## [v2.5.5](https://github.com/budparr/gohugo-theme-ananke/compare/2.5.1...v2.5.5) - 2019-11-15 | |||||
## [v2.5.5](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/2.5.1...v2.5.5) - 2019-11-15 | |||||
### Merged | ### Merged | ||||
- Remove stray grave accent [`#231`](https://github.com/budparr/gohugo-theme-ananke/pull/231) | |||||
- Add Slack to social options [`#236`](https://github.com/budparr/gohugo-theme-ananke/pull/236) | |||||
- Fix URL for menus [`#230`](https://github.com/budparr/gohugo-theme-ananke/pull/230) | |||||
- Fix word count heading typo in README.md [`#222`](https://github.com/budparr/gohugo-theme-ananke/pull/222) | |||||
- Add auto-changelog [`#228`](https://github.com/budparr/gohugo-theme-ananke/pull/228) | |||||
- Fix stackbit issues [`#226`](https://github.com/budparr/gohugo-theme-ananke/pull/226) | |||||
- Add Stackbit Configuration [`#223`](https://github.com/budparr/gohugo-theme-ananke/pull/223) | |||||
- Replace {{ .URL }} with {{ .Permalink }} [`#216`](https://github.com/budparr/gohugo-theme-ananke/pull/216) | |||||
- Adds an author to blog posts. [`#209`](https://github.com/budparr/gohugo-theme-ananke/pull/209) | |||||
- Fixes #212. [`#213`](https://github.com/budparr/gohugo-theme-ananke/pull/213) | |||||
- Add ukrainian translation [`#214`](https://github.com/budparr/gohugo-theme-ananke/pull/214) | |||||
- Add swedish translation [`#208`](https://github.com/budparr/gohugo-theme-ananke/pull/208) | |||||
- Deprecation messages fixes. [`#196`](https://github.com/budparr/gohugo-theme-ananke/pull/196) | |||||
- Fix README instructions [`#204`](https://github.com/budparr/gohugo-theme-ananke/pull/204) | |||||
- Use git submodules [`#183`](https://github.com/budparr/gohugo-theme-ananke/pull/183) | |||||
- Remove Google News meta tags [`#197`](https://github.com/budparr/gohugo-theme-ananke/pull/197) | |||||
- Remove stray grave accent [`#231`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/231) | |||||
- Add Slack to social options [`#236`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/236) | |||||
- Fix URL for menus [`#230`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/230) | |||||
- Fix word count heading typo in README.md [`#222`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/222) | |||||
- Add auto-changelog [`#228`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/228) | |||||
- Fix stackbit issues [`#226`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/226) | |||||
- Add Stackbit Configuration [`#223`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/223) | |||||
- Replace {{ .URL }} with {{ .Permalink }} [`#216`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/216) | |||||
- Adds an author to blog posts. [`#209`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/209) | |||||
- Fixes #212. [`#213`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/213) | |||||
- Add ukrainian translation [`#214`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/214) | |||||
- Add swedish translation [`#208`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/208) | |||||
- Deprecation messages fixes. [`#196`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/196) | |||||
- Fix README instructions [`#204`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/204) | |||||
- Use git submodules [`#183`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/183) | |||||
- Remove Google News meta tags [`#197`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/197) | |||||
### Fixed | ### Fixed | ||||
- Fix URL for menus (#230) [`#229`](https://github.com/budparr/gohugo-theme-ananke/issues/229) | |||||
- Add auto-changelog (#228) [`#227`](https://github.com/budparr/gohugo-theme-ananke/issues/227) [`#227`](https://github.com/budparr/gohugo-theme-ananke/issues/227) | |||||
- Fix stackbit issues (#226) [`#224`](https://github.com/budparr/gohugo-theme-ananke/issues/224) | |||||
- Add Stackbit Configuration (#223) [`#200`](https://github.com/budparr/gohugo-theme-ananke/issues/200) | |||||
- Fixes #212. (#213) [`#212`](https://github.com/budparr/gohugo-theme-ananke/issues/212) | |||||
- Deprecation messages fixes. (#196) [`#180`](https://github.com/budparr/gohugo-theme-ananke/issues/180) | |||||
- Fix URL for menus (#230) [`#229`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/229) | |||||
- Add auto-changelog (#228) [`#227`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/227) [`#227`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/227) | |||||
- Fix stackbit issues (#226) [`#224`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/224) | |||||
- Add Stackbit Configuration (#223) [`#200`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/200) | |||||
- Fixes #212. (#213) [`#212`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/212) | |||||
- Deprecation messages fixes. (#196) [`#180`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/180) | |||||
## 2.5.1 - 2019-08-12 | ## 2.5.1 - 2019-08-12 | ||||
### Merged | ### Merged | ||||
- remove deprecated meta tags for old Windows Mobile and BlackBerry [`#191`](https://github.com/budparr/gohugo-theme-ananke/pull/191) | |||||
- localization for form-contact shortcode [`#185`](https://github.com/budparr/gohugo-theme-ananke/pull/185) | |||||
- Fix min_version [`#189`](https://github.com/budparr/gohugo-theme-ananke/pull/189) | |||||
- Add portuguese translation [`#179`](https://github.com/budparr/gohugo-theme-ananke/pull/179) | |||||
- Add commento [`#178`](https://github.com/budparr/gohugo-theme-ananke/pull/178) | |||||
- feat: add RU translation [`#177`](https://github.com/budparr/gohugo-theme-ananke/pull/177) | |||||
- Spanish Translation [`#175`](https://github.com/budparr/gohugo-theme-ananke/pull/175) | |||||
- Dutch translations. [`#171`](https://github.com/budparr/gohugo-theme-ananke/pull/171) | |||||
- Correcting issue with cached i18n menu [`#174`](https://github.com/budparr/gohugo-theme-ananke/pull/174) | |||||
- Create zh.toml [`#170`](https://github.com/budparr/gohugo-theme-ananke/pull/170) | |||||
- Fix TOC header [`#168`](https://github.com/budparr/gohugo-theme-ananke/pull/168) | |||||
- Optimisation "partialCached" [`#165`](https://github.com/budparr/gohugo-theme-ananke/pull/165) | |||||
- Add a link to "mastodon" [`#159`](https://github.com/budparr/gohugo-theme-ananke/pull/159) | |||||
- Create fr.toml [`#157`](https://github.com/budparr/gohugo-theme-ananke/pull/157) | |||||
- add i18n translation support [`#156`](https://github.com/budparr/gohugo-theme-ananke/pull/156) | |||||
- Support hiding the featured image header text. [`#155`](https://github.com/budparr/gohugo-theme-ananke/pull/155) | |||||
- enable localization/modification of "Recent" string [`#154`](https://github.com/budparr/gohugo-theme-ananke/pull/154) | |||||
- add basic support for post translations [`#144`](https://github.com/budparr/gohugo-theme-ananke/pull/144) | |||||
- Keep article padding throughout widths [`#152`](https://github.com/budparr/gohugo-theme-ananke/pull/152) | |||||
- Improve semantic structure of pages [`#151`](https://github.com/budparr/gohugo-theme-ananke/pull/151) | |||||
- Improve social link accessibility [`#147`](https://github.com/budparr/gohugo-theme-ananke/pull/147) | |||||
- Add explicit path to image example [`#146`](https://github.com/budparr/gohugo-theme-ananke/pull/146) | |||||
- Open social media links in new tab and add Medium icon [`#143`](https://github.com/budparr/gohugo-theme-ananke/pull/143) | |||||
- Make cover dimming class customisable. [`#140`](https://github.com/budparr/gohugo-theme-ananke/pull/140) | |||||
- 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`](https://github.com/budparr/gohugo-theme-ananke/pull/133) | |||||
- Use relative url function for custom CSS files [`#132`](https://github.com/budparr/gohugo-theme-ananke/pull/132) | |||||
- Add Gitlab to social icons [`#131`](https://github.com/budparr/gohugo-theme-ananke/pull/131) | |||||
- Add div to wrap social icons [`#128`](https://github.com/budparr/gohugo-theme-ananke/pull/128) | |||||
- Fix asset paths when baseURL has sub-folder [`#103`](https://github.com/budparr/gohugo-theme-ananke/pull/103) | |||||
- Add inheritance for social links. [`#107`](https://github.com/budparr/gohugo-theme-ananke/pull/107) | |||||
- Issue 98 [`#101`](https://github.com/budparr/gohugo-theme-ananke/pull/101) | |||||
- Replace Asset References with a data file instead of paths [`#96`](https://github.com/budparr/gohugo-theme-ananke/pull/96) | |||||
- Pre-2.0 Enhancements [`#94`](https://github.com/budparr/gohugo-theme-ananke/pull/94) | |||||
- Don't duplicate site title in home page TITLE tag [`#78`](https://github.com/budparr/gohugo-theme-ananke/pull/78) | |||||
- Fix pagination [`#76`](https://github.com/budparr/gohugo-theme-ananke/pull/76) | |||||
- #68|Parmeterize number of recent posts in index.html [`#69`](https://github.com/budparr/gohugo-theme-ananke/pull/69) | |||||
- Fix typo in single.html [`#67`](https://github.com/budparr/gohugo-theme-ananke/pull/67) | |||||
- Fixed line breaks in code (resolves budparr/gohugo-theme-ananke#56). [`#57`](https://github.com/budparr/gohugo-theme-ananke/pull/57) | |||||
- Favicons [`#54`](https://github.com/budparr/gohugo-theme-ananke/pull/54) | |||||
- indent fix [`#45`](https://github.com/budparr/gohugo-theme-ananke/pull/45) | |||||
- Social icon updates [`#51`](https://github.com/budparr/gohugo-theme-ananke/pull/51) | |||||
- Add GitHub social icon [`#48`](https://github.com/budparr/gohugo-theme-ananke/pull/48) | |||||
- Make Hero image work out-of-the box [`#40`](https://github.com/budparr/gohugo-theme-ananke/pull/40) | |||||
- Removed excess o in Facebook [`#34`](https://github.com/budparr/gohugo-theme-ananke/pull/34) | |||||
- Fixes #31 [`#32`](https://github.com/budparr/gohugo-theme-ananke/pull/32) | |||||
- Bp/fix now function Fixes #29 [`#30`](https://github.com/budparr/gohugo-theme-ananke/pull/30) | |||||
- fix clunky construction on home page to get section name [`#25`](https://github.com/budparr/gohugo-theme-ananke/pull/25) | |||||
- fix clunky construction on home page to get section name [`#24`](https://github.com/budparr/gohugo-theme-ananke/pull/24) | |||||
- fix clunky construction on home page to get section name [`#17`](https://github.com/budparr/gohugo-theme-ananke/pull/17) | |||||
- tweak hero default behavior [`#16`](https://github.com/budparr/gohugo-theme-ananke/pull/16) | |||||
- improve terms template [`#15`](https://github.com/budparr/gohugo-theme-ananke/pull/15) | |||||
- improve image handling for edge cases Fixes #11 [`#14`](https://github.com/budparr/gohugo-theme-ananke/pull/14) | |||||
- Improve featured image handling Ref #11 + minor homepage impvs [`#12`](https://github.com/budparr/gohugo-theme-ananke/pull/12) | |||||
- Dev changes [`#10`](https://github.com/budparr/gohugo-theme-ananke/pull/10) | |||||
- pull in dev changes [`#9`](https://github.com/budparr/gohugo-theme-ananke/pull/9) | |||||
- keeping things in order [`#8`](https://github.com/budparr/gohugo-theme-ananke/pull/8) | |||||
- Improve home page posts [`#7`](https://github.com/budparr/gohugo-theme-ananke/pull/7) | |||||
- make form email comment make more sense. Ref #5 [`#6`](https://github.com/budparr/gohugo-theme-ananke/pull/6) | |||||
- use a cleaner way to include language code [`#3`](https://github.com/budparr/gohugo-theme-ananke/pull/3) | |||||
- update from DEV [`#2`](https://github.com/budparr/gohugo-theme-ananke/pull/2) | |||||
- add taxonomy templates [`#1`](https://github.com/budparr/gohugo-theme-ananke/pull/1) | |||||
- remove deprecated meta tags for old Windows Mobile and BlackBerry [`#191`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/191) | |||||
- localization for form-contact shortcode [`#185`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/185) | |||||
- Fix min_version [`#189`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/189) | |||||
- Add portuguese translation [`#179`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/179) | |||||
- Add commento [`#178`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/178) | |||||
- feat: add RU translation [`#177`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/177) | |||||
- Spanish Translation [`#175`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/175) | |||||
- Dutch translations. [`#171`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/171) | |||||
- Correcting issue with cached i18n menu [`#174`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/174) | |||||
- Create zh.toml [`#170`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/170) | |||||
- Fix TOC header [`#168`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/168) | |||||
- Optimisation "partialCached" [`#165`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/165) | |||||
- Add a link to "mastodon" [`#159`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/159) | |||||
- Create fr.toml [`#157`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/157) | |||||
- add i18n translation support [`#156`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/156) | |||||
- Support hiding the featured image header text. [`#155`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/155) | |||||
- enable localization/modification of "Recent" string [`#154`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/154) | |||||
- add basic support for post translations [`#144`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/144) | |||||
- Keep article padding throughout widths [`#152`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/152) | |||||
- Improve semantic structure of pages [`#151`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/151) | |||||
- Improve social link accessibility [`#147`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/147) | |||||
- Add explicit path to image example [`#146`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/146) | |||||
- Open social media links in new tab and add Medium icon [`#143`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/143) | |||||
- Make cover dimming class customisable. [`#140`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/140) | |||||
- 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`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/133) | |||||
- Use relative url function for custom CSS files [`#132`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/132) | |||||
- Add Gitlab to social icons [`#131`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/131) | |||||
- Add div to wrap social icons [`#128`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/128) | |||||
- Fix asset paths when baseURL has sub-folder [`#103`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/103) | |||||
- Add inheritance for social links. [`#107`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/107) | |||||
- Issue 98 [`#101`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/101) | |||||
- Replace Asset References with a data file instead of paths [`#96`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/96) | |||||
- Pre-2.0 Enhancements [`#94`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/94) | |||||
- Don't duplicate site title in home page TITLE tag [`#78`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/78) | |||||
- Fix pagination [`#76`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/76) | |||||
- #68|Parmeterize number of recent posts in index.html [`#69`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/69) | |||||
- Fix typo in single.html [`#67`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/67) | |||||
- Fixed line breaks in code (resolves budparr/gohugo-theme-ananke#56). [`#57`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/57) | |||||
- Favicons [`#54`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/54) | |||||
- indent fix [`#45`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/45) | |||||
- Social icon updates [`#51`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/51) | |||||
- Add GitHub social icon [`#48`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/48) | |||||
- Make Hero image work out-of-the box [`#40`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/40) | |||||
- Removed excess o in Facebook [`#34`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/34) | |||||
- Fixes #31 [`#32`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/32) | |||||
- Bp/fix now function Fixes #29 [`#30`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/30) | |||||
- fix clunky construction on home page to get section name [`#25`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/25) | |||||
- fix clunky construction on home page to get section name [`#24`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/24) | |||||
- fix clunky construction on home page to get section name [`#17`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/17) | |||||
- tweak hero default behavior [`#16`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/16) | |||||
- improve terms template [`#15`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/15) | |||||
- improve image handling for edge cases Fixes #11 [`#14`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/14) | |||||
- Improve featured image handling Ref #11 + minor homepage impvs [`#12`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/12) | |||||
- Dev changes [`#10`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/10) | |||||
- pull in dev changes [`#9`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/9) | |||||
- keeping things in order [`#8`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/8) | |||||
- Improve home page posts [`#7`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/7) | |||||
- make form email comment make more sense. Ref #5 [`#6`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/6) | |||||
- use a cleaner way to include language code [`#3`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/3) | |||||
- update from DEV [`#2`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/2) | |||||
- add taxonomy templates [`#1`](https://github.com/theNewDynamic/gohugo-theme-ananke/pull/1) | |||||
### Fixed | ### Fixed | ||||
- Add blockquote styling [`#169`](https://github.com/budparr/gohugo-theme-ananke/issues/169) | |||||
- Keep article padding throughout widths (#152) [`#130`](https://github.com/budparr/gohugo-theme-ananke/issues/130) | |||||
- Update readme for formspree change [`#150`](https://github.com/budparr/gohugo-theme-ananke/issues/150) | |||||
- Improve semantic structure of pages (#151) [`#149`](https://github.com/budparr/gohugo-theme-ananke/issues/149) | |||||
- Add global background color class to footer [`#135`](https://github.com/budparr/gohugo-theme-ananke/issues/135) | |||||
- Add div to wrap social icons (#128) [`#127`](https://github.com/budparr/gohugo-theme-ananke/issues/127) | |||||
- Fix article padding on mobile [`#115`](https://github.com/budparr/gohugo-theme-ananke/issues/115) | |||||
- Make asset paths absolute [`#97`](https://github.com/budparr/gohugo-theme-ananke/issues/97) | |||||
- Fix linkedin icon to match the other social icons [`#70`](https://github.com/budparr/gohugo-theme-ananke/issues/70) | |||||
- Be smarter about linking to posts on home page. [`#50`](https://github.com/budparr/gohugo-theme-ananke/issues/50) | |||||
- Add body_classes parameter to body [`#43`](https://github.com/budparr/gohugo-theme-ananke/issues/43) | |||||
- Fixes #31 (#32) [`#31`](https://github.com/budparr/gohugo-theme-ananke/issues/31) | |||||
- Bp/fix now function Fixes #29 (#30) [`#29`](https://github.com/budparr/gohugo-theme-ananke/issues/29) | |||||
- Merge pull request #14 from budparr/dev [`#11`](https://github.com/budparr/gohugo-theme-ananke/issues/11) | |||||
- improve image handling for edge cases Fixes #11 [`#11`](https://github.com/budparr/gohugo-theme-ananke/issues/11) | |||||
- Add blockquote styling [`#169`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/169) | |||||
- Keep article padding throughout widths (#152) [`#130`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/130) | |||||
- Update readme for formspree change [`#150`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/150) | |||||
- Improve semantic structure of pages (#151) [`#149`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/149) | |||||
- Add global background color class to footer [`#135`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/135) | |||||
- Add div to wrap social icons (#128) [`#127`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/127) | |||||
- Fix article padding on mobile [`#115`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/115) | |||||
- Make asset paths absolute [`#97`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/97) | |||||
- Fix linkedin icon to match the other social icons [`#70`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/70) | |||||
- Be smarter about linking to posts on home page. [`#50`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/50) | |||||
- Add body_classes parameter to body [`#43`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/43) | |||||
- Fixes #31 (#32) [`#31`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/31) | |||||
- Bp/fix now function Fixes #29 (#30) [`#29`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/29) | |||||
- Merge pull request #14 from budparr/dev [`#11`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/11) | |||||
- improve image handling for edge cases Fixes #11 [`#11`](https://github.com/theNewDynamic/gohugo-theme-ananke/issues/11) |
## Installation | ## Installation | ||||
Inside the folder of your Hugo site run: | |||||
### As a Hugo Module (recommanded) | |||||
Simply add the repo to your theme option: | |||||
```yaml | |||||
theme: | |||||
- github.com/theNewDynamic/gohugo-theme-ananke | |||||
``` | |||||
### As Git Submodule | |||||
$ git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke | |||||
Inside the folder of your Hugo site run: | |||||
``` | |||||
$ git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke | |||||
``` | |||||
For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo. | For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo. | ||||
### The config file | ### The config file | ||||
Take a look inside the [`exampleSite`](https://github.com/budparr/gohugo-theme-ananke/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/budparr/gohugo-theme-ananke/blob/master/exampleSite/config.toml). To use it, copy the [`config.toml`](https://github.com/budparr/gohugo-theme-ananke/blob/master/exampleSite/config.toml) in the root folder of your Hugo site. Feel free to change the strings in this theme. | |||||
Take a look inside the [`exampleSite`](https://github.com/theNewDynamic/gohugo-theme-ananke/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/exampleSite/config.toml). To use it, copy the [`config.toml`](https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/exampleSite/config.toml) in the root folder of your Hugo site. Feel free to change the strings in this theme. | |||||
You may need to delete the line: `themesDir = "../.."` | You may need to delete the line: `themesDir = "../.."` | ||||
<body class="avenir bg-near-white"> | <body class="avenir bg-near-white"> | ||||
``` | ``` | ||||
note: The `body_classes` parameter will not change the font used in post content. To do this, you must use the `post_content_classes` parameter. | |||||
You can find a list of available typefaces [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_font-family.css). | You can find a list of available typefaces [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_font-family.css). | ||||
And a list of background colors [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_skins.css#L96). | And a list of background colors [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_skins.css#L96). | ||||
If you add a key of `show_reading_time` true to either the Config Params, a page or section's front matter, articles will show the reading time and word count. | If you add a key of `show_reading_time` true to either the Config Params, a page or section's front matter, articles will show the reading time and word count. | ||||
### Adding Scripts to the Page Head | |||||
Some scripts need to be added within the page head. To add your own scripts to the page head, simply insert them into the `head-additions.html` partial located in the `layouts/partials` folder. | |||||
### Logo | |||||
You can replace the title of your site in the top left corner of each page with your own logo. To do that put your own logo into the `static` directory of your website, and add the `site_logo` parameter to the site params in your config file. For example: | |||||
``` | |||||
[params] | |||||
site_logo = "img/logo.svg" | |||||
``` | |||||
### Nearly finished | ### Nearly finished | ||||
In order to see your site in action, run Hugo's built-in local server. | In order to see your site in action, run Hugo's built-in local server. | ||||
HUGO_ENV=production hugo | HUGO_ENV=production hugo | ||||
``` | ``` | ||||
Note: The above command will not work on Windows. If you are running a Windows OS, use the below command: | |||||
``` | |||||
set HUGO_ENV=production | |||||
hugo | |||||
``` | |||||
## Contributing | ## Contributing | ||||
If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/budparr/gohugo-theme-ananke/issues) to let me know. | |||||
If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/theNewDynamic/gohugo-theme-ananke/issues) to let me know. | |||||
TODO: | TODO: | ||||
- fix hard-coded link to [section](https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/index.html#L32) | |||||
- fix hard-coded link to [section](https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/layouts/index.html#L32) |
+++ | |||||
title = "{{ replace .TranslationBaseName "-" " " | title }}" | |||||
date = {{ .Date }} | |||||
tags = [] | |||||
featured_image = "" | |||||
description = "" | |||||
+++ | |||||
--- | |||||
title: "{{ replace .TranslationBaseName "-" " " | title }}" | |||||
date: {{ .Date }} | |||||
tags: [] | |||||
featured_image: "" | |||||
description: "" | |||||
--- |
{ | { | ||||
"app": { | "app": { | ||||
"js": "js/app.3fc0f988d21662902933.js", | "js": "js/app.3fc0f988d21662902933.js", | ||||
"css": "css/app.bc20b5435312ad8378d94eaeacc9cc6a.css" | |||||
"css": "css/app.4fc0b62e4b82c997bb0041217cd6b979.css" | |||||
} | } | ||||
} | } |
theme = "gohugo-theme-ananke" | theme = "gohugo-theme-ananke" | ||||
themesDir = "../.." | themesDir = "../.." | ||||
MetaDataFormat = "yaml" | |||||
DefaultContentLanguage = "en" | DefaultContentLanguage = "en" | ||||
SectionPagesMenu = "main" | SectionPagesMenu = "main" | ||||
Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number | Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number | ||||
[params] | [params] | ||||
favicon = "" | favicon = "" | ||||
site_logo = "" | |||||
description = "The last theme you'll ever need. Maybe." | description = "The last theme you'll ever need. Maybe." | ||||
facebook = "" | facebook = "" | ||||
twitter = "https://twitter.com/GoHugoIO" | twitter = "https://twitter.com/GoHugoIO" | ||||
slack = "" | slack = "" | ||||
stackoverflow = "" | stackoverflow = "" | ||||
strava = "" | strava = "" | ||||
rss = "" | |||||
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" | # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" | ||||
background_color_class = "bg-black" | background_color_class = "bg-black" | ||||
featured_image = "/images/gohugo-default-sample-hero-image.jpg" | featured_image = "/images/gohugo-default-sample-hero-image.jpg" | ||||
recent_posts_number = 2 | |||||
recent_posts_number = 2 |
featured_image: "/images/esmeralda.jpg" | featured_image: "/images/esmeralda.jpg" | ||||
tags: [] | tags: [] | ||||
title: "Chapter VI: Esmeralda" | title: "Chapter VI: Esmeralda" | ||||
disable_share: false | |||||
--- | --- | ||||
We are delighted to be able to inform the reader, that during the whole of | We are delighted to be able to inform the reader, that during the whole of | ||||
this scene, Gringoire and his piece had stood firm. His actors, spurred on | this scene, Gringoire and his piece had stood firm. His actors, spurred on |
[more] | |||||
other = "Още" | |||||
[allTitle] | |||||
other = "Всички {{.Title }}" | |||||
[recentTitle] | |||||
other = "Последни {{.Title }}" | |||||
[readMore] | |||||
other = "виж още" | |||||
[whatsInThis] | |||||
other = "Съдържание {{ .Type }}" | |||||
[related] | |||||
other = "Подобни" | |||||
[yourName] | |||||
other = "Вашето име" | |||||
[emailAddress] | |||||
other = "Адрес на елекронна поща" | |||||
[message] | |||||
other = "Съобщение" | |||||
[emailRequiredNote] | |||||
other = "Задължително е да предоставите адрес на електронна поща." | |||||
[send] | |||||
other = "Изпрати" | |||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "Senden" | other = "Senden" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "Send" | other = "Send" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
other = "Todos los {{.Title }}" | other = "Todos los {{.Title }}" | ||||
[recentTitle] | [recentTitle] | ||||
other = "{{.Title }} Recientes" | |||||
other = "{{.Title }} recientes" | |||||
[readMore] | [readMore] | ||||
other = "Leer más" | other = "Leer más" | ||||
[send] | [send] | ||||
other = "Enviar" | other = "Enviar" | ||||
[taxonomyPageList] | |||||
other = "A continuación encontrará las páginas asociadas a “{{ .Title }}”" |
[send] | [send] | ||||
other = "Envoyer" | other = "Envoyer" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "Invia" | other = "Invia" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "Stuur" | other = "Stuur" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[more] | |||||
other = "Mer" | |||||
[allTitle] | |||||
other = "Alle {{.Title }}" | |||||
[recentTitle] | |||||
other = "Nyeste {{.Title }}" | |||||
[readMore] | |||||
other = "Les mer" | |||||
[whatsInThis] | |||||
other = "Innhold av {{ .Type }}" | |||||
[related] | |||||
other = "Relaterte" | |||||
[yourName] | |||||
other = "Ditt navn" | |||||
[emailAddress] | |||||
other = "E-postadresse" | |||||
[message] | |||||
other = "beskjed" | |||||
[emailRequiredNote] | |||||
other = "E-postadresse er påkrevd" | |||||
[send] | |||||
other = "Sende" | |||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
other = "Todo o {{.Title }}" | other = "Todo o {{.Title }}" | ||||
[recentTitle] | [recentTitle] | ||||
other = "Recentes {{.Title }}" | |||||
other = "{{.Title }} Recentes" | |||||
[readMore] | [readMore] | ||||
other = "Leia mais" | other = "Leia mais" | ||||
[send] | [send] | ||||
other = "Enviar" | other = "Enviar" | ||||
[taxonomyPageList] | |||||
other = "Abaixo você encontrará as páginas que utilizam o termo de taxonomia “{{ .Title }}”" |
other = "Требуется адрес электронной почты." | other = "Требуется адрес электронной почты." | ||||
[send] | [send] | ||||
other = "трансмиссия" | |||||
other = "Отправить" | |||||
[taxonomyPageList] | |||||
other = "Ниже вы найдете страницы, на которых используется термин таксономии “{{ .Title }}”" |
[send] | [send] | ||||
other = "Skicka" | other = "Skicka" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "Надіслати" | other = "Надіслати" | ||||
[taxonomyPageList] | |||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”" |
[send] | [send] | ||||
other = "发送" | other = "发送" | ||||
[taxonomyPageList] | |||||
other = "标签为“{{ .Title }}”的页面如下" |
<meta charset="utf-8"> | <meta charset="utf-8"> | ||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||||
{{/* NOTE: the Site's title, and if there is a page title, that is set too */}} | {{/* NOTE: the Site's title, and if there is a page title, that is set too */}} | ||||
<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title> | |||||
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> | |||||
<meta name="viewport" content="width=device-width,minimum-scale=1"> | <meta name="viewport" content="width=device-width,minimum-scale=1"> | ||||
{{ hugo.Generator }} | {{ hugo.Generator }} | ||||
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} | {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} | ||||
{{ end }} | {{ end }} | ||||
{{ range .Site.Params.custom_css }} | {{ range .Site.Params.custom_css }} | ||||
<link rel="stylesheet" href="{{ relURL ($.Site.BaseURL) }}{{ . }}"> | |||||
<link rel="stylesheet" href="{{ relURL (.) }}"> | |||||
{{ end }} | {{ end }} | ||||
{{ block "favicon" . }} | {{ block "favicon" . }} | ||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} | ||||
{{ template "_internal/google_analytics_async.html" . }} | {{ template "_internal/google_analytics_async.html" . }} | ||||
{{ end }} | {{ end }} | ||||
{{ block "head" . }}{{ partial "head-additions.html" }}{{ end }} | |||||
</head> | </head> | ||||
<body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}"> | <body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}"> |
{{ define "main" }} | {{ define "main" }} | ||||
{{ $section := .Site.GetPage "section" .Section }} | {{ $section := .Site.GetPage "section" .Section }} | ||||
<article class="flex-l flex-wrap justify-between mw8 center ph3"> | <article class="flex-l flex-wrap justify-between mw8 center ph3"> | ||||
<header class="mt4 w-100"> | <header class="mt4 w-100"> | ||||
<p class="f6 b helvetica tracked"> | |||||
<aside class="instapaper_ignoref b helvetica tracked"> | |||||
{{/* | {{/* | ||||
CurrentSection allows us to use the section title instead of inferring from the folder. | CurrentSection allows us to use the section title instead of inferring from the folder. | ||||
https://gohugo.io/variables/page/#section-variables-and-methods | https://gohugo.io/variables/page/#section-variables-and-methods | ||||
*/}} | */}} | ||||
{{with .CurrentSection.Title }}{{. | upper }}{{end}} | {{with .CurrentSection.Title }}{{. | upper }}{{end}} | ||||
</p> | |||||
<h1 class="f1 athelas mb1"> | |||||
</aside> | |||||
{{ partial "social-share.html" . }} | |||||
<h1 class="f1 athelas mt3 mb1"> | |||||
{{- .Title -}} | {{- .Title -}} | ||||
</h1> | </h1> | ||||
{{ with .Params.author }} | {{ with .Params.author }} | ||||
</p> | </p> | ||||
{{ end }} | {{ end }} | ||||
{{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} | {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} | ||||
<time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}"> | |||||
<time class="f6 mv4 dib tracked" {{ printf `datetime="%s"` (.Date.Format "2006-01-02T15:04:05Z07:00") | safeHTMLAttr }}> | |||||
{{- .Date.Format "January 2, 2006" -}} | {{- .Date.Format "January 2, 2006" -}} | ||||
</time> | </time> | ||||
{{/* | {{/* | ||||
Show "reading time" and "word count" but only if one of the following are true: | 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` | 1) A global config `params` value is set `show_reading_time = true` | ||||
<span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span> | <span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span> | ||||
{{ end }} | {{ end }} | ||||
</header> | </header> | ||||
<section class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l"> | |||||
<div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l"> | |||||
{{- .Content -}} | {{- .Content -}} | ||||
{{- partial "tags.html" . -}} | {{- partial "tags.html" . -}} | ||||
<div class="mt6"> | |||||
<div class="mt6 instapaper_ignoref"> | |||||
{{ if .Site.DisqusShortname }} | {{ if .Site.DisqusShortname }} | ||||
{{ template "_internal/disqus.html" . }} | {{ template "_internal/disqus.html" . }} | ||||
{{ end }} | {{ end }} | ||||
{{- partial "commento.html" . -}} | {{- partial "commento.html" . -}} | ||||
{{ end }} | {{ end }} | ||||
</div> | </div> | ||||
</section> | |||||
</div> | |||||
<aside class="w-30-l mt6-l"> | <aside class="w-30-l mt6-l"> | ||||
{{- partial "menu-contextual.html" . -}} | {{- partial "menu-contextual.html" . -}} |
{{ define "main" }} | {{ define "main" }} | ||||
<article class="cf pa3 pa4-m pa4-l"> | <article class="cf pa3 pa4-m pa4-l"> | ||||
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img mid-gray"> | <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img mid-gray"> | ||||
<p>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p> | |||||
<p>{{i18n "taxonomyPageList" .}}</p> | |||||
</div> | </div> | ||||
</article> | </article> | ||||
<div class="mw8 center"> | <div class="mw8 center"> |
{{/* | |||||
GetFeaturedImage | |||||
This partial gets the url for featured image for a given page. | |||||
If a featured_image was set in the page's front matter, then that will be used. | |||||
If not set, this will search page resources to find an image that contains the word | |||||
"cover", and if found, returns the path to that resource. | |||||
If no featured_image was set, and there's no "cover" image in page resources, then | |||||
this partial returns an empty string (which evaluates to false). | |||||
@return Permalink to featured image, or an empty string if not found. | |||||
*/}} | |||||
{{/* Declare a new string variable, $linkToCover */}} | |||||
{{ $linkToCover := "" }} | |||||
{{/* Use the value from front matter if present */}} | |||||
{{ if .Params.featured_image }} | |||||
{{ $linkToCover = .Params.featured_image }} | |||||
{{/* Find the first image with 'cover' in the name in this page bundle. */}} | |||||
{{ else }} | |||||
{{ $img := (.Resources.ByType "image").GetMatch "*cover*" }} | |||||
{{ with $img }} | |||||
{{ $linkToCover = .Permalink }} | |||||
{{ end }} | |||||
{{ end }} | |||||
{{/* return either a permalink, or an empty string. Note that partials can only have a single | |||||
return statement, so this needs to be at the end of the partial (and not in the if block) */}} | |||||
{{ return $linkToCover }} |
{{ $featured_image := .Params.featured_image }} | |||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }} | |||||
{{ if $featured_image }} | {{ if $featured_image }} | ||||
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | ||||
{{ $featured_image := (trim $featured_image "/") | absURL }} | {{ $featured_image := (trim $featured_image "/") | absURL }} |
{{ if .Site.Params.favicon }} | {{ if .Site.Params.favicon }} | ||||
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" /> | |||||
{{ end }} | |||||
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" /> | |||||
{{ end }} |
<nav class="pv3 ph3 ph4-ns" role="navigation"> | <nav class="pv3 ph3 ph4-ns" role="navigation"> | ||||
<div class="flex-l justify-between items-center center"> | <div class="flex-l justify-between items-center center"> | ||||
<a href="{{ .Site.BaseURL }}" class="f3 fw2 hover-white no-underline white-90 dib"> | |||||
{{ .Site.Title }} | |||||
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib"> | |||||
{{ with .Site.Params.site_logo }} | |||||
<img src="{{ . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" /> | |||||
{{ else }} | |||||
{{ .Site.Title }} | |||||
{{ end }} | |||||
</a> | </a> | ||||
<div class="flex-l items-center"> | <div class="flex-l items-center"> | ||||
{{ partial "i18nlist.html" . }} | {{ partial "i18nlist.html" . }} |
{{- partial "new-window-icon.html" . -}} | {{- partial "new-window-icon.html" . -}} | ||||
</a> | </a> | ||||
{{ end }} | {{ end }} | ||||
{{ with .Param "keybase" }} | |||||
<a href="{{ . }}" target="_blank" class="link-transition keybase link dib z-999 pt3 pt0-l mr1" title="Keybase link" rel="noopener" aria-label="follow on Keybase——Opens in a new window"> | |||||
{{ partial "svg/keybase.svg" (dict "size" $icon_size) }} | |||||
{{- partial "new-window-icon.html" . -}} | |||||
</a> | |||||
{{ end }} | |||||
{{ with .Param "medium" }} | {{ with .Param "medium" }} | ||||
<a href="{{ . }}" target="_blank" class="link-transition medium link dib z-999 pt3 pt0-l mr1" title="Medium link" rel="noopener" aria-label="follow on Medium——Opens in a new window"> | <a href="{{ . }}" target="_blank" class="link-transition medium link dib z-999 pt3 pt0-l mr1" title="Medium link" rel="noopener" aria-label="follow on Medium——Opens in a new window"> | ||||
{{ partial "svg/medium.svg" (dict "size" $icon_size) }} | {{ partial "svg/medium.svg" (dict "size" $icon_size) }} | ||||
{{- partial "new-window-icon.html" . -}} | {{- partial "new-window-icon.html" . -}} | ||||
</a> | </a> | ||||
{{ end }} | {{ end }} | ||||
{{ with .Param "rss" }} | |||||
<a href="{{ . }}" target="_blank" class="link-transition rss link dib z-999 pt3 pt0-l mr1" title="RSS link" rel="noopener" aria-label="RSS——Opens in a new window"> | |||||
{{ partial "svg/rss.svg" (dict "size" $icon_size) }} | |||||
{{- partial "new-window-icon.html" . -}} | |||||
</a> | |||||
{{ end }} | |||||
{{ $title := .Title }} | |||||
{{ $url := printf "%s" .Permalink | absLangURL }} | |||||
{{ $icon_size := "32px" }} | |||||
{{ if not .Params.disable_share }} | |||||
<div id="sharing" class="mt3"> | |||||
{{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }} | |||||
<a href="{{ $facebook_href }}" class="facebook no-underline" aria-label="share on Facebook"> | |||||
{{ partialCached "svg/facebook.svg" (dict "size" $icon_size) $icon_size }} | |||||
</a> | |||||
{{ $twitter_href := printf "https://twitter.com/share?url=%s&text=%s" $url $title }} | |||||
{{ with .Site.Social.twitter }} | |||||
{{ $twitter_href = printf "%s&via=%s" $twitter_href . }} | |||||
{{ end }} | |||||
<a href="{{ $twitter_href }}" class="twitter no-underline" aria-label="share on Twitter"> | |||||
{{ partialCached "svg/twitter.svg" (dict "size" $icon_size) $icon_size }} | |||||
</a> | |||||
{{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }} | |||||
<a href="{{ $linkedin_href }}" class="linkedin no-underline" aria-label="share on LinkedIn"> | |||||
{{ partialCached "svg/linkedin.svg" (dict "size" $icon_size) $icon_size }} | |||||
</a> | |||||
</div> | |||||
{{ end }} |
{{ $featured_image := .Params.featured_image }} | |||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }} | |||||
<article class="bb b--black-10"> | <article class="bb b--black-10"> | ||||
<div class="db pv4 ph3 ph0-l no-underline dark-gray"> | <div class="db pv4 ph3 ph0-l no-underline dark-gray"> | ||||
<div class="flex flex-column flex-row-ns"> | <div class="flex flex-column flex-row-ns"> | ||||
{{ if .Params.featured_image }} | |||||
{{ if $featured_image }} | |||||
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} | ||||
{{ $featured_image := (trim $featured_image "/") | absURL }} | {{ $featured_image := (trim $featured_image "/") | absURL }} | ||||
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns"> | <div class="pr3-ns mb4 mb0-ns w-100 w-40-ns"> | ||||
</a> | </a> | ||||
</div> | </div> | ||||
{{ end }} | {{ end }} | ||||
<div class="blah w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}"> | |||||
<div class="blah w-100{{ if $featured_image }} w-60-ns pl3-ns{{ end }}"> | |||||
<h1 class="f3 fw1 athelas mt0 lh-title"> | <h1 class="f3 fw1 athelas mt0 lh-title"> | ||||
<a href="{{.Permalink}}" class="color-inherit dim link"> | <a href="{{.Permalink}}" class="color-inherit dim link"> | ||||
{{ .Title }} | {{ .Title }} |
<svg xmlns="http://www.w3.org/2000/svg" {{ with .size }}height="{{ . }}" width="{{ . }}"{{ end }} viewBox="0 0 24 24"> | |||||
<circle cx="6.18" cy="17.82" r="2.18"/> | |||||
<path id="scale" d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/> | |||||
</svg> | |||||
<article class="bb b--black-10"> | <article class="bb b--black-10"> | ||||
<a class="db pv4 ph3 ph0-l no-underline dark-gray dim" href="{{ .Permalink }}"> | <a class="db pv4 ph3 ph0-l no-underline dark-gray dim" href="{{ .Permalink }}"> | ||||
<div class="flex flex-column flex-row-ns"> | <div class="flex flex-column flex-row-ns"> | ||||
{{ if .Params.featured_image }} | |||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }} | |||||
{{ if $featured_image }} | |||||
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns"> | <div class="pr3-ns mb4 mb0-ns w-100 w-40-ns"> | ||||
<img src="{{ .Params.featured_image }}" class="db" alt="image from {{ .Title }}"> | |||||
<img src="{{ $featured_image }}" class="db" alt="image from {{ .Title }}"> | |||||
</div> | </div> | ||||
{{ end }} | {{ end }} | ||||
<div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}"> | |||||
<div class="w-100{{ if $featured_image }} w-60-ns pl3-ns{{ end }}"> | |||||
<h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1> | <h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1> | ||||
<div class="f6 f5-l lh-copy nested-copy-line-height"> | <div class="f6 f5-l lh-copy nested-copy-line-height"> | ||||
{{ .Summary }} | {{ .Summary }} |
<label class="{{ $.Scratch.Get "labelClasses" }}" for="message">{{ i18n "message" }}</label> | <label class="{{ $.Scratch.Get "labelClasses" }}" for="message">{{ i18n "message" }}</label> | ||||
<textarea id="message" name="message" class="{{ $.Scratch.Get "inputClasses" }} h4" aria-labelledby="message"></textarea> | <textarea id="message" name="message" class="{{ $.Scratch.Get "inputClasses" }} h4" aria-labelledby="message"></textarea> | ||||
<input class="db w-100 mv2 white pa3 bn hover-shadow hover-bg-blck bg-animate bg-black" type="submit" value="{{ i18n "send" }}" /> | |||||
<input class="db w-100 mv2 white pa3 bn hover-shadow hover-bg-black bg-animate bg-black" type="submit" value="{{ i18n "send" }}" /> | |||||
</form> | </form> |
{ | { | ||||
"name": "gohugo-default-theme", | "name": "gohugo-default-theme", | ||||
"version": "2.5.4", | |||||
"version": "2.5.6", | |||||
"lockfileVersion": 1, | "lockfileVersion": 1, | ||||
"requires": true, | "requires": true, | ||||
"dependencies": { | "dependencies": { |
{ | { | ||||
"name": "gohugo-default-theme", | "name": "gohugo-default-theme", | ||||
"version": "2.5.6", | |||||
"version": "2.6.1", | |||||
"description": "Base Theme to start Hugo Sites", | "description": "Base Theme to start Hugo Sites", | ||||
"main": "index.js", | "main": "index.js", | ||||
"repository": { | "repository": { |
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .linkedin, .medium, .mastodon, .slack, .stackoverflow, .strava { | |||||
.facebook, | |||||
.twitter, | |||||
.instagram, | |||||
.youtube, | |||||
.github, | |||||
.gitlab, | |||||
.keybase, | |||||
.linkedin, | |||||
.medium, | |||||
.mastodon, | |||||
.slack, | |||||
.stackoverflow, | |||||
.rss, | |||||
.strava { | |||||
fill: #BABABA; | fill: #BABABA; | ||||
} | } | ||||
display: inline-block; | display: inline-block; | ||||
vertical-align: top; | vertical-align: top; | ||||
} | } | ||||
.link-transition:hover .new-window{ | |||||
.link-transition:hover .new-window { | |||||
opacity: 1; | opacity: 1; | ||||
} | } | ||||
fill: #FC6D26; | fill: #FC6D26; | ||||
} | } | ||||
.keybase:hover { | |||||
fill: #3d76ff; | |||||
} | |||||
.linkedin:hover { | .linkedin:hover { | ||||
fill: #0077b5 | fill: #0077b5 | ||||
} | } | ||||
.strava:hover { | .strava:hover { | ||||
fill: #f93a06; | fill: #f93a06; | ||||
} | } | ||||
.rss:hover { | |||||
fill: #ff6f1a; | |||||
} |
border-left: 4px solid #ccc; | border-left: 4px solid #ccc; | ||||
padding-left: 1rem; | padding-left: 1rem; | ||||
} | |||||
.nested-links a{ | |||||
overflow-wrap: break-word; | |||||
} | } |
name = "Ananke Gohugo Theme" | name = "Ananke Gohugo Theme" | ||||
license = "MIT" | license = "MIT" | ||||
licenselink = "https://github.com/budparr/gohugo-theme-ananke/blob/master/LICENSE.md" | |||||
licenselink = "https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/LICENSE.md" | |||||
description = "A Base theme for building full featured Hugo sites" | description = "A Base theme for building full featured Hugo sites" | ||||
homepage = "https://github.com/budparr/gohugo-theme-ananke" | |||||
homepage = "https://github.com/theNewDynamic/gohugo-theme-ananke" | |||||
tags = ["website", "starter", "responsive", "Disqus", "blog", "Tachyons", "Multilingual", "Stackbit"] | tags = ["website", "starter", "responsive", "Disqus", "blog", "Tachyons", "Multilingual", "Stackbit"] | ||||
features = ["posts", "shortcodes", "related content", "comments"] | features = ["posts", "shortcodes", "related content", "comments"] | ||||
min_version = "0.30.2" | |||||
min_version = "0.55.0" | |||||
[author] | [author] | ||||
name = "Bud Parr" | |||||
homepage = "https://github.com/budparr" | |||||
name = "theNewDynamic" | |||||
homepage = "https://www.thenewdynamic.com/" |