Skip to content

Commit 29381b1

Browse files
authoredAug 9, 2020
Cleans up trailing whitespace (#700)
1 parent 6784836 commit 29381b1

11 files changed

+35
-35
lines changed
 

‎CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## v4.0.0 2020-07-12
1515

1616
- **BREAKING CHANGE** Replace `image` YAML parameter with `thumbnail-img` to be more clear
17-
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
17+
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
1818
- Cover image will automatically be used as thumbnail if none is provided
1919
- Image to share on social media will use the cover image or thumbnail if none is provided
2020
- All images (social media share, thumbnail, cover) can use either relative or absoluate paths.
@@ -49,9 +49,9 @@
4949

5050
## v2.2.0 2020-04-27
5151

52-
- Add social network link: Telegram (#625) (thanks @mashed-potatoes)
53-
- Moved the demo site to an independent URL: https://beautifuljekyll.com
54-
- Major documentation overhaul and cleanup of old files
52+
- Add social network link: Telegram (#625) (thanks @mashed-potatoes)
53+
- Moved the demo site to an independent URL: https://beautifuljekyll.com
54+
- Major documentation overhaul and cleanup of old files
5555
- Fix a few bugs from the remote_theme migration
5656

5757
## v2.0.0 2020-04-26

‎README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@
3737
Check out the [CHANGELOG](./CHANGELOG.md) to see the latest features.
3838

3939
- **SIMPLE**: The primary goal of Beautiful Jekyll is to allow literally *anyone* to create a website in a few minutes.
40-
- **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit.
41-
- **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices.
42-
- **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo.
43-
- **Flexible usage**: Use Beautiful Jekyll directly on GitHub or using a Ruby gem - choose the best [development method](#build-your-website-in-3-steps) for you.
44-
- **Battle-tested**: By using Beautiful Jekyll, you'll be joining tens of thousands of users who used this theme since 2015.
45-
- **Links to your social media**: You can easily add links to any of your social media accounts in the footer of every page.
46-
- **Comments support**: Add comments to any page using either [Disqus](https://disqus.com/), [Facebook comments](https://developers.facebook.com/docs/plugins/comments), [Utterances](https://utteranc.es/), or [Staticman](https://staticman.net).
40+
- **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit.
41+
- **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices.
42+
- **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo.
43+
- **Flexible usage**: Use Beautiful Jekyll directly on GitHub or using a Ruby gem - choose the best [development method](#build-your-website-in-3-steps) for you.
44+
- **Battle-tested**: By using Beautiful Jekyll, you'll be joining tens of thousands of users who used this theme since 2015.
45+
- **Links to your social media**: You can easily add links to any of your social media accounts in the footer of every page.
46+
- **Comments support**: Add comments to any page using either [Disqus](https://disqus.com/), [Facebook comments](https://developers.facebook.com/docs/plugins/comments), [Utterances](https://utteranc.es/), or [Staticman](https://staticman.net).
4747
- **Share blog posts on social media**: By default, all blog posts have buttons to allow people to share on Twitter/Facebook/LinkedIn.
4848
- **Tags**: Any blog post can be tagged with keywords, and an index page showing all the tags is automatically generated.
49-
- **Tracking analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website.
50-
- **Photos support**: Any page can have a cover photo around its title, and any blog post can have an associated image.
49+
- **Tracking analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website.
50+
- **Photos support**: Any page can have a cover photo around its title, and any blog post can have an associated image.
5151
- **More advanced features**: I wrote [a blog post](https://deanattali.com/2015/03/12/beautiful-jekyll-how-to-build-a-site-in-minutes/) describing some more advanced features that I used in my website that can be used in any beautiful-jekyll site.
5252

5353
# Build your website in 3 steps
@@ -68,7 +68,7 @@ Fork this project by clicking the __*Fork*__ button at the top right corner of t
6868

6969
### 2. Rename the project to `<yourusername>.github.io`
7070

71-
Click on __*Settings*__ at the top (the cog icon) and on that page you'll have an option to rename the project (*repository name*). This will create a website with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes. Check out the [FAQ](#faq-and-support) if you want to use a different project name.
71+
Click on __*Settings*__ at the top (the cog icon) and on that page you'll have an option to rename the project (*repository name*). This will create a website with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes. Check out the [FAQ](#faq-and-support) if you want to use a different project name.
7272

7373
### 3. Customize your website settings
7474

@@ -82,7 +82,7 @@ Note that in the video above I only edited one setting in the `_config.yml` file
8282

8383
## The hard way (using ruby gems)
8484

85-
If you followed the easy method above, then you already have your site and you can skip this section! If you want to install beautiful-jekyll using ruby gems instead, follow the [advanced installation instructions](https://beautifuljekyll.com/getstarted/#install-steps-hard).
85+
If you followed the easy method above, then you already have your site and you can skip this section! If you want to install beautiful-jekyll using ruby gems instead, follow the [advanced installation instructions](https://beautifuljekyll.com/getstarted/#install-steps-hard).
8686

8787

8888
# Add your own content
@@ -93,7 +93,7 @@ To look at existing files, click on any file that ends in `.md`, for example [`a
9393

9494
In contrast, look at [`tags.html`](./tags.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML.
9595

96-
Any markdown or HTML file that you create will be available on your website under `https://<yourusername>.github.io/<pagename>`. For example, if you create a file `about.md` (or `about.html`) then it'll exist at `https://<yourusername>.github.io/about`.
96+
Any markdown or HTML file that you create will be available on your website under `https://<yourusername>.github.io/<pagename>`. For example, if you create a file `about.md` (or `about.html`) then it'll exist at `https://<yourusername>.github.io/about`.
9797

9898
Files you create inside the [`_posts`](./_posts) directory will be treated as blog entries. You can look at the existing files there to get an idea of how to write blog posts. Note the format of the blog post files - they must follow the naming convention of `YEAR-MONTH-DAY-title.md`. After you successfully add your own post, you can delete the existing files inside [`_posts`](./_posts) to remove the sample posts, as those are just demo posts to help you learn.
9999

@@ -135,7 +135,7 @@ title | Page or blog post title
135135
subtitle | Short description of page or blog post that goes under the title
136136
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, analysis, finance]`
137137
cover-img | Include a large full-width image at the top of the page. You can either provide the path to a single image (eg. `"/path/to/img"`) , or a list of images to cycle through (eg. `["/path/img1", "/path/img2"]`). If you want to add a caption to an image, then the image should be provided as `{"/path/to/img" : "Caption of image"}`.
138-
comments | If you want do add comments to a specific page, use `comments: true`. Comments only work if you enable one of the comments providers (Facebook, disqus, staticman, utterances) in `_config.yml` file. Comments are automatically enabled on blog posts but not on other pages; to turn comments off for a specific post, use `comments: false`.
138+
comments | If you want do add comments to a specific page, use `comments: true`. Comments only work if you enable one of the comments providers (Facebook, disqus, staticman, utterances) in `_config.yml` file. Comments are automatically enabled on blog posts but not on other pages; to turn comments off for a specific post, use `comments: false`.
139139

140140
## Less commonly used parameters
141141

@@ -148,10 +148,10 @@ show-avatar | If you have an avatar configured in the `_config.yml` but you want
148148
thumbnail-img | For blog posts, if you want to add a thumbnail that'll show up next to the post's excerpt in the feed, use `thumbnail-img: /path/to/image`. If no thumbnail is provided, then `cover-img` will be used as the thumbnail. You can use `thumbnail-img: ""` to disable a thumbnail.
149149
share-img | The image to use when sharing the page to social media. If not provided, then `cover-img` or `thumbnail-img` will be used.
150150
social-share | By default, every blog post has buttons to share the page on social media. If you want to turn this feature off, use `social-share: false`.
151-
nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true`
151+
nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true`
152152
gh-repo   | If you want to show GitHub buttons at the top of a post, this sets the GitHub repo name (eg. `daattali/beautiful-jekyll`). You must also use the `gh-badge` parameter to specify what buttons to show.
153153
gh-badge | Select which GitHub buttons to display. Available options are: [star, watch, fork, follow]. You must also use the `gh-repo` parameter to specify the GitHub repo.
154-
layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information.
154+
layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information.
155155
description | A brief description of the page (used in search engines and when the page is shared).
156156

157157
## Advanced parameters
@@ -160,7 +160,7 @@ These are advanced parameters that are only useful for people who need very fine
160160

161161
Parameter | Description
162162
----------- | -----------
163-
footer-extra | If you want to include extra information in the footer, create an HTML file in the `_includes/` folder (for example `_includes/myinfo.html`) and set `footer-extra` to the name of the file (for example `footer-extra: myinfo.html`)
163+
footer-extra | If you want to include extra information in the footer, create an HTML file in the `_includes/` folder (for example `_includes/myinfo.html`) and set `footer-extra` to the name of the file (for example `footer-extra: myinfo.html`)
164164
language | HTML language code to be set on the page's &lt;html&gt; element.
165165
use-site-title | If you want to use the site title rather than the page title as the HTML document title, use `use-site-title: true`.
166166
js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`)
@@ -235,7 +235,7 @@ Beautiful Jekyll is actively used by thousands of people with wildly varying deg
235235

236236
- ### What if I want a free domain, but not `https://<yourusername>.github.io`?
237237

238-
Every GitHub user can have one repository (repository = project) named `<yourusername>.github.io` and the website for that repository will be `https://<yourusername>.github.io`.
238+
Every GitHub user can have one repository (repository = project) named `<yourusername>.github.io` and the website for that repository will be `https://<yourusername>.github.io`.
239239

240240
If you want your project to be named something else, for example `MyAwesomeProject`, that's no problem! All you have to do is go to _Settings_ at the top right corner of the page, and rename your repository to `MyAwesomeProject` (**remember to click on the _Rename_ button to confirm!**). Then you need to scroll down to the _GitHub Pages_ section and choose "master branch" as the source (not "master branch /docs folder"!).
241241

‎_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ footer-link-col: "#404040"
158158
#staticman:
159159
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
160160
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
161-
# endpoint : # (optional) URL of your own deployment, with a trailing slash eg. https://<your-api>/v3/entry/github/ (will fallback to a public GitLab instance)
161+
# endpoint : # (optional) URL of your own deployment, with a trailing slash eg. https://<your-api>/v3/entry/github/ (will fallback to a public GitLab instance)
162162
# reCaptcha:
163163
# siteKey : # Use your own site key, you need to apply for one on Google
164164
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>

‎_data/ui-text.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ pa: &DEFAULT_PA
487487
comment_success_msg : "ਤੁਹਾਡੀਆਂ ਟਿੱਪਣੀਆਂ ਲਈ ਧੰਨਵਾਦ! ਇਹ ਮਨਜ਼ੂਰੀ ਮਿਲਣ ਦੇ ਬਾਅਦ ਸਾਈਟ 'ਤੇ ਦਿਖਾਇਆ ਜਾਵੇਗਾ।"
488488
comment_error_msg : "ਮੁਆਫ ਕਰਨਾ, ਤੁਹਾਡੀ ਅਧੀਨਗੀ ਵਿੱਚ ਕੋਈ ਗਲਤੀ ਹੋਈ ਸੀ ਕਿਰਪਾ ਕਰਕੇ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਸਾਰੇ ਲੋੜੀਂਦੇ ਖੇਤਰ ਪੂਰੇ ਹੋ ਗਏ ਹਨ ਅਤੇ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ।"
489489
pa-IN:
490-
<<: *DEFAULT_PA
490+
<<: *DEFAULT_PA
491491

492492
# Another locale
493493
# --------------

‎_includes/comments.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% if page.comments %}
1+
{% if page.comments %}
22
{% include disqus.html %}
33
{% include fb-comment.html %}
44
{% include staticman-comments.html %}
55
{% include utterances-comment.html %}
6-
{% endif %}
6+
{% endif %}

‎_includes/header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
3636
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
3737
{% endif %}
3838
{% endif %}
39-
39+
4040
{% if include.type == "post" %}
4141
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
4242
{% if page.readtime %}
@@ -64,7 +64,7 @@ <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
6464
<h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
6565
{% endif %}
6666
{% endif %}
67-
67+
6868
{% if include.type == "post" %}
6969
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
7070
{% if page.readtime %}

‎_includes/social-networks-links.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</a>
6060
</li>
6161
{%- endif -%}
62-
62+
6363
{%- if site.social-network-links.github -%}
6464
<li class="list-inline-item">
6565
<a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub">

‎_includes/utterances-comment.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
repo="{{ site.utterances.repository }}"
55
issue-term="{{ site.utterances.issue-term }}"
66
theme="{{ site.utterances.theme}}"
7-
label="{{ site.utterances.label}}"
7+
label="{{ site.utterances.label}}"
88
crossorigin="anonymous"
99
async>
1010
</script>

‎_layouts/base.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
<body>
2828

2929
{% include gtm_body.html %}
30-
30+
3131
{% include nav.html %}
3232

3333
{{ content }}
3434

3535
{% include footer.html %}
36-
36+
3737
{% include footer-scripts.html %}
38-
38+
3939
</body>
4040
</html>

‎assets/css/main-minimal.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ footer.footer-min {
1010
background-color: #f5f5f5;
1111
border-top: 1px solid #eeeeee;
1212
text-align: center;
13-
}
13+
}

‎assets/css/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ hr.small {
6565
}
6666

6767
/* fix in-page anchors to not be behind fixed header */
68-
:target:before {
68+
:target:before {
6969
content: "";
7070
display: block;
7171
height: 3.125rem; /* navbar height */
@@ -727,7 +727,7 @@ footer .footer-custom-content {
727727
display: block;
728728
}
729729
}
730-
.reader-time .middot {
730+
.reader-time .middot {
731731
margin: 0 0.625rem;
732732
}
733733

0 commit comments

Comments
 (0)
Please sign in to comment.