From 9a0a95fc24d14a44fcf88164000c5432d0dcc2a4 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 2 Apr 2018 20:55:22 -0400 Subject: [PATCH] Add layouts (#60) * Add new layouts * Add sample collection documents and pages * Move `footer` * Style archive related things * Update CHANGELOG * Disable hero image overlay by default * Add support for post thumbnails * Add grid layout * Add suggested image sizes * Add layout for grouping posts by year * Document new layouts * Add issue template * Add sample content to demo new layouts * Add sample archive pages to navigation * Add comma * Release 1.4.0 :gem: --- .github/ISSUE_TEMPLATE.md | 63 ++++++ CHANGELOG.md | 8 +- README.md | 188 ++++++++++++++---- _includes/documents-collection.html | 19 ++ _includes/entry.html | 8 + _includes/footer.html | 14 +- _includes/page-intro.html | 2 +- _includes/page-tags.html | 14 ++ _includes/posts-category.html | 3 + _includes/posts-tag.html | 3 + _layouts/about.html | 2 - _layouts/categories.html | 48 +++++ _layouts/category.html | 9 + _layouts/collection.html | 9 + _layouts/default.html | 3 +- _layouts/home.html | 4 +- _layouts/page.html | 2 - _layouts/post.html | 2 - _layouts/posts.html | 29 +++ _layouts/tag.html | 9 + _layouts/tags.html | 48 +++++ _sass/basically-basic.scss | 2 +- _sass/basically-basic/_entries.scss | 114 +++++++++-- _sass/basically-basic/_footer.scss | 24 +++ _sass/basically-basic/_global.scss | 74 +++++++ _sass/basically-basic/_variables.scss | 2 +- assets/javascripts/main.js | 2 +- docs/_config.yml | 13 ++ docs/_data/theme.yml | 2 + docs/_recipes/chocolate-chip-cookies.md | 35 ++++ docs/_recipes/oatmeal-cookies.md | 27 +++ docs/_recipes/peanut-butter-cookies.md | 27 +++ .../images/chocolate-chip-cookies-400x200.jpg | Bin 0 -> 25616 bytes .../images/chocolate-chip-cookies-lg.jpg | Bin 0 -> 201549 bytes .../assets/images/oatmeal-cookies-400x200.jpg | Bin 0 -> 31499 bytes docs/assets/images/oatmeal-cookies-lg.jpg | Bin 0 -> 234827 bytes .../images/peanut-butter-cookies-400x200.jpg | Bin 0 -> 30287 bytes .../images/peanut-butter-cookies-lg.jpg | Bin 0 -> 333085 bytes docs/categories.md | 5 + docs/edge-case.md | 8 + docs/markup.md | 8 + docs/posts.md | 6 + docs/recipes.md | 9 + docs/tags.md | 5 + example/_config.yml | 13 ++ example/_data/theme.yml | 4 + example/_recipes/chocolate-chip-cookies.md | 35 ++++ example/_recipes/oatmeal-cookies.md | 27 +++ example/_recipes/peanut-butter-cookies.md | 27 +++ .../images/chocolate-chip-cookies-400x200.jpg | Bin 0 -> 25616 bytes .../images/chocolate-chip-cookies-lg.jpg | Bin 0 -> 201549 bytes .../assets/images/oatmeal-cookies-400x200.jpg | Bin 0 -> 31499 bytes example/assets/images/oatmeal-cookies-lg.jpg | Bin 0 -> 234827 bytes .../images/peanut-butter-cookies-400x200.jpg | Bin 0 -> 30287 bytes .../images/peanut-butter-cookies-lg.jpg | Bin 0 -> 333085 bytes example/categories.md | 5 + example/edge-case.md | 8 + example/markup.md | 8 + example/posts.md | 6 + example/recipes.md | 9 + example/tags.md | 5 + jekyll-theme-basically-basic.gemspec | 2 +- 62 files changed, 914 insertions(+), 85 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 _includes/documents-collection.html create mode 100644 _includes/page-tags.html create mode 100644 _includes/posts-category.html create mode 100644 _includes/posts-tag.html create mode 100644 _layouts/categories.html create mode 100644 _layouts/category.html create mode 100644 _layouts/collection.html create mode 100644 _layouts/posts.html create mode 100644 _layouts/tag.html create mode 100644 _layouts/tags.html create mode 100644 docs/_recipes/chocolate-chip-cookies.md create mode 100644 docs/_recipes/oatmeal-cookies.md create mode 100644 docs/_recipes/peanut-butter-cookies.md create mode 100644 docs/assets/images/chocolate-chip-cookies-400x200.jpg create mode 100644 docs/assets/images/chocolate-chip-cookies-lg.jpg create mode 100644 docs/assets/images/oatmeal-cookies-400x200.jpg create mode 100644 docs/assets/images/oatmeal-cookies-lg.jpg create mode 100644 docs/assets/images/peanut-butter-cookies-400x200.jpg create mode 100644 docs/assets/images/peanut-butter-cookies-lg.jpg create mode 100644 docs/categories.md create mode 100644 docs/edge-case.md create mode 100644 docs/markup.md create mode 100644 docs/posts.md create mode 100644 docs/recipes.md create mode 100644 docs/tags.md create mode 100644 example/_recipes/chocolate-chip-cookies.md create mode 100644 example/_recipes/oatmeal-cookies.md create mode 100644 example/_recipes/peanut-butter-cookies.md create mode 100644 example/assets/images/chocolate-chip-cookies-400x200.jpg create mode 100644 example/assets/images/chocolate-chip-cookies-lg.jpg create mode 100644 example/assets/images/oatmeal-cookies-400x200.jpg create mode 100644 example/assets/images/oatmeal-cookies-lg.jpg create mode 100644 example/assets/images/peanut-butter-cookies-400x200.jpg create mode 100644 example/assets/images/peanut-butter-cookies-lg.jpg create mode 100644 example/categories.md create mode 100644 example/edge-case.md create mode 100644 example/markup.md create mode 100644 example/posts.md create mode 100644 example/recipes.md create mode 100644 example/tags.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..206761f --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,63 @@ + + +## Description + + + +## Environment + + + +- Basically Basic version: +- Ruby gem or remote theme version: +- Jekyll version: +- Git repository URL: +- Operating system: +- GitHub Pages hosted (if yes provide URL to site): + +--- + +## Expected behavior + + + +## Steps to reproduce the behavior + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 36debc4..2d3545e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## [1.4.0] - 2018-04-02 ## Changed - Lint JavaScript. @@ -13,11 +13,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Accessibility enhancements for Lunr search form. -- Add SCSS `$intro-image-color-overlay` variable to disable color overlay on hero images. [#55](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/55) +- Add SCSS `$intro-image-color-overlay` variable to enable color overlay on hero images (disabled by default). [#55](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/55) +- Add new archive layouts: `posts`, `categories`, `category`, `collection`, `tag`, and `tags`. +- Add grid layout via `entries_layout: grid` front matter. +- Add support for image thumbnails vial `image.thumbnail` front matter. ### Fixed - Fix Firefox [flexbox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=939897) when printing pages. - Fix search excerpts that run together because of implied spaces. +- Moved `