Skip to content

Commit 7097764

Browse files
committed
Initial commit
0 parents  commit 7097764

Some content is hidden

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

66 files changed

+4936
-0
lines changed

.gitattributes

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Define standard eol format
2+
3+
# Web Files
4+
*.html text eol=lf
5+
*.md text eol=lf
6+
*.css text eol=lf
7+
*.js text eol=lf
8+
9+
# Jekyll related files
10+
*.yml text eol=lf
11+
12+
# Git related files
13+
.gittattributes text eol=lf
14+
.gitignore text eol=lf
15+
.gitkeep text eol=lf
16+
17+
# Ruby files
18+
*.rb text eol=lf
19+
Gemfile text eol=lf
20+
Gemfile.lock text eol=lf
21+
22+
# Github specific fies
23+
LICENCE text eol=lf
24+
25+
# Docker specific files
26+
Dockerfile text eol=lf
27+
28+
# VSCode files
29+
*.json text eol=lf
30+
31+
# General multimedia files
32+
*.jpg binary
33+
*.jpeg binary
34+
*.gif binary
35+
*.png binary
36+
*.t3x binary
37+
*.t3d binary
38+
*.exe binary
39+
*.data binary
40+
*.ttf binary
41+
*.eof binary
42+
*.eot binary
43+
*.swf binary
44+
*.mov binary
45+
*.mp4 binary
46+
*.mp3 binary
47+
*.ogg binary
48+
*.flv binary

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: daattali
4+
patreon: DeanAttali

.github/issue_template.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Please only submit feature suggestions or bug reports if you believe something is broken.
2+
3+
If you need help, you can attend the [Office Hours](https://beautifuljekyll.com/officehours) (only available for [sponsors](https://beautifuljekyll.com/plans/)).

.github/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Please note that if you are trying to update **your** website, this is the wrong place to do so. Please carefully follow the Beautiful Jekyll instructions (found at https://github.com/daattali/beautiful-jekyll#readme) and make sure you submit changes to **your** version of the project.
2+
3+
If your intention is to submit a Pull Request, please describe what your pull request achieves.
4+
5+
Thank you!

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Beautiful Jekyll CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Build Jekyll
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: ruby/setup-ruby@v1
10+
with:
11+
ruby-version: '3.3'
12+
- name: Install dependencies
13+
run: bundle install && bundle exec appraisal install
14+
- name: Setup Pages
15+
id: configure-pages
16+
uses: actions/configure-pages@v5
17+
- name: Setup CI config
18+
run: |
19+
echo "---" > _config_ci.yml
20+
echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml
21+
- name: Build site
22+
env:
23+
JEKYLL_ENV: production
24+
run: bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml
25+
- name: Upload artifact
26+
uses: actions/upload-pages-artifact@v3

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# project
2+
_site
3+
.sass-cache
4+
.vagrant
5+
6+
# general
7+
.DS_Store
8+
Thumbs.db
9+
ehthumbs.db
10+
11+
Gemfile.lock
12+
13+
beautiful-jekyll-theme-*.gem

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>

Appraisals

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
appraise "jekyll-3" do
2+
gem "jekyll", "3.9.4"
3+
end
4+
appraise "jekyll-4" do
5+
gem "jekyll", "4.3.3"
6+
end

CHANGELOG.md

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

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+

0 commit comments

Comments
 (0)