Commit graph

24 commits

Author SHA1 Message Date
iBug ♦
bcd6126612
Use relative_url and absolute_url where possible (#2387)
* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
2020-03-06 15:37:07 -05:00
iBug ♦
1799ddd6a5
Regression for mmistakes#2332 (#2385)
* Regression for mmistakes#2332

There's already a `relative_url` in place, shouldn't stack up another

* Update CHANGELOG and history
2020-01-29 12:48:13 -05:00
dmitrypv
abf29432f6 Update masthead.html (#2332)
* Update masthead.html

fix image path in masthead for relative url

* Update _includes/masthead.html

Co-Authored-By: iBug ♦ <git@ibugone.com>
2019-12-19 11:37:11 -05:00
Michael Rose
8b708a0ee3 Use span instead of div element 2019-07-17 11:46:37 -04:00
Jan De Luyck
cfad550975 Display site subtitle in masthead (#2205)
* Add site subtitle
* Tabs vs spaces - the ancient conflict
* updates cfr PR #2205
* Perhaps also add the closing anchor
* Make sure we check for the right variables...
* Brown paper bag - subtitle, not description
2019-07-17 11:43:25 -04:00
Michael Rose
d41a284bd2 Fix site.logo false positives 2019-01-23 20:05:17 -05:00
Alex Malaszkiewicz
d0d267697e Add empty alt attribute to img tag with logo (#2035)
* Provide empty alt attribute (alt="") for logo image, because it does not provide information
2019-01-23 19:34:43 -05:00
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)