Commit graph

156 commits

Author SHA1 Message Date
safaer
1e78b160ca exit search screen with Esc key (#2055)
* exit search with esc key feature is added
* closing search screen with esc key feature is added to _main.js
2019-02-11 16:00:14 -05:00
Michael Rose
246c678028 Compile main.min.js 2019-02-08 12:29:35 -05:00
정승원
81f7851347 [fix] syntax error of non-english character (#2042)
* Dear the make of one of the world's greatest jekyll theme.

[problem]
I found that
'Syntax Error' occurs when non-english character is included in some html elements(e.g h2, h3 ...) and 'toc' is generated based of that elements.

[debug]
Click the any element of auto generated 'toc' in the below link.
https://aliwo.github.io/swblog/series/principles_of_python/object/#%EA%B0%9D%EC%B2%B4%EC%99%80-%ED%81%B4%EB%9E%98%EC%8A%A4%EC%9D%98-%EC%A0%95%EC%9D%98

[fix]
This happens because escaped url string get right in to jquery. So I fixed it with
javascript's 'decodeURI' function! :)

* rollback unnecessary changes
2019-02-08 12:28:56 -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
Michael Rose
c44e65cdec Release 4.15.0 💎 2019-01-16 08:26:45 -05:00
Erik Demaine
1b7e8335fe Fix scrollspy on link clicking, and # for top of page (#2023) 2019-01-15 08:08:41 -05:00
Erik Demaine
04e1614184 Define $active-color in terms of $primary-color 2019-01-04 15:46:01 -05:00
Erik Demaine
6990f8fcc9 Use jQuery throttle library 2019-01-04 12:57:33 -05:00
Erik Demaine
f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00
Erik Demaine
33551c8cdb Clicking TOC links changes hash fragment (#2019)
* Fix smooth scroll breaking back button #1767
* Change URL's hash fragment when clicking on TOC
* Switch from hashchange to popstate event handler

This seems to have better behavior with the Forward button, on page load,
and always scrolls in the right direction.

Close #1767
2019-01-04 12:31:38 -05:00
Michael Rose
9232a38f2a Release 4.14.2 💎 2019-01-01 19:13:16 -05:00
Justin Rummel
f27bd39a41 lunr 2.3.5 update (#2010) 2019-01-01 17:05:06 -05:00
Justin Rummel
82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
Michael Rose
763d1c1bb5 Release 4.14.1 gem 2018-11-26 08:17:49 -05:00
Michael Rose
ed09740b42 Release 4.14.0 💎 2018-11-25 23:02:49 -05:00
Justin Rummel
e665944f26 Update LUNR to 2.3.3 (#1885)
Close #1882
2018-10-09 14:48:51 -04:00
Ben McGough
05d296c247 Fix Lunr search index merging words (#1884)
Close #1883
2018-10-09 13:54:36 -04:00
Michael Rose
2f40bb6403 Release 4.13.0 💎 2018-09-10 19:38:50 -04:00
Michael Rose
b0ff6ef4c6 Release 4.12.2 💎 2018-09-02 12:18:51 -04:00
Michael Rose
7760108601 Release 4.12.1 💎 2018-08-07 22:59:46 -04:00
Michael Rose
ae99717eb6 Release 4.12.0 💎 2018-06-22 15:16:17 -04:00
Michael Rose
f4ffaa2aeb Release 4.11.2 💎 2018-05-03 19:32:48 -04:00
Michael Rose
1ab092bcd4 Release 4.11.1 💎 2018-03-20 17:30:07 -04:00
Michael Rose
5e60d2d3c5 Fix search excerpts that run together 2018-03-20 11:48:30 -04:00
Michael Rose
7239604922 Release 4.10.1 💎 2018-03-12 19:32:55 -04:00
Michael Rose
73d82964a2 Update jQuery to v3.3.1
Close #1491
2018-02-16 15:19:01 -05:00
Michael Rose
356c1eb093 Focus Algolia search input 2018-02-16 15:12:57 -05:00
Michael Rose
ba9079041b Release 4.10.0 💎 2018-02-16 14:27:49 -05:00
Michael Rose
b9d9dc11bf Release 4.9.1 💎 2018-02-05 14:41:43 -05:00
Michael Rose
527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose
046d93d05b Add copyright and version back 2018-01-10 11:17:50 -05:00
Michael Rose
f349dff2ee Minify lunr.js 2018-01-10 11:14:59 -05:00
Michael Rose
eaf50acea6 Release 4.9.0 💎 2018-01-04 22:52:11 -05:00
Michael Rose
267d2c96a0 Reduce white-space to trim down filesize 2018-01-04 20:52:01 -05:00
Nick Garlis
3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Michael Rose
e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -05:00
Nick Garlis
6fe3b9cd1c Add lunr-gr.js and fix lunr-en.js (#1445)
* Remove Lunr trimmer & bring back colons
* Add Greek Stemmer
* Translate `search_placeholder_text` and `results_found` to Greek
2018-01-03 12:44:37 -05:00
Michael Rose
df61273db7 Release 4.8.1 💎 2017-12-28 14:10:48 -05:00
Nick Garlis
7e6a46c447 Update Lunr (#1419)
* Update Lunr to 2.1.5
* Remove colons from query string

Fixes #1419
2017-12-28 13:56:10 -05:00
Michael Rose
c2d9791a9b Release 4.8.0 💎 2017-12-07 10:28:54 -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
7b3ddfefdf Simplify search: true conditionals
Replace `unless` tags with `where_exp` to test if `search: false`.
2017-11-28 09:30:33 -05:00
Nick Garlis
599712ed58 Add option to search in specific collections (#1369) 2017-11-28 08:40:12 -05:00
Louis Matthijssen
0841d49653 Fix lunar-en.js layout (#1356)
Without layout set to null a HTML template will be rendered around the
JavaScript, causing an error while loading the file in the browser.
2017-11-20 15:03:51 -05:00
Nick Garlis
fa3647172d 🔧 mistake in excerpt (#1354) 2017-11-20 15:00:07 -05:00
Michael Rose
19f6d32745 Replace hardcoded text with strings stored in _data file 2017-11-15 15:50:29 -05:00
Nick Garlis
cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Michael Rose
e09753fa0a Release 4.7.0 💎 2017-11-06 20:22:30 -05:00
Michael Rose
8dcd353e90 Release 4.6.0 💎 2017-09-12 14:59:06 -04:00
Michael Rose
58b8cf8416 Add pre to version 2017-09-12 13:01:45 -04:00
Michael Rose
1570e85fb1 Update Magnific Popup to v1.1.0 2017-09-12 12:54:17 -04:00
Michael Rose
7845654225 Update jQuery Smooth Scroll to v2.2.0 2017-09-12 12:48:59 -04:00
Michael Rose
38c2bdbfd8 Update jQuery
Theme targets IE9+ allowing for using the newer/smaller version
2017-09-12 12:42:52 -04:00
Michael Rose
dc47f82af2 Bump 💎 to 4.5.2 2017-09-06 15:14:15 -04:00
Michael Rose
1629f0e4a7 Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
Michael Rose
709a1e8583 Remove blank YAML Front Matter from JavaScript banner
- No longer needed ref: https://github.com/jekyll/jekyll/pull/5918

Ref: https://github.com/mmistakes/minimal-mistakes/issues/1158
2017-08-06 10:43:36 -04:00
Michael Rose
13e299a8f3 Release 💎 4.5.0 2017-08-04 12:41:05 -04:00
Michael Rose
6b9afaa8b7 Fix disappearing author sidebar links
- Close #1136
2017-08-04 11:55:10 -04:00
Michael Rose
0f2d564837 Bump version to 4.4.2 2017-07-07 15:49:17 -04:00
Michael Rose
128977691a Toggle close button on mouseleave
- Close #975
2017-04-27 15:55:49 -04:00
Michael Rose
9361c53c43 Release 💎 4.4.1 2017-04-21 20:03:08 -04:00
Michael Rose
e0099ffa5a Transition “hamburger” navicon on click to “X” navicon by adding .close to button
- Close 969
2017-04-21 20:00:14 -04:00
Michael Rose
19568e95ae Release 💎 4.4.0 2017-04-18 12:58:46 -04:00
Michael Rose
b6e14cbf18 Bump version to 4.3.1 2017-03-16 10:31:43 -04:00
Michael Rose
7316be4280 Bump version to 4.3.0 2017-02-28 10:42:20 -05:00
Michael Rose
b9d86f3989 Add banner text to main.min.js (#880)
- Add `---` YAML Front Matter as a workaround to allow the theme gem's version to be overridden locally.
- Adjust page scope in Front Matter default to avoid adding a layout to `main.min.js`
- Fixes #874, Fixes #722
2017-02-28 10:06:18 -05:00
Michael Rose
a488a6b0fe Run through Autoprefixer 2017-02-14 12:42:50 -05:00
Michael Rose
943456cae7 Update GreedyNav.js 2017-02-13 22:15:02 -05:00
Michael Rose
3c93905e23 Update GreedyNav.js 2017-02-13 22:14:10 -05:00
Michael Rose
55843c5dca Remove position: sticky JavaScript polyfill
- Fallback to default positioning for browser that don't support it IE, Chrome < 56, etc.
- Issue #752
2017-01-05 11:48:37 -05:00
Michael Rose
9a9cbc01e3 Make footer stick to the bottom of the page
- Use JavaScript to determine height of `.page_footer` to apply padding to `body` avoiding any content overlap
- Absolute position `.page_footer` to bottom of the page
2016-07-20 09:10:37 -04:00
Matthew Aguirre
97c081eb22 Updated main.min.js 2016-07-14 10:26:14 -04:00
Matthew Aguirre
cd79ac9a64 Fixed condition that should be notted. 2016-07-14 10:24:10 -04:00
Matthew Aguirre
e5147f8de9 Fixed overlay when 'author__urls-wrapper button' is not present. 2016-07-14 10:13:08 -04:00
Michael Rose
54a8646901 Enable image popup on < 500px wide screens
- Close #385
2016-07-07 09:53:25 -04:00
Matthew Aguirre
c3e2272a6f Updated check for button vizability instead of window width. 2016-06-23 21:00:40 -04:00
Michael Rose
f7c6ddf490 Update vendor JS and build
- Update jQuery to 1.12.4
- Update Stickyfill.js to 1.1.4
2016-06-23 09:59:34 -04:00
Michael Rose
4c1eac7407 Build JS
- Close #372
2016-06-23 09:47:51 -04:00
Matthew Aguirre
9bd96ec92f Fixed disappearing menu. 2016-06-22 18:59:16 -04:00
Michael Rose
4df2367e1c Add "priority plus" navigation pattern for masthead links 2016-03-21 16:01:19 -04:00
Michael Rose
a2a4f84580 Improve social follow popover button 2016-03-21 00:03:46 -04:00
Michael Rose
abb89f7eb6 Hide social urls behind a button 2016-03-20 22:15:43 -04:00
Michael Rose
780b30c9f6 Massage the grid layout 2016-03-20 15:20:33 -04:00
Michael Rose
af16afdaf2 Combine SCSS and JS into one assets folder 2016-03-17 21:32:55 -04:00
Michael Rose
f85dd7aee2 Enable Stickyfill on screen width > 768px 2016-03-17 15:38:07 -04:00
Michael Rose
e72642539e Revert "Remove position: sticky polyfill"
This reverts commit 6ab127f293.
2016-03-17 15:07:30 -04:00
Michael Rose
6ab127f293 Remove position: sticky polyfill 2016-03-16 16:47:28 -04:00
Michael Rose
72661942cf Cleanup table of contents styling 2016-03-14 23:02:06 -04:00
Michael Rose
c7a7a5d707 Enable sticky sidebar
- Hide sidebar on small screens
2016-03-14 21:30:03 -04:00
Michael Rose
5d9e0af805 More style cleanup and housekeeping 2016-03-11 15:55:06 -05:00
Michael Rose
1ccd5f6bf0 Edit sidebar and page meta styles 2016-03-10 22:29:30 -05:00
Michael Rose
3df0afbdc9 Add smooth scroll and sticky scripts 2016-03-10 13:06:17 -05:00
Michael Rose
2b494bb9d8 Update vendor files
- Drop IE8 polyfill scripts
2016-03-09 21:23:27 -05:00
Michael Rose
c19cd2a391 Replace Grunt tasks with Gulp 2016-03-07 22:20:32 -05:00
Michael Rose
d5a0a2e585 Fix typo in menu button class
- .navtoogle should be .navtoggle
- Fixes #175
2015-08-19 12:50:58 -04:00
Craig Dodd
f06b4c163d Remove trailing whitespace 2015-04-17 11:43:36 +01:00
Michael Rose
d0313bd423 Fix broken TOC toggle 2014-10-03 15:14:20 -04:00
Michael Rose
23cb7ecaeb Convert .less to .scss 2014-07-31 14:57:13 -04:00
Michael Rose
33d5d966f3 Remove style conflict between Gist lines and navicon-lines.
Fixes #49
2014-04-15 15:42:47 -04:00
Michael Rose
db2981d253 Add .JPG and .jpeg extensions to Magnific Popup lightbox call. Fixes #33 2014-03-14 08:37:12 -04:00