Skip to content

Commit 5ad77f9

Browse files
committed
beautiful theme for pages site
1 parent 2fad459 commit 5ad77f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4511
-47
lines changed

docs/404.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: default
3+
title: 404 - Page not found
4+
permalink: /404.html
5+
---
6+
7+
<div class="text-center">
8+
<h1>Whoops, this page doesn't exist.</h1>
9+
<h1>Move along. (404 error)</h1>
10+
<br/>
11+
12+
<img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" alt="Not found" />
13+
</div>

docs/CHANGELOG.md

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
## Unreleased version
2+
3+
- Added `navbar-var-length` config setting that allows the navigation menu to be the same length as the longest sub-menu, so that long words in the submenu are not cut off (#765)
4+
- Added `post_search` config setting that creates a Search button in the navbar (older websites need to set `post_search: true` to enable this feature) (#770)
5+
- Added `edit_page_button` config setting that adds a "Edit page" button to the footer (to edit the current page on GitHub) (#1004)
6+
- BREAKING CHANGE: More control over RSS feed sharing: previously, an RSS feed was *always* generated, and if the config setting `rss-description` was set then there was an RSS icon in the footer. Now, an RSS feed is only generated when the config setting `rss-description` exists, and an RSS footer icon is only shown if `rss: true` is set in the `social-network-links` config settings
7+
- Fixed page titles, subtitles, and excerpts rendering correctly when there are special characeters in them (#856)
8+
- Slightly reworked margins and position for avatar image to resolve an alignment issue on Safari.
9+
- Changed the width at which the navbar collapses to a higher threshold because most modern non-mobile browsers are >1000px
10+
- Fixed bug where navbar secondary level dropdown items didn't inherit the same colour as the primary navbar links
11+
- Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour
12+
- Fixed bug where using an image as a navbar title did not render in GitHub Project pages that did not have a custom domain
13+
- Fixed issue where image thumbnails on the feed page were always forced into a square rather than maintaining a proper image aspect ratio
14+
- Added support for Patreon, Medium, and Itch.io in the social network links in the footer (#783, #788)
15+
- Fixed bug where special characters in the title led to broken share tags (#744)
16+
- Updated staticman from using v2 (public servers) to v3 (private servers) due to the public servers becoming obsolete (#775)
17+
- Added support for Cloudflare Analytics (#797)
18+
- Added Reddit in share options of posts (#815)
19+
- Added support for giscus comments (#886) and CommentBox (#960)
20+
- Fixed bug where staticman didn't work jQuery slim version is used (#766)
21+
- Fixed very long strings to wrap around the next line rather than go off-screen (#787)
22+
- Added `footer-hover-col` config setting to customize the hover colour of links in the footer (#848)
23+
- Added social network links for Discord (#907), Kaggle (#961), and Hackerrank (#978)
24+
- Made the home page feed more accessible for screen readers (#950)
25+
26+
## v5.0.0 (2020-09-15)
27+
28+
One of the major changes in this version is that a lot of time was spent on rethinking the entire SEO and social media sharing model (how a page looks on eg. Google, Twitter, Facebok). It was redesigned to be more simple and customizable. The new documentation has a section dedicated to SEO and social media sharing of a page. Unfortunately some changes that are not backwards-compatible had to be made.
29+
30+
#### Breaking changes
31+
32+
- Renamed `description` YAML parameter to `share-description` to be more clear
33+
- Renamed `description` config setting to `rss-description` since it was only used in RSS (the FAQ explains the difference between YAML parameters and config settings if you're confused)
34+
- Removed YAML parameter `use-site-title` (you can now specify the exact title using `share-title`)
35+
- Removed undocumented YAML parameters `meta-title` and `meta-description`
36+
- Removed `link-tags` config setting because it wasn't necessary. If you use tags, there will now always be a tags page created; if you don't use tags there won't be a tags page.
37+
- The YAML parameter `show-avatar` is now true by default. This has always been the case for GitHub Pages users, but not for `remote_theme` users. For consistency, it's now the default for everyone. (#715)
38+
39+
#### New parameters and settings
40+
41+
- Added `full-width` YAML parameter to allow having full-width pages
42+
- Added `feed_show_excerpt` config setting to show/hide the post excerpts on the feed page
43+
- Added `feed_show_tags` config setting to show/hide the list of tags on post previews on the feed page
44+
- Added `share-title` YAML parameter to give control over the search engine/social media title
45+
- Added `last-updated` YAML parameter to show a "Last Updated on" date for blog posts
46+
- Added `before-content` and `after-content` YAML parameters that allow you to add some common HTML before the main content of a page (below the title) or after the main content (above the footer). Works in a similar way to `footer-extra`.
47+
- Added `head-extra` YAML parameter which is similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
48+
- Added `site-js` config setting to provide JavaScript files that are used on all pages in the site
49+
50+
#### New features and improvements
51+
52+
- Improved the `footer-extra` YAML parameter to support multiple files instead of only a single file
53+
- Added automatic navbar color detection (#702)
54+
- When `nav-short` is turned on, the avatar will also be shorter
55+
- Changed navbar and footer background colour to be slightly darker, for better contrast with the default white page background for accessibility reasons
56+
- Changed the behaviour of `site-css` to include site-wide CSS file **before** instead of after page-specific files
57+
- Renamed internal css/js files from "main" to "beautifuljekyll" to make it easier for users to troubleshoot
58+
- Added alt text to all images for better accessibility
59+
- Made thumbnail images square instead of circles, as users reported that circles cut off important parts of images
60+
61+
#### Bug fixes
62+
63+
- Fixed rendering issues with `nav-short` parameter that caused the body of the page to start too low
64+
- Fixed some CSS styles that broke during the bootstrap 4 migration (#716)
65+
66+
#### Library upgrades
67+
68+
- Upgraded kramdown to version 2.3.0 to fix security issues
69+
- Upgraded jQuery to version 3.5.1 to fix a couple security vulnerabilities with the previous version
70+
71+
72+
## v4.1.0 (2020-08-08)
73+
74+
- Added Open Graph `site_name` meta field to pages automatically
75+
- Added `text-col` config setting for main text color (#694)
76+
- Added `keywords` config setting to set the meta keywords on all pages (for SEO purposes) (#691)
77+
- Added `mobile-theme-col` config setting to allow a mobile theme colour (#692)
78+
- Added `site-css` config setting in the config file to provide CSS files that are used on all pages in the site (#695)
79+
- Added YAML parameter `description`: creates the meta description on a page, intended to provide a brief description of the page for search engines and when the page is shared (#690)
80+
81+
## v4.0.1 (2020-07-13)
82+
83+
- Fixed staticman comments UI that was broken since the migration to bootstrap 4
84+
85+
## v4.0.0 (2020-07-12)
86+
87+
- **BREAKING CHANGE** Replace `image` YAML parameter with `thumbnail-img` to be more clear
88+
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
89+
- Cover image will automatically be used as thumbnail if none is provided
90+
- Image to share on social media will use the cover image or thumbnail if none is provided
91+
- All images (social media share, thumbnail, cover) can use either relative or absoluate paths.
92+
- Fixed issue where if a dropdown menu was the last item in the menu bar, it did not have a proper margin on the right
93+
- Added social network links: Mastodon (#646), Google Scholar, ORCID (#670)
94+
- Added support for sharing pages on new social network: VK (#657)
95+
- Use Open Graph type 'article' for blog posts (#669)
96+
- Use Twitter's large sumary card (large image) when there is a cover image, thumbnail image, or share image specified (#668)
97+
- Made post images in the feed page smaller on smaller devices
98+
- Fixed jQuery version in staticman (#671)
99+
100+
## v3.0.0 (2020-05-07)
101+
102+
- **BREAKING CHANGE** Upgraded from Bootstrap 3.3.2 to 4.4.1. This involved a major rewrite of most components. This shouldn't affect any users unless you have custom HTML/CSS code which the new Bootstrap could have broken.
103+
- **BREAKING CHANGE** Renamed `bigimg` YAML parameter to `cover-img`
104+
- **BREAKING CHANGE** Removed `googlefonts` YAML parameter since googlefonts are just CSS so they can be loaded via `ext-css`
105+
- **BREAKING CHANGE** Upgraded from jQuery 1.11.2 to 3.4.2. This should not affect most people
106+
- Added `navbar-border-col` setting in the config file
107+
- Added accessibility features where possible
108+
- Made the theme completely responsive by rewriting all CSS to use 'rem' instead of 'px'
109+
- Rewrote and simplified some JavaScript code to use CSS or Bootstrap alternatives that weren't available in 2015
110+
- Removed most of the sample posts so that users only have two sample posts to learn from
111+
- Improvements to the README instructions
112+
113+
## v2.3.0 (2020-04-29)
114+
115+
- Added YAML parameter `footer-extra` for including custom content in the footer
116+
- Fixed issue: linking to a specific part of a page resulted in scrolling too far (#69)
117+
- Added YAML parameter `nav-short` to have navbar permanently collapsed
118+
- Added social network link: Calendly
119+
- Fixed bug where RSS link in footer was showing even when turned off
120+
121+
## v2.2.0 (2020-04-27)
122+
123+
- Added social network link: Telegram (#625) (thanks @mashed-potatoes)
124+
- Moved the demo site to an independent URL: https://beautifuljekyll.com
125+
- Major documentation overhaul and cleanup of old files
126+
- Fixed a few bugs from the remote_theme migration
127+
128+
## v2.0.0 (2020-04-26)
129+
130+
- Beautiful-Jekyll v2.0.0 available as an official Ruby gem
131+
- Beautifull-Jekyll now supports the `remote_theme` config (#339) (thanks @gpotter2 and @skalee)
132+
- Consolidated the demo site, the ruby gem, and the master branch into one
133+
- Added a `home` layout and used it in the index page
134+
- Added readtime support for the post header (#622) (thanks @MutMatt and @rubyreads)
135+
- Removed the dependency on `_data` folder since it doesn't get copied when using `remote_theme` (#614)
136+
- Added support for configuring lang attribute on `html` tag (#608) (thanks @skalee)
137+
- Added ability to disable round logo (thanks @gpotter2)
138+
- Added support for Utterances comments (#596) (thanks @colynn)
139+
- Removed 'just-comments' as it's getting killed at the end of the year
140+
- Upgraded font-awesome to 5.12.1 (#587) (thanks @cketti)
141+
142+
## Prior to 2020
143+
144+
**2018-12-24** Add support for Staticman comments (#440) (thanks @VincentTam)
145+
146+
**2018-10-19** Move Google Analytics to the head (#419) (thanks @jpvicari)
147+
148+
**2018-06-08** Add support for Facebook comments (#350) (thanks @npes87184)
149+
150+
**2018-02-22** Automatically generate sitemap (#323) (thanks @JosemyDuarte)
151+
152+
**2018-01-18** Add clickable tags to each post and a tags index page, works for GitHub sites (#307) (thanks @OCram85)
153+
154+
**2018-01-14** Redo Dockerfile (#302) (thanks @jennydaman)
155+
156+
**2018-01-06** More color personalization options (#297 and #299) (thanks @jennydaman)
157+
158+
**2018-01-05** Abstract the social networks logic (thanks @OCram85)
159+
160+
**2018-01-03** Avatar image no longer causes a ghost click (thanks @alefi87)
161+
162+
**2017-10-16** Add GitHub buttons to posts (#265) (thanks @yonicd)
163+
164+
**2017-09-04** Ability to change colour/image of navbar/footer/body
165+
166+
**2017-08-17** Add support for notification, error, and warning boxes in markdown (#227) (thanks @OCram85)
167+
168+
**2017-08-12** Add social buttons for twitch, yelp, and steam (#234) (thanks @TheRealBenForce)
169+
170+
**2017-03-30** Make the footer contact links friendly for screen readers (thanks @eugenius1)
171+
172+
**2017-03-30** Started a CHANGELOG file (thanks @eugenius1)
173+
174+
**2017-01-28** Add Subresource Integrity (SRI) support (#164) (thanks @tony-ho)
175+
176+
**2017-01-09** Add Google Tag Manager Integration (#157) (thanks @csarigoz)
177+
178+
**2017-01-06** Add options to configure HTML document title (#154) (thanks @tony-ho)
179+
180+
**2016-12-25** Allow dynamic images on each blog post (#143) (thanks @bbritten)
181+
182+
**2016-12-15** Support `title-img` config param to have image in the navbar instead of text
183+
184+
**2016-12-08** Add support for phone numbers in footer; fix #136
185+
186+
**2016-12-06** Update gemfile (#134) (thanks @stephentuso)
187+
188+
**2016-10-09** Add Docker deployment (#114) (thanks @mangar)
189+
190+
**2016-08-06** Add social share buttons for posts (thanks @rtlee9)
191+
192+
**2016-07-29** Add CSS styling to code chunks
193+
194+
**2016-07-27** Add clickable tags that lead to a tag page (doesn't work for GitHub hosted sites) (thanks @epwalsh)
195+
196+
**2016-07-21** Add support for twitter cards (sharing on Twitter will be better); fixes #70
197+
198+
**2016-03-18** Support full-width images in page headers; fixes #37
199+
200+
**2016-03-18** Support menus in navigation bar
201+
202+
**2016-02-07** Avatar is now conditional (thanks @hristoyankov)
203+
204+
**2016-02-02** Migrate (forced to...) to jekyll 3
205+
206+
**2016-01-22** Make sure not to include JQuery twice, fixes #29
207+
208+
**2015-11-19** Support external links in navigation bar; fixes #3
209+
210+
... Many small changes because the site was in its infancy
211+
212+
**2015-03-12** Beautiful Jekyll version 0.0000001 is released!
213+

docs/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gemspec
6+

docs/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Dean Attali
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)