Commit graph

40 commits

Author SHA1 Message Date
Michael Rose
3f469f268f
Improve syntax highlighting styles (#1450)
* Cleanup syntax highlighting styles
* Replace hardcoded color values with [base16](http://chriskempson.com/projects/base16/) Sass variables
* Harmonize padding between GFM code blocks and `{% highlight %}` code blocks
*  Improve readability of line numbers
* Add longer code block example to test double digit line numbers
* Adjust code block colors for specific skins
2018-01-04 20:46:10 -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
3c5e913aaf Fix line number width in code blocks
Code blocks with short line widths can cause `td.gutter` width to stretch, adding in undesired white space.

Declaring widths on the table's columns fixes #1437

Add `{% highlight linenos %}` examples to test and demo sites.
2018-01-03 09:45:21 -05:00
Michael Rose
1ad02b9022 Add author.name 2017-12-11 12:41:27 -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
a9cad4f066 Add search index excluded post
Post to test `search: false`
2017-11-28 08:38:07 -05:00
Michael Rose
ed7c12b20b Fix button class 2017-11-27 12:37:48 -05:00
Michael Rose
281c1288c2 Remove Alexa.com verification
Alexa "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature has been retired.

Close #1350
2017-11-27 11:37:33 -05:00
Michael Rose
7e8700df75 Add search page link to masthead 2017-11-15 15:04:32 -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
47f537b40d Add plum skin 2017-11-06 16:20:33 -05:00
Michael Rose
fc852d3d47 Add neon skin 2017-11-06 12:18:47 -05:00
Pradhyo Bijja
e05159c290 Aqua skin (#1336)
* Add new skin and update docs

* Better screenshots for aqua skin
2017-11-06 11:24:00 -05:00
Michael Rose
869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
Michael Rose
866fb17d9e Toggle table of contents via front matter (#1310)
* Add jekyll-toc include
* Reduce whitespace generated by comments
* Add table of contents include to `single` layout
* Replace `toc` include with jekyll-toc enabled YAML Front Matter
* Update README
* Update table of contents documentation
  - Revise `toc` helper include to mention that it will be deprecated in the next major version.
  - Add documentation to `single` layout explaining how to enable table of contents on those pages.
* Update CHANGELOG and history
* Update LICENSE

Close #1222
2017-10-20 14:54:06 -04:00
Michael Rose
93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00
Ohad Schneider
611cecc51a Test strict front matter (#1236) 2017-09-11 12:10:09 -04:00
Michael Rose
c863ba6e54 Enable Liquid strict mode for /test site 2017-09-05 09:40:20 -04:00
Ohad Schneider
c21fa07753 Posts by Tag (singular) (#1209)
Correct "Posts by Tag" (singular) to be more consistent with "Posts by Category"

* Update tag-archive.html
* Update about.md
* Update 10-layouts.md
* Update README.md
* Update 14-helpers.md
2017-08-29 22:03:13 -04:00
Michael Rose
f1afdf0397 Extend grid view to the right to better fill the page
- Use a negative right margin to pull `.grid__wrapper` into the dead space left for a sidebar.
- Add sample documents to "portfolio" collection to test grid view
- Update CHANGELOG and history
2017-08-09 13:00:33 -04:00
Michael Rose
3b3905c44f Improve page and archive layouts (#1166)
* Fix collapsed white-space above pagination links

* Improve `page` and `archive` layout
- Center main content on page
- Harmonize sidebar columns to be equal widths

Fixes #1155

* Update CHANGELOG and history

* Position and align right sidebar with the top of the main content

* Offset right sidebar at `$large` viewport

* Add TOC bottom include test post

* Add right sidebar styling edits to documentation site

* Add TOC bottom include test post
2017-08-08 14:41:46 -04:00
Ashwin Maroli
97b37ba863 Use a plugin to read data files from gem
- jekyll-data v1.x
  - jekyll 3.5 automatically requires a theme's runtime deps
  - jekyll v3.5.0 had bugs. Hence use v3.5.1 and beyond
2017-07-19 09:55:45 +05:30
Michael Rose
261fb159dd Change gems key in config to plugins 2017-07-07 15:35:49 -04:00
Michael Rose
2feb3d2ab4 Replace Gist Liquid tag with embed script 2017-07-07 15:33:19 -04:00
Sebastian Wiesner
cf4f8277c1 Replace modified with last_modified_at (#930)
Fixes #929
2017-04-04 09:12:32 -04: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
4dc7010250 Add zh-TW UI text to /docs and /test 2017-02-15 09:02:50 -05:00
Michael Rose
f7a8e28914 Add Korean localized UI text 2017-02-14 14:28:41 -05:00
Michael Rose
3fb35310a0 Add Russian localized UI text to test and documentation site
- Close #815
2017-02-14 14:14:31 -05:00
Michael Rose
d2ac1aebec Add long title for testing purposes 2017-02-13 22:13:53 -05:00
Michael Rose
638c11b773 Improve video helper documentation 2017-01-24 10:09:38 -05:00
Michael Rose
aeedd52864 Add Nepali (Nepalese) text 2017-01-24 09:42:49 -05:00
Michael Rose
f46cc734a4 Complete Simplified Chinese Translation of Theme UI (#747) 2017-01-09 21:52:44 -05:00
Michael Rose
7ad8d79f93 Fix author.youtube conditional in author sidebar 2016-12-21 22:43:21 -05:00
Michael Rose
a41eee9516 Add support for YouTube channel URLs in author sidebar
- Close #716
2016-12-21 22:29:26 -05:00
Michael Rose
19badee452 Slight correction/improvements to French 2016-12-01 15:43:41 -05:00
Michael Rose
9e2eed911f Make changes for /test 2016-11-17 15:13:55 -05:00
Michael Rose
db8bbfcfab Add sample sidebar navigation post 2016-11-17 15:12:18 -05:00
Michael Rose
91afe6c2d8 Add rake preview task for testing /test during theme development 2016-11-16 11:21:56 -05:00
Michael Rose
57a4324fa0 Move gh-pages branch files into /docs and add test files
- Jekyll ignore `/docs` and `/test` folders when using from root
- Update Staticman config to point to correct branch and data file location
- Replace `{{ base_path }}` references with `absolute_url` filter
- Update documentation
2016-11-03 11:52:04 -04:00