mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Merge with master
This commit is contained in:
commit
8c3f226610
244
CHANGELOG.md
244
CHANGELOG.md
@ -7,123 +7,163 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
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
|
||||
|
||||
- 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)
|
||||
- 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)
|
||||
|
||||
## [v2.5.5](https://github.com/budparr/gohugo-theme-ananke/compare/2.5.1...v2.5.5) - 2019-11-15
|
||||
## [2.6.0](https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.5.5...2.6.0) - 2020-06-17
|
||||
|
||||
### 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)
|
||||
- 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
|
||||
|
||||
- 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/theNewDynamic/gohugo-theme-ananke/compare/2.5.1...v2.5.5) - 2019-11-15
|
||||
|
||||
### Merged
|
||||
|
||||
- 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
|
||||
|
||||
- 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
|
||||
|
||||
### 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
|
||||
|
||||
- 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)
|
||||
|
46
README.md
46
README.md
@ -49,10 +49,22 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th
|
||||
|
||||
## Installation
|
||||
|
||||
### As a Hugo Module (recommanded)
|
||||
|
||||
Simply add the repo to your theme option:
|
||||
|
||||
```yaml
|
||||
theme:
|
||||
- github.com/theNewDynamic/gohugo-theme-ananke
|
||||
```
|
||||
|
||||
### As Git Submodule
|
||||
|
||||
Inside the folder of your Hugo site run:
|
||||
|
||||
$ git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
|
||||
|
||||
```
|
||||
$ 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.
|
||||
|
||||
|
||||
@ -64,7 +76,7 @@ After installing the theme successfully it requires a just a few more steps to g
|
||||
|
||||
### 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 = "../.."`
|
||||
|
||||
@ -115,6 +127,8 @@ which will give you a body class like this:
|
||||
<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).
|
||||
|
||||
And a list of background colors [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_skins.css#L96).
|
||||
@ -139,6 +153,21 @@ For example, if your css files are `static/css/custom.css` and `static/css/custo
|
||||
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
|
||||
|
||||
In order to see your site in action, run Hugo's built-in local server.
|
||||
@ -155,13 +184,20 @@ To run in production (e.g. to have Google Analytics show up), run `HUGO_ENV=prod
|
||||
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
|
||||
|
||||
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:
|
||||
|
||||
- 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)
|
||||
|
@ -1,7 +1,7 @@
|
||||
+++
|
||||
title = "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
tags = []
|
||||
featured_image = ""
|
||||
description = ""
|
||||
+++
|
||||
---
|
||||
title: "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
tags: []
|
||||
featured_image: ""
|
||||
description: ""
|
||||
---
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"app": {
|
||||
"js": "js/app.3fc0f988d21662902933.js",
|
||||
"css": "css/app.bc20b5435312ad8378d94eaeacc9cc6a.css"
|
||||
"css": "css/app.4fc0b62e4b82c997bb0041217cd6b979.css"
|
||||
}
|
||||
}
|
@ -4,7 +4,6 @@ languageCode = "en-us"
|
||||
theme = "gohugo-theme-ananke"
|
||||
themesDir = "../.."
|
||||
|
||||
MetaDataFormat = "yaml"
|
||||
DefaultContentLanguage = "en"
|
||||
SectionPagesMenu = "main"
|
||||
Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number
|
||||
@ -18,6 +17,7 @@ enableRobotsTXT = true
|
||||
|
||||
[params]
|
||||
favicon = ""
|
||||
site_logo = ""
|
||||
description = "The last theme you'll ever need. Maybe."
|
||||
facebook = ""
|
||||
twitter = "https://twitter.com/GoHugoIO"
|
||||
@ -30,6 +30,7 @@ enableRobotsTXT = true
|
||||
slack = ""
|
||||
stackoverflow = ""
|
||||
strava = ""
|
||||
rss = ""
|
||||
# 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"
|
||||
featured_image = "/images/gohugo-default-sample-hero-image.jpg"
|
||||
|
@ -4,6 +4,7 @@ description: "Esmeralda"
|
||||
featured_image: "/images/esmeralda.jpg"
|
||||
tags: []
|
||||
title: "Chapter VI: Esmeralda"
|
||||
disable_share: false
|
||||
---
|
||||
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
|
||||
|
35
i18n/bg.toml
Normal file
35
i18n/bg.toml
Normal file
@ -0,0 +1,35 @@
|
||||
[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 }}”"
|
@ -30,3 +30,6 @@ other = "Eine Email Adresse wird benötigt."
|
||||
|
||||
[send]
|
||||
other = "Senden"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "An email address is required."
|
||||
|
||||
[send]
|
||||
other = "Send"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -5,7 +5,7 @@ other = "Más"
|
||||
other = "Todos los {{.Title }}"
|
||||
|
||||
[recentTitle]
|
||||
other = "{{.Title }} Recientes"
|
||||
other = "{{.Title }} recientes"
|
||||
|
||||
[readMore]
|
||||
other = "Leer más"
|
||||
@ -30,3 +30,6 @@ other = "Se requiere una dirección de correo electrónico."
|
||||
|
||||
[send]
|
||||
other = "Enviar"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "A continuación encontrará las páginas asociadas a “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "Une adresse e-mail est requise."
|
||||
|
||||
[send]
|
||||
other = "Envoyer"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "Indirizzo email obbligatorio."
|
||||
|
||||
[send]
|
||||
other = "Invia"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "Een e-mailadres is vereist."
|
||||
|
||||
[send]
|
||||
other = "Stuur"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
35
i18n/no.toml
Normal file
35
i18n/no.toml
Normal file
@ -0,0 +1,35 @@
|
||||
[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 }}”"
|
@ -5,7 +5,7 @@ other = "Mais"
|
||||
other = "Todo o {{.Title }}"
|
||||
|
||||
[recentTitle]
|
||||
other = "Recentes {{.Title }}"
|
||||
other = "{{.Title }} Recentes"
|
||||
|
||||
[readMore]
|
||||
other = "Leia mais"
|
||||
@ -30,3 +30,6 @@ other = "É necessário um endereço de e-mail."
|
||||
|
||||
[send]
|
||||
other = "Enviar"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Abaixo você encontrará as páginas que utilizam o termo de taxonomia “{{ .Title }}”"
|
||||
|
@ -29,4 +29,7 @@ other = "Сообщение"
|
||||
other = "Требуется адрес электронной почты."
|
||||
|
||||
[send]
|
||||
other = "трансмиссия"
|
||||
other = "Отправить"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Ниже вы найдете страницы, на которых используется термин таксономии “{{ .Title }}”"
|
||||
|
@ -30,3 +30,6 @@ other = "En e-postadress krävs."
|
||||
|
||||
[send]
|
||||
other = "Skicka"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "Електронна пошта обов'язкова"
|
||||
|
||||
[send]
|
||||
other = "Надіслати"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
@ -30,3 +30,6 @@ other = "需要电子邮件地址。"
|
||||
|
||||
[send]
|
||||
other = "发送"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "标签为“{{ .Title }}”的页面如下"
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<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 */}}
|
||||
<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">
|
||||
{{ hugo.Generator }}
|
||||
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}
|
||||
@ -20,7 +20,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.custom_css }}
|
||||
<link rel="stylesheet" href="{{ relURL ($.Site.BaseURL) }}{{ . }}">
|
||||
<link rel="stylesheet" href="{{ relURL (.) }}">
|
||||
{{ end }}
|
||||
|
||||
{{ block "favicon" . }}
|
||||
@ -42,6 +42,7 @@
|
||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{ block "head" . }}{{ partial "head-additions.html" }}{{ end }}
|
||||
</head>
|
||||
|
||||
<body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
|
||||
|
@ -6,16 +6,16 @@
|
||||
{{ define "main" }}
|
||||
{{ $section := .Site.GetPage "section" .Section }}
|
||||
<article class="flex-l flex-wrap justify-between mw8 center ph3">
|
||||
|
||||
<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.
|
||||
https://gohugo.io/variables/page/#section-variables-and-methods
|
||||
*/}}
|
||||
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
||||
</p>
|
||||
<h1 class="f1 athelas mb1">
|
||||
</aside>
|
||||
{{ partial "social-share.html" . }}
|
||||
<h1 class="f1 athelas mt3 mb1">
|
||||
{{- .Title -}}
|
||||
</h1>
|
||||
{{ with .Params.author }}
|
||||
@ -30,9 +30,10 @@
|
||||
</p>
|
||||
{{ end }}
|
||||
{{/* 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" -}}
|
||||
</time>
|
||||
|
||||
{{/*
|
||||
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`
|
||||
@ -44,11 +45,10 @@
|
||||
<span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span>
|
||||
{{ end }}
|
||||
</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 -}}
|
||||
{{- partial "tags.html" . -}}
|
||||
<div class="mt6">
|
||||
<div class="mt6 instapaper_ignoref">
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
@ -56,7 +56,7 @@
|
||||
{{- partial "commento.html" . -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<aside class="w-30-l mt6-l">
|
||||
{{- partial "menu-contextual.html" . -}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<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">
|
||||
<p>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p>
|
||||
<p>{{i18n "taxonomyPageList" .}}</p>
|
||||
</div>
|
||||
</article>
|
||||
<div class="mw8 center">
|
||||
|
35
layouts/partials/func/GetFeaturedImage.html
Normal file
35
layouts/partials/func/GetFeaturedImage.html
Normal file
@ -0,0 +1,35 @@
|
||||
{{/*
|
||||
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 }}
|
0
layouts/partials/head-additions.html
Normal file
0
layouts/partials/head-additions.html
Normal file
@ -1,4 +1,4 @@
|
||||
{{ $featured_image := .Params.featured_image }}
|
||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
|
||||
{{ if $featured_image }}
|
||||
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
|
||||
{{ $featured_image := (trim $featured_image "/") | absURL }}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{{ if .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" />
|
||||
{{ end }}
|
@ -1,7 +1,11 @@
|
||||
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
||||
<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>
|
||||
<div class="flex-l items-center">
|
||||
{{ partial "i18nlist.html" . }}
|
||||
|
@ -48,6 +48,12 @@
|
||||
{{- partial "new-window-icon.html" . -}}
|
||||
</a>
|
||||
{{ 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" }}
|
||||
<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) }}
|
||||
@ -72,4 +78,10 @@
|
||||
{{- partial "new-window-icon.html" . -}}
|
||||
</a>
|
||||
{{ 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 }}
|
||||
|
||||
|
26
layouts/partials/social-share.html
Normal file
26
layouts/partials/social-share.html
Normal file
@ -0,0 +1,26 @@
|
||||
{{ $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 }}
|
@ -1,8 +1,8 @@
|
||||
{{ $featured_image := .Params.featured_image }}
|
||||
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
|
||||
<article class="bb b--black-10">
|
||||
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
|
||||
<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 */}}
|
||||
{{ $featured_image := (trim $featured_image "/") | absURL }}
|
||||
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
|
||||
@ -11,7 +11,7 @@
|
||||
</a>
|
||||
</div>
|
||||
{{ 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">
|
||||
<a href="{{.Permalink}}" class="color-inherit dim link">
|
||||
{{ .Title }}
|
||||
|
3
layouts/partials/svg/keybase.svg
Normal file
3
layouts/partials/svg/keybase.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.3 KiB |
5
layouts/partials/svg/rss.svg
Normal file
5
layouts/partials/svg/rss.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<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>
|
||||
|
After Width: | Height: | Size: 344 B |
@ -1,12 +1,13 @@
|
||||
<article class="bb b--black-10">
|
||||
<a class="db pv4 ph3 ph0-l no-underline dark-gray dim" href="{{ .Permalink }}">
|
||||
<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">
|
||||
<img src="{{ .Params.featured_image }}" class="db" alt="image from {{ .Title }}">
|
||||
<img src="{{ $featured_image }}" class="db" alt="image from {{ .Title }}">
|
||||
</div>
|
||||
{{ 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>
|
||||
<div class="f6 f5-l lh-copy nested-copy-line-height">
|
||||
{{ .Summary }}
|
||||
|
@ -15,6 +15,6 @@
|
||||
<label class="{{ $.Scratch.Get "labelClasses" }}" for="message">{{ i18n "message" }}</label>
|
||||
<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>
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gohugo-default-theme",
|
||||
"version": "2.5.4",
|
||||
"version": "2.5.6",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gohugo-default-theme",
|
||||
"version": "2.5.6",
|
||||
"version": "2.6.1",
|
||||
"description": "Base Theme to start Hugo Sites",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
@ -1,4 +1,17 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
@ -7,7 +20,8 @@
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
.link-transition:hover .new-window{
|
||||
|
||||
.link-transition:hover .new-window {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@ -35,6 +49,10 @@
|
||||
fill: #FC6D26;
|
||||
}
|
||||
|
||||
.keybase:hover {
|
||||
fill: #3d76ff;
|
||||
}
|
||||
|
||||
.linkedin:hover {
|
||||
fill: #0077b5
|
||||
}
|
||||
@ -58,3 +76,7 @@
|
||||
.strava:hover {
|
||||
fill: #f93a06;
|
||||
}
|
||||
|
||||
.rss:hover {
|
||||
fill: #ff6f1a;
|
||||
}
|
@ -14,3 +14,7 @@
|
||||
padding-left: 1rem;
|
||||
|
||||
}
|
||||
|
||||
.nested-links a{
|
||||
overflow-wrap: break-word;
|
||||
}
|
3
static/dist/css/app.1cb140d8ba31d5b2f1114537dd04802a.css
vendored
Normal file
3
static/dist/css/app.1cb140d8ba31d5b2f1114537dd04802a.css
vendored
Normal file
File diff suppressed because one or more lines are too long
5876
static/dist/css/app.4fc0b62e4b82c997bb0041217cd6b979.css
vendored
Normal file
5876
static/dist/css/app.4fc0b62e4b82c997bb0041217cd6b979.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5872
static/dist/css/app.7e7787cc1402d7de28bc90f7e65adf96.css
vendored
Normal file
5872
static/dist/css/app.7e7787cc1402d7de28bc90f7e65adf96.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5872
static/dist/css/app.e6e75cdafe2e909dacfabeb26857f994.css
vendored
Normal file
5872
static/dist/css/app.e6e75cdafe2e909dacfabeb26857f994.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10
theme.toml
10
theme.toml
@ -3,13 +3,13 @@
|
||||
|
||||
name = "Ananke Gohugo Theme"
|
||||
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"
|
||||
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"]
|
||||
features = ["posts", "shortcodes", "related content", "comments"]
|
||||
min_version = "0.30.2"
|
||||
min_version = "0.55.0"
|
||||
|
||||
[author]
|
||||
name = "Bud Parr"
|
||||
homepage = "https://github.com/budparr"
|
||||
name = "theNewDynamic"
|
||||
homepage = "https://www.thenewdynamic.com/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user