Simplify code to get content name by using `.File.ContentBaseName` -
it gets content name irrespective of whether page is a bundle or not.
See #800
BREAKING CHANGE
`url_project` can now only be used to link pages to external websites.
To link a page to a project page, use `projects` option.
* Search icon added to navbar if search enabled in config
* New search dialog added which overlays current page when searching
* The docs search box now opens the new search dialog instead of
displaying results within the docs page itself
Close#784
BREAKING CHANGE:
Search widget is deprecated and `content/home/search.md` should be
removed
To use:
1. Create a gallery album folder in page bundle
2. Add images to album folder
3. Paste `{{< gallery album="<ALBUM FOLDER>" >}}` in your page content
Close#786
* add project showcase layout, set `view = 2` in `projects.md` to use
* revert card view to use resized images rather than cropped images
* fix project filters for tags with non-ASCII (i18n) characters
* add single column wide layout for project widget, to use set
`widget_layout` in `projects.md`
* add `flip_alt_rows` widget option to flip alternate rows in showcase
mode
* `url_` link buttons can now be added for projects
* all link buttons now appear in page header rather than under a 'links'
section within the page
* Markdown slides can now be linked from any page by using new `slides`
option
* Isotope JS is now only activated when required (i.e. when using card
view or when filters are defined)
* `links` translation removed from i18n
* consolidate talk, pub., and new project links files into new single
`page_links.html` for all pages
* move project widget layouts to their own files
Close#764Close#785Close#776Close#645Close#326
BREAKING CHANGE:
CSS class names of project tags are now prefixed with `js-id-` to
namespace them and prevent clashes with existing CSS classes.
Migrate any filter `tag`s in `projects.md` that are prefixed `.` to the
new `.js-id-` prefix.
- featured image: Enable focal point to be set by user in front matter
- pages: Featured image responsively transforms to split view on XL monitors
- pages: Refactor page title, metadata, and image into one reusable module
- archetypes: Migrate to folder approach and update image options
- post widget: Refactor detailed layout to use featured image
- accessibility: Add alt tag to header and featured image
- accessibility: Improve text contrast based on Lighthouse audit
- publication: Entirely deprecate old `image` front matter option
- docs: Remove header image option (was never a documented feature)
- project widget: Add `noopener` to external links
See #708Fix#728Fix#704Fix#705
See #718
- Require Hugo v0.49
- Refactor project archetype to new Hugo v0.49 directory-based archetype
- Deprecate `image_preview` option
- Revise demo projects to use new functionality
See #708
To use:
1. Set `list_format = 2` in `content/home/posts.md`
2. Refactor a post named `X.md` to `content/post/X/index.md`
3. Add an image named `featured.*` to your post's new folder
* See `exampleSite/content/home/experience.md` for demo
* Add `present` to language pack
Also:
* Enable color theme packs to change link color
* Reduce font size in docs sidebar
Close#378
- Close#405
- See #681 (improve consistency after #571 Bootstrap 4 migration)
- Add `search_results` to language file
- example site: Add example `tutorial` folder
- example site: Set privacy page to hidden (draft)
Complement existing integration of Algolia search engine with
alternative option of built-in search engine based on Fuse.
Setting `engine = 1` in `config.toml` will enable the built-in solution.
Close#635
Allows to create an entirely offline site.
To use, concatenate vendor JS to `static/js/vendor/main.min.js` and
concatenate vendor CSS to `static/css/vendor/main.min.css`.
See #489
Fix case where tag may contain spaces
Allow `tag` to be set directly to the name of an existing tag,
e.g. `tag = "Deep Learning"` rather than requiring the CSS class name
like `tag = ".deep-learning"`.
Close#602
Fix#594 - error was caused by case mismatch between case of tag in
content front matter and case of tag in name of custom tag page folder.
Rather than rename the tag folder from 'academic' to 'Academic' to match
the tag case in the content front matter, let's just delete it for now.
Close#594