George Cushen
83d7751855
style(shortcode): show zoom-in cursor when hovering lightbox image
2019-06-20 10:42:51 +01:00
Russell J. Hewett
3e6ab0cf69
feat(shortcode): add lightbox option to Figure ( #1146 )
...
Example: `{{< figure src="example.png" lightbox="true" >}}`
2019-06-19 23:16:35 +01:00
Russell J. Hewett
f2ba31b0ec
style(shortcode): enable lightbox to be used with non-gallery images ( #1145 )
2019-06-19 22:09:59 +01:00
George Cushen
0562b39893
docs: workaround Hugo bug with non-ASCII characters
2019-06-18 14:00:02 +01:00
George Cushen
b6c2aeb497
fix: workaround Hugo bug with non-ASCII characters
...
See https://github.com/gohugoio/hugo/issues/5687
See #1064
See #1143
2019-06-18 13:55:49 +01:00
George Cushen
2d0de5ad3e
docs: update themes
2019-06-17 13:23:59 +01:00
George Cushen
81cd24557c
docs: ref docs URL for Page Sharer
2019-06-16 19:54:46 +01:00
George Cushen
d33d6b0ff6
feat(shortcode): fix Gallery captions + support Markdown in captions
...
Fixes image captions when the Gallery shortcode is used on Widget Pages.
The issue was caused by a path mismatch in the code.
Adds support for using Markdown and emojis in image gallery captions.
Close #1136 - the bug report.
2019-06-16 19:10:49 +01:00
Cassio Batista
0c36cdca45
feat(page): enable page sharing buttons to be customized
...
To customise sharing buttons, override `themes/academic/data/page_sharer.toml` by copying the file to `data/page_sharer.toml` at the root of a site and editing the copy.
Close #1108
Close #1131
2019-06-15 17:23:08 +01:00
George Cushen
4fed5675e9
fix(style): code font-family no longer loaded from font theme
...
$sta-font-mono was referenced as literal during CSS->SCSS conversion.
Fix #1139
2019-06-15 14:45:35 +01:00
Serge Bibauw
dc84c03fbd
i18n: Update French and Spanish translations ( #1122 )
...
i18n: update French and Spanish translations
2019-06-04 00:29:09 +01:00
Cassio Batista
3dbba7460b
i18n: fix Portuguese translation ( #1121 )
...
Many of the Portuguese translations in the i18n/pt.yaml file were still in English.
2019-06-03 21:30:39 +01:00
George Cushen
63953ab3d4
style: improve consistency if Hugo --minify used
2019-06-02 23:19:57 +01:00
George Cushen
07d94380f2
feat(docs): highlight active page section in right sidebar TOC
...
Fix #1099
2019-06-02 18:54:18 +01:00
George Cushen
701e107e53
fix: Academic's RSS template is not applied to sections or taxonomies
...
The RSS template at layouts/index.xml was only applied to the website
root and not sections or taxonomies such as /post/.
For instance:
/index.xml used Academic's RSS template
/post/index.xml used the default template from Hugo
Fix #1120
2019-06-02 17:41:06 +01:00
George Cushen
35292a6469
style: make tables responsive
...
Fix #1119
2019-06-01 19:32:55 +01:00
pointbre
a6da45d7fd
fix: case where social sharing links are empty
...
Fix #1116
2019-06-01 18:44:32 +01:00
George Cushen
a71297bbfd
fix: case when font and color themes not found even when present
...
See #1118
2019-06-01 18:08:19 +01:00
gcushen
c2455378cc
fix: 9263fcd3c9
2019-06-01 16:43:40 +01:00
George Cushen
5b24f2aa13
refactor: pages as blocks of a base template
...
Refactor pages as blocks of a base template rather than not using a base template and directly including all necessary elements on each page.
May make Academic more modular and maintainable whilst making it easier for users to apply advanced customizations.
See https://gohugo.io/templates/base/#define-the-base-template
Close #634
Close #1115
2019-06-01 15:31:34 +01:00
George Cushen
9263fcd3c9
refactor docs to use baseof
2019-06-01 15:15:19 +01:00
George Cushen
dcd3c05abd
Merge branch 'baseof-refactor' of https://github.com/rhewett/hugo-academic into rhewett-baseof-refactor
2019-06-01 14:05:05 +01:00
George Cushen
316bfe2d8f
fix(demo): BaseURL
2019-06-01 00:39:01 +01:00
Russell J. Hewett
19c83715ef
refactor(baseof): partial should not be a full page template
2019-05-30 22:33:58 -04:00
Russell J. Hewett
57c72011cb
refactor(baseof): added main blocks to two stray templates
2019-05-30 22:33:58 -04:00
Russell J. Hewett
bd31268e19
refactor(baseof): docs cannot use baseof or else footer is displayed twice
2019-05-30 22:33:58 -04:00
Russell J. Hewett
d3ea424f72
refactor(baseof): removed unnecessary partials
2019-05-30 22:27:24 -04:00
Russell J. Hewett
d0043daa72
refactor(baseof): moved all templates to use a main block
2019-05-30 22:27:23 -04:00
Russell J. Hewett
044957aca1
refactor(baseof): minor adjustments to site_footer to help accomodate the docs layout
2019-05-30 22:27:17 -04:00
Russell J. Hewett
1c2178bc44
refactor(baseof): added baseof template to replace template boilerplate
2019-05-30 21:47:46 -04:00
Russell J. Hewett
ddba3fee2b
refactor(baseof): added site_footer partial to replace multiple footer partials
2019-05-30 21:47:19 -04:00
Russell J. Hewett
d263439e74
refactor(baseof): moved footer_section into the footer_container partial
2019-05-30 21:41:13 -04:00
Russell J. Hewett
f4d4c48016
refactor(baseof): moved citation model block to its own partial
2019-05-30 21:39:23 -04:00
Russell J. Hewett
5878e91a16
refactor(baseof): created custom head and footer js placeholders
2019-05-30 21:29:54 -04:00
Russell J. Hewett
1baceb1c62
refactor(baseof): refactors base header and footer to their own partials
2019-05-30 21:24:07 -04:00
George Cushen
fe422905b0
feat: for personal sites, link an article's profile box to homepage
...
See #982
2019-05-29 22:12:20 +01:00
George Cushen
07b921a6e8
fix(demo): BaseURL
...
Some paths in the demo were wrong due to missing BaseURL.
2019-05-29 21:03:14 +01:00
George Cushen
3bd21f3a37
style(docs): remove "Back To Top" and link "Contents" header to top
2019-05-28 22:25:48 +01:00
George Cushen
8914b83cd7
refactor(shortcode): rename mermaid to diagram
2019-05-27 18:09:19 +01:00
George Cushen
27ff391ab1
feat: generate diagrams and flowcharts from text using Mermaid shortcode
...
To use, add `diagram: true` to a page's YAML front matter and create a
diagram from text in the body of the Markdown file using Mermaid syntax:
https://mermaidjs.github.io
Close #1111
2019-05-27 18:05:17 +01:00
Marc Schulder
2f3bfa2ff4
i18n: update German ( #1109 )
...
Change the German translation of "education" from "Ausbildung" to the more general "Bildung".
2019-05-27 14:36:38 +01:00
George Cushen
aa7af6ab2a
feat(docs): add support for page bundles using docs layout
...
Close #1100
2019-05-26 23:27:19 +01:00
icf20
11df1131dd
i18n: add Romanian ( #1107 )
2019-05-26 22:53:30 +01:00
George Cushen
7cb7e497f7
refactor: convert archetypes from TOML to YAML
2019-05-26 18:49:23 +01:00
Marc Schulder
cd19779d8e
i18n(de): consistently use formal German ( #1097 )
...
All but one message used the formal "Sie" to address the reader. Therefore, adjust the one case in which informal "du" is used.
2019-05-21 19:05:52 +01:00
Marc Schulder
3c2cd8dc87
i18n(de): fix typo ( #1096 )
2019-05-21 19:03:53 +01:00
Dominik Vogel
23e2c4dcab
i18n: update DE translation ( #1095 )
2019-05-20 18:05:52 +01:00
George Cushen
29ce18a050
feat(theme): add Strawberry theme
...
Also, refactor themes and theme system to replace primary_light and
primary_dark with SCSS lighten/darken funcs.
See #1091
2019-05-19 23:51:32 +01:00
George Cushen
79db5acc1b
docs: clarify Hugo version
2019-05-19 20:46:04 +01:00
George Cushen
0438fabbc3
bump version
2019-05-19 18:51:49 +01:00