Commit Graph
840 Commits
Author SHA1 Message Date
George Cushen aa4c95277c feat: add support for Hugo v0.60 2019-12-07 20:02:54 +00:00
George Cushen 6d97e95942 feat: add support for Hugo v0.60 2019-12-07 19:58:43 +00:00
Samuel Guay 023a9fef27 feat: add a template (archetype) for adding new authors
I thought this would be useful for people who need to create many authors. Instead of copying and pasting the `admin/_index.md`, they can simply use the hugo command `hugo new authors/FIRSTNAME-LASTNAME` and have an empty but commented _index.md file ready to be filled in for each author.

Close #1445
2019-12-07 16:40:35 +00:00
Florian Pöhler bba41637a0 feat: add option to use self hosted Commento
If you are using the Commento cloud service, you do not need to
change anything, but if you want to use a self hosted instance, you can now
 provide the base url to your Commento instance.

Close #1446
2019-12-07 16:38:25 +00:00
George Cushen cdf5ef1096 chore: bump version 2019-12-07 16:36:16 +00:00
Ronny Chevalier c7b71e6c4b fix: console error when highlight disabled (#1455)
If "hightlight" was disabled, the following error appeared in the
console:

    Uncaught ReferenceError: code_highlighting is not defined
2019-12-07 16:25:33 +00:00
Arto Bendiken b631115926 i18n: fix typos in Russian translation (#1456) 2019-12-07 16:23:51 +00:00
George Cushen 981704c0d8 fix: navbar logo is too big on Firefox
Fix #1449
2019-12-07 16:22:17 +00:00
Arto Bendiken 3508912fd0 i18n: add Ukrainian translation (#1444) 2019-11-30 13:17:56 +00:00
George Cushen 6d92b0e8ab chore: bump version 2019-11-24 14:25:11 +00:00
George Cushen 197b5d1f06 fix: off-centre logo on mobile
Fix #1436
Close #1437
2019-11-24 14:16:21 +00:00
Jacob Peacock ef4ec47722 docs: fix semi-broken link (#1438)
Old link redirected to correct page but missing hash after redir.

Close #1435
2019-11-24 11:53:54 +00:00
George Cushen c3c4d9560a fix: "Edit Page" links for multilingual sites
Fix #1232
Fix sourcethemes/academic-www#14
2019-11-24 11:47:26 +00:00
George Cushen 15e00e60de fix: "Edit Page" links for multilingual sites
Fix #1232
Fix https://github.com/sourcethemes/academic-www/issues/14
2019-11-24 11:05:55 +00:00
George Cushen 037d75f6da fix: race condition between HighlightJS and Mermaid
In some cases, the race condition could prevent Mermaid diagrams from being rendered.

Fix #1434
See #1298
2019-11-21 21:41:58 +00:00
wusphinx fc0d15d0d7 i18n: update Chinese (#1431)
Adjust Chinese translation for minute_read
2019-11-19 18:31:24 +00:00
George Cushen b45d4c5432 chore: bump version 2019-11-19 00:19:39 +00:00
George Cushen 74688bad25 docs: add contributing guide 2019-11-19 00:09:38 +00:00
George Cushen d7749fdaa8 fix: theme's menu_text_active stopped working
Fix #1430
2019-11-18 23:11:01 +00:00
Bertrand Thierry b9bba28813 feat: add French address format
Close #1428
2019-11-18 13:49:10 +00:00
Michael Rennecke fd1a7e71a2 fix: typo leading to braces displayed in talk address
Fix e6eb27deee
Close #1429
2019-11-18 13:46:31 +00:00
George Cushen 51c0d87e54 fix: dropdowns broken in main menu
Also fixed dropdown style.

In order to fix, temporarily disabled horizontal scrolling of menu item overflow.

Fix 766c559
Fix #1425
2019-11-18 00:55:31 +00:00
auntiehuat d6b44a4e02 docs: fix typo in comment (#1426) 2019-11-17 21:16:49 +00:00
Marc Schulder 01740917be feat: add German address format
Close #1427
2019-11-17 21:14:30 +00:00
George Cushen a1f5a3cdd0 chore: bump version 2019-11-16 18:03:00 +00:00
George Cushen e6eb27deee feat: enable semantic address format to be localised
For example, US sites can use the US address format and Chinese sites can use the Chinese address format.

A default address_format can be set in params.toml, which can be overriden on a per page basis using a parameter of the same name in a page's front matter. Optionally, multilingual sites may wish to add a default format for each site in languages.toml.

BREAKING CHANGES
- list_delimiter removed from params.toml
- address_format added to params.toml
- [address_formats] added to params.toml

Close #1344
2019-11-16 17:55:17 +00:00
Simone Rossi d0fb759153 feat: add Mention shortcode to mention people
To mention someone, type `{{% mention "username" %}}` where `username` corresponds to a user account in Academic. This will create a link to the user's profile page.

Close #1421
2019-11-16 16:14:08 +00:00
George Cushen 9cbf5f8ffc chore: commit pre-computed resources for demo on Hugo Themes Site
See https://github.com/gohugoio/hugoThemes/issues/761
2019-11-16 15:49:47 +00:00
George Cushen 766c559e50 feat: improve mobile-first menu
- On mobile, position toggle on left and logo in centre (adopt standard)
- Show Search, Day/Night, and Language icons in mobile menu bar
- Add option to align menu items to left, centre, or right
- Add option to remove logo image/text from menu
- Complete navbar SCSS redesign, making use of Bootstrap vars
- Add automatic menu dropdowns on mouseover (for desktop)

Also,
- Apply live day/night update on system prefs change (no need for refresh)
- Add Mermaid security level on init - a req. for latest Mermaid version

BREAKING CHANGES:
menu_align_right option removed from params.toml
main_menu option added to params.toml

Close #1418
2019-11-16 15:42:31 +00:00
George Cushen 24bfa6fa4d feat: recognize env via -e argument in addition to HUGO_ENV
Also, see https://github.com/gohugoio/hugo/issues/6456#issuecomment-546524056
2019-10-30 13:20:25 +00:00
George Cushen 5abeaaac7e fix(widget): allow spaces in filters in Pages and Featured widgets
Fix #1388
2019-10-19 21:15:18 +01:00
Bertrand Thierry bbda2cce0f feat(talk): do not require event
Close #1397
2019-10-19 21:06:55 +01:00
George Cushen f30d3252a7 refactor: rename sass folder to scss 2019-10-19 20:53:42 +01:00
George Cushen ede8cef959 feat: update vendor assets & refactor custom CSS path
- Upgrade MathJax from v2 to v3
- Updated Highlight, Leaflet, Fancybox, Mermaid, FontAwesome
- Fixed multilingual icon paths in Web App Manifest
- View Demo script now binds to all network I/F to enable testing on
  other physical devices like smart phones

BREAKING CHANGES:
Removed `plugins_css` from `params.toml`.
Override `custom.scss` to add custom styling.

Close #1400
2019-10-19 20:33:56 +01:00
George Cushen db7a6f41ae feat(docs): add flexibility for using docs menu with updates layout 2019-10-12 22:18:22 +01:00
George Cushen ec8b60f71f feat: move social share buttons below content
Also, add page_footer.html to help make page footers more consistent.

Close #1383
2019-10-12 17:23:08 +01:00
MineCola d8e90e9d64 i18n: add 中文 (繁體)
See #1381
2019-10-09 14:20:16 +01:00
George ccc23382b2 chore: fix issue template 2019-10-08 19:38:34 +01:00
George 040898a4db chore: fix issue template 2019-10-08 19:38:14 +01:00
George d146580291 chore: fix issue template 2019-10-08 19:37:57 +01:00
George 72fca5c748 chore: add GitHub issue templates 2019-10-08 19:35:22 +01:00
George Cushen 44f9170f07 fix: in-page anchor scrolling on mobile 2019-10-05 18:39:33 +01:00
George Cushen 18ae2268f3 feat: add bg size, position, and parallax options to Widget Pages
#  Options are `cover` (default), `contain`, or `actual` size.
image_size = "actual"
# Options include `left`, `center` (default), or `right`.
image_position = "right"
# Use a fun parallax-like fixed background effect? true/false
image_parallax = true

See #1377
2019-10-02 21:18:34 +01:00
George Cushen 9cbf096db5 feat: add bg size, position, and parallax options to Widget Pages
#  Options are `cover` (default), `contain`, or `actual` size.
image_size = "actual"
# Options include `left`, `center` (default), or `right`.
image_position = "right"
# Use a fun parallax-like fixed background effect? true/false
image_parallax = true

See #1377
2019-10-02 21:17:24 +01:00
George Cushen 3911b8ff53 chore: increase min Hugo version
May solve #1375
2019-10-02 12:18:01 +01:00
Bertrand Thierry 02b4ce0e68 fix: no users appear in People widget
Bug caused by search/replace during last People widget update in #1323 .

Also:
- Fix closing div placement
- Hide group if empty

Fix #1360
Close #1372
2019-10-01 19:19:47 +01:00
George Cushen b028457922 fix: gtag.js config 2019-09-28 18:20:03 +01:00
George Cushen 6d0c021011 feat: improve search for diacritics + Chinese/Korean/Japanese languages
Close #1361
2019-09-28 15:25:26 +01:00
George Cushen 01189e8056 fix: space after author name when using link_authors
Fix dc0407a0e2
Fix #1356
2019-09-25 11:12:57 +01:00
George Cushen 8e9b045edb refactor: remove GoogleAnalytics from config.toml (moved to Params) 2019-09-24 22:51:20 +01:00