Commit Graph
63 Commits
Author SHA1 Message Date
George Cushen a2b482dc10 Add staticref shortcode for linking files + update docs (#236) 2017-09-03 17:06:06 +01:00
George Cushen 6fab4bc3bc docs: Add toc shortcode 2017-09-03 15:23:30 +01:00
George Cushen 06dc780e6c Add shortcode for generating table of contents (#258) 2017-09-03 15:07:38 +01:00
George Cushen 97590cb12e posts: Support lastmod param to show date last modified 2017-09-03 14:35:13 +01:00
George Cushen ba84760563 about: Support avatars from Gravatar.com (#194) 2017-06-12 02:07:44 +01:00
Lijun Zhu 960c124fde Fix portrait image not displaying in About widget (#186) 2017-05-30 01:31:08 +01:00
George Cushen e7461f9f26 exampleSite: Update widget comments (#188) 2017-05-30 00:15:09 +01:00
George Cushen dccca171a7 Add full-width header image option for all content pages
* feature is consistent across Posts, Projects, Talks, Publications, and nodes (#105)
* `image` parameter is moved under a `[header]` section at the end of existing content's frontmatter
* `caption` parameter can be used to specify image credit/caption (#103)
* set `preview = false` under `[header]` to hide a post's thumbnail on homepage (#113)
* add example of customizing a taxonomy list page at `/tags/academic/`
* revert i18n->hard-coded change for node page titles (#118)
2017-02-11 20:30:10 +00:00
George Cushen b7b20820e6 about widget: Support organization link (#108)
* Add optional `organization_url` to config
2017-01-29 01:15:35 +00:00
George Cushen af7e88aa5f Update docs 2017-01-20 18:01:52 +00:00
George Cushen 2220cd5d95 Require Hugo v0.18 and support section nodes as pages
* Post, Publication, and Talk nodes can now have a `_index.md` file with title and content.
* Example `_index.md` content files added to Example Site.
* Hugo v0.18+ required.
2017-01-20 00:57:16 +00:00
appleby b3c73acdc8 Add config options for customizing highlight.js (#66)
This commit adds the following config options to allow the user to
enable / disable and otherwise customize source code highlighting with
highlight.js:

- hljs: enable / disable highlighting
- hljs_languages: include highlighting for additional languages
- hljs_style: choose CSS style for highlighting
- hljs_version: choose highlight.js version

* Change hljs_ prefix to highlight_ and update hljs version to 9.9.0

Per code review comments in #66. The github.min.css style hasn't
changed, hence no diff for highlight.min.css in this commit.
2017-01-17 01:31:39 +00:00
George Cushen 69f7bf3592 exampleSite: Move project images to better location 2017-01-12 17:48:16 +00:00
George Cushen ae3a757777 Add publication filter #26 2017-01-12 06:41:13 +00:00
George Cushen 0fafa0b98d Improve talks
- improves format of simple lists (`detailed_list = false`) for Talks widget
- fixes date to use user defined date format from `config.toml`
- hides 'Links' row if no `url_...` params are set in talk front matter
- introduces optional `location` param for event location
- adds `event_url` which if defined, turns event name into a link on talk detail page
2017-01-02 14:35:50 +00:00
George Cushen 59116be74e Support sub-menu navigation (#72) 2016-12-31 14:05:29 +00:00
Yihui Xie 59e82f41c9 Fix layout of example site for Hugo 0.18 (#74) 2016-12-29 02:54:34 +00:00
George Cushen 79b0b45957 Update docs 2016-12-29 02:09:03 +00:00
Kirill Kirilenko bdb68fdf7d contact widget: Support Telegram (#70) 2016-12-27 02:07:23 +00:00
pfasante fbcc2ae87b talks: Fix archetype and add example to exampleSite (#68) 2016-12-26 23:15:14 +00:00
George Cushen d57fbe46f4 Update docs 2016-12-19 07:52:13 +00:00
George Cushen 31f9ce5f94 Add internationalization (i18n) support (#12) 2016-12-19 06:01:11 +00:00
George Cushen 991a343d48 contact widget: Add office hours and Skype options 2016-12-19 03:42:15 +00:00
George Cushen 6616d46eb3 Open external links in new tabs by default 2016-12-18 01:45:36 +00:00
George Cushen 8277658b81 Set widget identifiers to their respective filenames
Example: `content/home/about.md` widget is now linked from the
menu bar by setting the relevant URL as "#about" in `config.toml`.
2016-11-24 15:57:54 +00:00
George Cushen 605902a884 Improve support for Markdown footnotes (fix #61) 2016-11-21 09:26:51 +00:00
George Cushen f8bf5c1b88 Add comments 2016-11-14 04:11:36 +00:00
George Cushen 88205025ff Add filtering for projects (addresses #51) + add fade animation 2016-11-14 03:30:04 +00:00
George Cushen ee331055ef Highlight active navigation item + various improvements.
Highlight active navigation item using Scrollspy.
Prevent navbar hiding initial content when jumping to in-page anchor.
Use material style for navbar shadow.
Change color of links in alert boxes for better visibility.
2016-11-11 06:13:11 +00:00
George Cushen 93b66d3058 Update docs 2016-11-11 01:29:43 +00:00
George Cushen 5696cf411a Update to Hugo 0.17; Support emojis; Fix #54 2016-10-22 21:39:49 +01:00
George Cushen a4bcb6cbf4 Update website icon using latest standards 2016-10-19 21:46:26 +01:00
George Cushen b8b6c88f60 Add alert shortcode
Alerts can be used to add side content such as tips, notes, or warnings to articles.
2016-10-19 00:08:54 +01:00
George Cushen c20a136e61 docs: Update 2016-10-18 03:15:55 +01:00
George Cushen b51cc00c56 posts widget: Add tags option
Allow to limit post list to posts containing specified tags.
2016-10-11 20:41:40 +01:00
George Cushen be4fd472dd docs: Update 2016-10-06 18:44:31 +01:00
George Cushen 04048a5e73 posts: Add summary parameter for overriding auto-generated summary 2016-10-06 02:05:43 +01:00
Stephan Kulla db9dcf6055 widgets: Direct inclusion of widgets (#45)
Replace the long if-else block in index.html with a direct inclusion of
the widgets.

Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-10-04 01:14:37 +01:00
George Cushen 61769e9b29 Refactor homepage sections as dedicated widgets in content/home/.
Enable full control of the order in which sections appear.
Add option to add custom Markdown content at top of widgets (e.g. to introduce sections).
Add Keybase option to config.
Use 2 space indentation.
Update docs.
Note: requires Hugo 0.16.
2016-09-24 18:22:47 +01:00
George Cushen 1f77c0572b Improve rendering of post summaries 2016-09-13 03:46:26 +01:00
Stephan Kulla 6445b7e9ec config.toml: Format comments.
Format the comments in the file `config.toml` so that the maximum width
per line is 80 characters.

License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
2016-09-12 15:31:30 +02:00
George Cushen 20ece690c8 Add avatar setting 2016-06-13 01:36:44 +01:00
George Cushen d6d9f0ea76 Add selected publications feature 2016-06-13 01:18:04 +01:00
George Cushen f75dd94998 Update docs 2016-06-05 01:08:18 +01:00
George Cushen 43d24aa6d1 Update documentation 2016-05-31 18:36:43 +01:00
George Cushen f06857f9d9 1) Add image option to page preamble to enable displaying an image in publication, post, and project page headers; 2) add detailed publication list to homepage, enabled by setting detailed_list = true under [params.publications] in config.toml. 2016-05-25 21:49:08 +01:00
George Cushen 703a6af3b2 Add social sharing setting to config.toml 2016-05-25 21:26:17 +01:00
George Cushen d03e66c7f9 Add/modify config.toml settings to customize homepage language and recent publication/post counts. Refer to exampleSite/config.toml for changes. 2016-05-24 22:20:08 +01:00
George Cushen d0f29073d2 Add project summaries to homepage; Refactor h2 headings to h1 partly so Markdown renders better; Refactor url_image setting to image; Fix #top hash location when accessing home from another page; Improve SEO; Update README 2016-05-18 22:15:35 +01:00
George Cushen be17a08fda Add option to disable email/phone linking in Contact section 2016-05-17 22:39:49 +01:00