Commit graph

17 commits

Author SHA1 Message Date
Michael Rose
afd8cfd99e Fix empty <img> when site_logo is not assigned
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876
2019-01-16 11:06:54 -05:00
Evan Debenham
282806ae07 Add logo and title customization to the masthead (#2026)
* Add logo and title customization to the masthead

* Adjust config description

* Add test site logo to `/test`

* Document `site.logo` and `site.masthead_title`

* Update CHANGELOG and history
2019-01-15 09:07:56 -05:00
Sean Killeen
a81ed706da Accessibility: Add aria-label to the search button (#2014)
* Accessibility: Add aria-label to the search button
* Update button aria text
* Add aria text to menu toggle
* Add span for search toggle
* Update span for menu label & remove aria
* Update ui-text.yml to add search_label
2019-01-01 18:33:51 -05:00
Luc Sarzyniec
f5c33989c8 Fix: use relative links for menu items when possible (#1783) (#1784) 2018-08-13 08:00:39 -04:00
Michael Rose
c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Michael Rose
614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Michael Rose
7eb00bbd61
Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose
87731836ee Remove extra spaces 2017-12-04 14:45:57 -05:00
Maaz Syed Adeeb
634d2884a2 Tooltips for masthead links (#1380) 2017-12-04 14:44:39 -05:00
Michael Rose
aeebfaa87c Improve accessibility of navigation menu button
Add `type` and label text.

Fixes #1099
2017-10-04 11:10:41 -04:00
Michael Rose
1cbac04650 Update GreedyNav to use flexbox instead of display: table
- ref #836
2017-02-13 22:15:57 -05:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Michael Rose
d7df394a5e Make base_path available to all includes that need it 2016-04-14 14:45:48 -04:00
Michael Rose
7c1bddf704 Refine masthead 2016-04-03 21:23:24 -04:00
Michael Rose
678aecdd61 Build navigation list include helper
- Update navigation.yml to support multiple navigations and levels
- Optional include navigation into left sidebar
2016-03-25 14:12:03 -04:00
Michael Rose
4df2367e1c Add "priority plus" navigation pattern for masthead links 2016-03-21 16:01:19 -04:00
Michael Rose
f63b8fe294 Add file extensions back to non-helper _includes 2016-03-10 21:13:01 -05:00
Renamed from _includes/navigation (Browse further)