Compare commits
2 Commits
44353ad37a
...
24736726ce
| Author | SHA1 | Date | |
|---|---|---|---|
| 24736726ce | |||
| 489b8963c7 |
@@ -1,3 +1 @@
|
|||||||
Thank you for submitting an issue!
|
Please only submit feature suggestions or bug reports if you believe something is broken. Please do not submit support requests and general help questions.
|
||||||
|
|
||||||
Please only submit bug reports or feature suggestions. Please do not submit support requests and general help questions in this forum.
|
|
||||||
|
|||||||
15
blog.bryanroessler.com/.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Beautiful Jekyll CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Jekyll
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build the site in the jekyll/builder container
|
||||||
|
run: |
|
||||||
|
export JEKYLL_VERSION=3.8
|
||||||
|
docker run \
|
||||||
|
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
||||||
|
-e PAGES_REPO_NWO=${{ github.repository }} \
|
||||||
|
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|
||||||
4
blog.bryanroessler.com/.gitignore
vendored
@@ -11,3 +11,7 @@ _drafts
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
|
|
||||||
|
Gemfile.lock
|
||||||
|
|
||||||
|
beautiful-jekyll-theme-*.gem
|
||||||
|
|||||||
@@ -9,5 +9,5 @@ permalink: /404.html
|
|||||||
<h1>Move along. (404 error)</h1>
|
<h1>Move along. (404 error)</h1>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<img src="{{ site.baseurl }}/img/404-southpark.jpg" />
|
<img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,65 @@
|
|||||||
# CHANGELOG
|
## v4.0.1 2020-07-13
|
||||||
|
|
||||||
This file lists all non-trivial changes to Beautiful Jekyll.
|
- Fixed staticman comments UI that was broken since the migration to bootstrap 4
|
||||||
|
|
||||||
I often make small changes to documentation, to the demo site, or to the general look-and-feel. These changes will not be listed here. Any other minor changes will also not be listed here.
|
## v4.0.0 2020-07-12
|
||||||
|
|
||||||
|
- **BREAKING CHANGE** Replace `image` YAML parameter with `thumbnail-img` to be more clear
|
||||||
|
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
|
||||||
|
- Cover image will automatically be used as thumbnail if none is provided
|
||||||
|
- Image to share on social media will use the cover image or thumbnail if none is provided
|
||||||
|
- All images (social media share, thumbnail, cover) can use either relative or absoluate paths.
|
||||||
|
- 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
|
||||||
|
- Add social network links: Mastodon (#646), Google Scholar, ORCID (#670)
|
||||||
|
- Add support for sharing pages on new social network: VK (#657)
|
||||||
|
- Use Open Graph type 'article' for blog posts (#669)
|
||||||
|
- Use Twitter's large sumary card (large image) when there is a cover image, thumbnail image, or share image specified (#668)
|
||||||
|
- Make post images in the feed page smaller on smaller devices
|
||||||
|
- Fixed jQuery version in staticman (#671)
|
||||||
|
|
||||||
|
## v3.0.0 2020-05-07
|
||||||
|
|
||||||
|
- **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.
|
||||||
|
- **BREAKING CHANGE** Renamed `bigimg` YAML parameter to `cover-img`
|
||||||
|
- **BREAKING CHANGE** Removed `googlefonts` YAML parameter since googlefonts are just CSS so they can be loaded via `ext-css`
|
||||||
|
- **BREAKING CHANGE** Upgraded from jQuery 1.11.2 to 3.4.2. This should not affect most people
|
||||||
|
- Added `navbar-border-col` setting in the config file
|
||||||
|
- Add accessibility features where possible
|
||||||
|
- Made the theme completely responsive by rewriting all CSS to use 'rem' instead of 'px'
|
||||||
|
- Rewrite and simplify some JavaScript code to use CSS or Bootstrap alternatives that weren't available in 2015
|
||||||
|
- Remove most of the sample posts so that users only have two sample posts to learn from
|
||||||
|
- Improvements to the README instructions
|
||||||
|
|
||||||
|
## v2.3.0 2020-04-29
|
||||||
|
|
||||||
|
- Add YAML option `footer-extra` for including custom content in the footer
|
||||||
|
- Fix issue: linking to a specific part of a page resulted in scrolling too far (#69)
|
||||||
|
- Add YAML option `nav-short` to have navbar permanently collapsed
|
||||||
|
- Add social network link: Calendly
|
||||||
|
- Fix bug where RSS link in footer was showing even when turned off
|
||||||
|
|
||||||
|
## v2.2.0 2020-04-27
|
||||||
|
|
||||||
|
- Add social network link: Telegram (#625) (thanks @mashed-potatoes)
|
||||||
|
- Moved the demo site to an independent URL: https://beautifuljekyll.com
|
||||||
|
- Major documentation overhaul and cleanup of old files
|
||||||
|
- Fix a few bugs from the remote_theme migration
|
||||||
|
|
||||||
|
## v2.0.0 2020-04-26
|
||||||
|
|
||||||
|
- Beautiful-Jekyll v2.0.0 available as an official Ruby gem
|
||||||
|
- Beautifull-Jekyll now supports the `remote_theme` config (#339) (thanks @gpotter2 and @skalee)
|
||||||
|
- Consolidated the demo site, the ruby gem, and the master branch into one
|
||||||
|
- Added a `home` layout and used it in the index page
|
||||||
|
- Added readtime support for the post header (#622) (thanks @MutMatt and @rubyreads)
|
||||||
|
- Removed the dependency on `_data` folder since it doesn't get copied when using `remote_theme` (#614)
|
||||||
|
- Added support for configuring lang attribute on `html` tag (#608) (thanks @skalee)
|
||||||
|
- Added ability to disable round logo (thanks @gpotter2)
|
||||||
|
- Added support for Utterances comments (#596) (thanks @colynn)
|
||||||
|
- Removed 'just-comments' as it's getting killed at the end of the year
|
||||||
|
- Upgraded font-awesome to 5.12.1 (#587) (thanks @cketti)
|
||||||
|
|
||||||
|
## Prior to 2020
|
||||||
|
|
||||||
**2018-12-24** Add support for Staticman comments (#440) (thanks @VincentTam)
|
**2018-12-24** Add support for Staticman comments (#440) (thanks @VincentTam)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
source 'https://rubygems.org'
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gemspec
|
||||||
|
|
||||||
gem 'jekyll', '~>3.8.6', group: :jekyll_plugins
|
|
||||||
gem 'jekyll-paginate', group: :jekyll_plugins
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
PATH
|
||||||
|
remote: .
|
||||||
|
specs:
|
||||||
|
beautiful-jekyll-theme (4.0.1)
|
||||||
|
jekyll (~> 3.8)
|
||||||
|
jekyll-paginate (~> 1.1)
|
||||||
|
jekyll-sitemap (~> 1.4)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
@@ -9,12 +17,12 @@ GEM
|
|||||||
eventmachine (>= 0.12.9)
|
eventmachine (>= 0.12.9)
|
||||||
http_parser.rb (~> 0.6.0)
|
http_parser.rb (~> 0.6.0)
|
||||||
eventmachine (1.2.7)
|
eventmachine (1.2.7)
|
||||||
ffi (1.12.2)
|
ffi (1.13.1)
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
http_parser.rb (0.6.0)
|
http_parser.rb (0.6.0)
|
||||||
i18n (0.9.5)
|
i18n (0.9.5)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jekyll (3.8.6)
|
jekyll (3.8.7)
|
||||||
addressable (~> 2.4)
|
addressable (~> 2.4)
|
||||||
colorator (~> 1.0)
|
colorator (~> 1.0)
|
||||||
em-websocket (~> 0.5)
|
em-websocket (~> 0.5)
|
||||||
@@ -30,6 +38,8 @@ GEM
|
|||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
jekyll-sass-converter (1.5.2)
|
jekyll-sass-converter (1.5.2)
|
||||||
sass (~> 3.4)
|
sass (~> 3.4)
|
||||||
|
jekyll-sitemap (1.4.0)
|
||||||
|
jekyll (>= 3.7, < 5.0)
|
||||||
jekyll-watch (2.2.1)
|
jekyll-watch (2.2.1)
|
||||||
listen (~> 3.0)
|
listen (~> 3.0)
|
||||||
kramdown (1.17.0)
|
kramdown (1.17.0)
|
||||||
@@ -40,11 +50,12 @@ GEM
|
|||||||
mercenary (0.3.6)
|
mercenary (0.3.6)
|
||||||
pathutil (0.16.2)
|
pathutil (0.16.2)
|
||||||
forwardable-extended (~> 2.6)
|
forwardable-extended (~> 2.6)
|
||||||
public_suffix (4.0.3)
|
public_suffix (4.0.5)
|
||||||
rb-fsevent (0.10.3)
|
rake (12.3.3)
|
||||||
|
rb-fsevent (0.10.4)
|
||||||
rb-inotify (0.10.1)
|
rb-inotify (0.10.1)
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rouge (3.17.0)
|
rouge (3.21.0)
|
||||||
safe_yaml (1.0.5)
|
safe_yaml (1.0.5)
|
||||||
sass (3.7.4)
|
sass (3.7.4)
|
||||||
sass-listen (~> 4.0.0)
|
sass-listen (~> 4.0.0)
|
||||||
@@ -56,8 +67,9 @@ PLATFORMS
|
|||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
jekyll (~> 3.8.6)
|
beautiful-jekyll-theme!
|
||||||
jekyll-paginate
|
bundler (>= 1.16)
|
||||||
|
rake (~> 12.0)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.0.2
|
2.0.2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2015-2018 Dean Attali
|
Copyright (c) 2020 Dean Attali
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -19,12 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
staticman integration
|
|
||||||
=================================================================================
|
|
||||||
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013-2018 Michael Rose
|
|
||||||
|
|||||||
@@ -1,85 +1,108 @@
|
|||||||
# Beautiful Jekyll
|
# Beautiful Jekyll
|
||||||
|
|
||||||
[](https://www.paypal.me/daattali/20)
|
[](https://xscode.com/daattali/beautiful-jekyll)
|
||||||
[](https://badge.fury.io/rb/beautiful-jekyll-theme)
|
[](https://badge.fury.io/rb/beautiful-jekyll-theme)
|
||||||
|
|
||||||
> *Copyright 2019 [Dean Attali](https://deanattali.com)*
|
> *Copyright 2020 [Dean Attali](https://deanattali.com)*
|
||||||
|
|
||||||
**Beautiful Jekyll** is a ready-to-use template to help you create an awesome website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://deanattali.com/beautiful-jekyll) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) to see it in use, or see examples of websites other people created using this theme [here](#showcased-users-success-stories).
|
**Beautiful Jekyll** is a ready-to-use template to help you create a beautiful website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://beautifuljekyll.com) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) to see it in use, or see examples of websites other people created using this theme [below](#showcased-users-success-stories).
|
||||||
|
|
||||||
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/daattali/20) for developing and maintaining this template.**
|
**If you enjoy this theme, please consider [sponsoring me](https://github.com/sponsors/daattali) for developing and maintaining it for over 5 years.**
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://www.paypal.me/daattali">
|
<a style="display: inline-block;" href="https://github.com/sponsors/daattali">
|
||||||
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" />
|
<img height="40" src="https://i.imgur.com/034B8vq.png" />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a style="display: inline-block;" href="https://paypal.me/daattali">
|
||||||
|
<img height="40" src="https://camo.githubusercontent.com/0e9e5cac101f7093336b4589c380ab5dcfdcbab0/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f74776f6c66736f6e2f70617970616c2d6769746875622d627574746f6e40312e302e302f646973742f627574746f6e2e737667" />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Table of contents
|
## Table of contents
|
||||||
|
|
||||||
- [Prerequisites](#prerequisites)
|
|
||||||
- [Build your website in 3 steps](#build-your-website-in-3-steps)
|
|
||||||
- [Add your own content](#add-your-own-content)
|
|
||||||
- [Last important thing: YAML front matter ("parameters" for a page)](#last-important-thing-yaml-front-matter-parameters-for-a-page)
|
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Creating a User Page vs a Project Page](#creating-a-user-page-vs-a-project-page)
|
- [**Build your website in 3 steps**](#build-your-website-in-3-steps)
|
||||||
|
- [Add your own content](#add-your-own-content)
|
||||||
|
- [Customizing parameters for each page](#customizing-parameters-for-each-page)
|
||||||
|
- [Supported parameters](#supported-parameters)
|
||||||
- [Showcased users (success stories!)](#showcased-users-success-stories)
|
- [Showcased users (success stories!)](#showcased-users-success-stories)
|
||||||
- [Advanced: local development](#advanced-local-development-using-docker)
|
|
||||||
- [FAQ and support](#faq-and-support)
|
- [FAQ and support](#faq-and-support)
|
||||||
- [Credits and contributions](#credits)
|
- [Credits and contributions](#credits)
|
||||||
|
|
||||||
## Prerequisites
|
# Features
|
||||||
|
|
||||||
- You need to have a GitHub account. If you don't have one, [sign up here](https://github.com/join) - it takes one minute. This is where your website will live - if you sign up with username `johnsmith` then your website will be `https://johnsmith.github.io`.
|
- **SIMPLE**: The primary goal of Beautiful Jekyll is to allow literally *anyone* to create a website in a few minutes.
|
||||||
- It would be helpful to understand what Markdown is and how to write it. Markdown is just a way to take a piece of text and format it to look a little nicer. For example, this whole instruction set that you're reading is written in markdown - it's just text with some words being bold/larger/italicized/etc. I recommend taking 5 minutes to learn markdown [with this amazingly easy yet useful tutorial](https://markdowntutorial.com/).
|
- **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit.
|
||||||
|
- **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices.
|
||||||
|
- **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo.
|
||||||
|
- **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.
|
||||||
|
- **Battle-tested**: By using Beautiful Jekyll, you'll be joining tens of thousands of users who used this theme since 2015.
|
||||||
|
- **Links to your social media**: You can easily add links to any of your social media accounts in the footer of every page.
|
||||||
|
- **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).
|
||||||
|
- **Share blog posts on social media**: By default, all blog posts have buttons to allow people to share on Twitter/Facebook/LinkedIn.
|
||||||
|
- **Tags**: Any blog post can be tagged with keywords, and an index page showing all the tags is automatically generated.
|
||||||
|
- **Tracking analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website.
|
||||||
|
- **Photos support**: Any page can have a cover photo around its title, and any blog post can have an associated image.
|
||||||
|
- **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.
|
||||||
|
|
||||||
## Build your website in 3 steps
|
# Build your website in 3 steps
|
||||||
|
|
||||||
|
There's a very easy way to use this theme, and there's a hard way. For most people (including myself!), I suggest going the easy route. If you're an advanced user and want to tinker with the hard way (using ruby gems), then [skip the easy way](https://github.com/daattali/beautiful-jekyll#the-hard-way-using-ruby-gems) if you know what you're doing.
|
||||||
|
|
||||||
|
## The easy way (recommended!)
|
||||||
|
|
||||||
Getting started is *literally* as easy as 1-2-3 :smile:
|
Getting started is *literally* as easy as 1-2-3 :smile:
|
||||||
Scroll down to see the steps involved, but here is a 40-second video just as a reference as you work through the steps.
|
|
||||||
|
|
||||||

|
Scroll down to see the steps involved, but here is a 40-second video just as a reference as you work through the steps. If you don't already have a [GitHub account](https://github.com/join), you'll need to sign up.
|
||||||
|
|
||||||
### 1. Fork this repository
|

|
||||||
|
|
||||||
(Assuming you are on this page and logged into GitHub) Fork this repository by clicking the *Fork* button on the top right corner. Forking means that you now copied this whole project and all the files into your account.
|
### 1. Fork this project
|
||||||
|
|
||||||
### 2. Rename the repository to `<yourusername>.github.io`
|
Fork this project by clicking the __*Fork*__ button at the top right corner of this page. Forking means that you now copied this entire project and all the files into your account.
|
||||||
|
|
||||||
This will create a GitHub User page ready with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes. To do this, click on *Settings* at the top (the cog icon) and there you'll have an option to rename.
|
### 2. Rename the project to `<yourusername>.github.io`
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
### 3. Customize your website settings
|
### 3. Customize your website settings
|
||||||
|
|
||||||
Edit the `_config.yml` file to change all the settings to reflect your site. To edit the file, click on it and then click on the pencil icon (watch the video tutorial above if you're confused). The settings in the file are fairly self-explanatory and I added comments inside the file to help you further. Any line that begins with a pound sign (`#`) is a comment, and the rest of the lines are actual settings.
|
Edit the `_config.yml` file to change any settings you want. To edit the file, click on it to view the file and then click on the pencil icon to edit it (watch the video tutorial above if you're confused). The settings in the file are self-explanatory and I added comments inside the file to help you understand what each setting does. Any line that begins with a hashtag (`#`) is a comment, and the other lines are actual settings.
|
||||||
|
|
||||||
Another way to edit the config file (or any other file) is to use [prose.io](https://prose.io/), which is just a simple interface to allow you to more intuitively edit files or add new files to your project.
|
### 4. Congratulations! You have a website!
|
||||||
|
|
||||||
After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so.
|
After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so. Your website will be initialized with several sample blog posts and a couple other pages.
|
||||||
|
|
||||||
You can now visit your shiny new website, which will be seeded with several sample blog posts and a couple other pages. Your website is at `https://<yourusername>.github.io` (replace `<yourusername>` with your user name). Do not add `www` to the URL - it will not work!
|
Note that in the video above I only edited one setting in the `_config.yml` file. **You should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)**
|
||||||
|
|
||||||
**Note:** The video above goes through the setup for a user with username `daattalitest`. I only edited one setting in the `_config.yml` file in the video, but **you should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)**
|
## The hard way (using ruby gems)
|
||||||
|
|
||||||
## Add your own content
|
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).
|
||||||
|
|
||||||
To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file directly. It is much easier to write markdown than HTML, so I suggest you do that (use the [tutorial I mentioned above](https://markdowntutorial.com/) if you need to learn markdown). You can look at some files on this site to get an idea of how to write markdown. To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there is a word in bold, a link, bullet points), and if you click on the pencil icon to edit the file, you will see the markdown that generated the pretty text. Very easy!
|
|
||||||
|
|
||||||
In contrast, look at [`index.html`](./index.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML.
|
# Add your own content
|
||||||
|
|
||||||
Any file that you add inside the [`_posts`](./_posts) directory will be treated as a blog entry. You can look at the existing files there to get an idea of how to write blog posts. 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.
|
To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file. It's much easier to write markdown than HTML, so I suggest you do that ([here's a great tutorial](https://markdowntutorial.com/) if you need to learn markdown in 5 minutes). You can look at some files on this demo site to get an idea of how to write markdown.
|
||||||
|
|
||||||
As mentioned previously, you can use [prose.io](https://prose.io/) to add or edit files instead of doing it directly on GitHub, it can be a little easier that way.
|
To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there's a word in bold, a link, a few bullet points), and if you click on the pencil icon to edit the file, you'll see the markdown code that generated the pretty text. Very easy!
|
||||||
|
|
||||||
## Last important thing: YAML front matter ("parameters" for a page)
|
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.
|
||||||
|
|
||||||
In order to have your new pages use this template and not just be plain pages, you need to add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page. This is where you'll give each page some parameters that I made available, such as a title and subtitle. I'll go into more detail about what parameters are available later. If you don't want to use any parameters on your new page (this also means having no title), then use the empty YAML front matter:
|
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`.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
# Customizing parameters for each page
|
||||||
|
|
||||||
|
**One last important thing**: In order to have your new pages use this template and not just be plain HTML pages, **you must add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page**. This is where you'll be able to give each page some extra parameters such as a title, a subtitle, or an image. [Below is a list of all available parameters](#supported-parameters). If you don't want to use any parameters on a page (this also means having no title), then use the empty YAML front matter:
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to use any parameters, write them between the two lines. For example, you can have this at the top of a page:
|
If you do want to use any parameters, write them between these two lines. For example, you can have this at the top of a page:
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
@@ -88,120 +111,77 @@ subtitle: Here you'll find all the ways to get in touch with me
|
|||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
You can look at the top of [`aboutme.md`](./aboutme.md) or [`index.html`](./index.html) as more examples.
|
You can look at the top of [`aboutme.md`](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/aboutme.md) as an example.
|
||||||
|
|
||||||
**Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.**
|
**Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.**
|
||||||
If you don't include YAML then your file will not use the template.
|
|
||||||
|
|
||||||
## Features
|
If you don't include YAML then your file will not use this template.
|
||||||
|
|
||||||
### Mobile-first
|
# Supported parameters
|
||||||
**Beautiful Jekyll** is designed to look great on both large-screen and small-screen (mobile) devices. Load up your site on your phone or your gigantic iMac, and the site will work well on both, though it will look slightly different.
|
|
||||||
|
|
||||||
### Customizable
|
Below is a list of the parameters that **Beautiful Jekyll** supports (any of these can be added to the YAML front matter of any page). Remember to also look in the `_config.yml` file to see additional settings.
|
||||||
|
|
||||||
Many personalization settings in `_config.yml`, such as setting your name and site's description, changing the background colour/image, setting your avatar to add a little image in the navigation bar, customizing the links in the menus, customizing what social media links to show in the footer, etc.
|
## Main paramaters
|
||||||
|
|
||||||
### Allowing users to leave comments
|
These are the basic YAML parameters that you are most likely to use on most pages.
|
||||||
|
|
||||||
If you want to enable comments on your site, Beautiful Jekyll supports either the [Disqus](https://disqus.com/) comments plugin, [Facebook](https://developers.facebook.com/docs/plugins/comments) comments, [Staticman](https://staticman.net) or [JustComments](https://just-comments.com). If any of these are set in the configuration file, then all blog posts will have comments turned on by default. To turn off comments on a particular blog post, add `comments: false` to the YAML front matter. If you want to add comments on the bottom of a non-blog page, add `comments: true` to the YAML front matter.
|
|
||||||
|
|
||||||
#### Disqus comments
|
|
||||||
|
|
||||||
To use Disqus, simply sign up to [Disqus](https://disqus.com/) and add your Disqus shortname to the `disqus` parameter in the `_config.yml` file.
|
|
||||||
|
|
||||||
#### Facebook comments
|
|
||||||
|
|
||||||
To use Facebook comments, create a Facebook app using [Facebook developers](https://developers.facebook.com/docs/apps/register), and add the Facebook App ID to the `fb_comment_id` parameter in `_config.yml`.
|
|
||||||
|
|
||||||
#### Staticman comments
|
|
||||||
|
|
||||||
To use Staticman, you first need to invite `staticmanlab` as a collaborator to your repository (by going to your repository **Settings** page, navigate to the **Collaborators** tab, and add the username `staticmanlab`), and then accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`. Lastly, fill in the `staticman` parameters in the Staticman section of `_config.yml`. You may also choose a different Staticman instance other than `staticmanlab`.
|
|
||||||
|
|
||||||
Optional: You may want to configure a webhook to prevent old inactive branches (representing approved comments) from stacking up. You can refer to [Staticman's documentation](https://staticman.net/docs/webhooks) for details. Make sure to input the **Payload URL** according to your chosen `endpoint`. For example, the default `endpoint` is `https://staticman3.herokuapp.com/v3/entry/github/`, so the corresponding **Payload URL** should be `https://staticman3.herokuapp.com/v1/webhook`.
|
|
||||||
|
|
||||||
#### JustComments
|
|
||||||
|
|
||||||
To use JustComments you first need to have an account. After you just need to copy the API key to the `just-comments` property in `_config.yml` file.
|
|
||||||
|
|
||||||
### Adding Google Analytics to track page views
|
|
||||||
|
|
||||||
Beautiful Jekyll lets you easily add Google Analytics to all your pages. This will let you track all sorts of information about visits to your website, such as how many times each page is viewed and where (geographically) your users come from. To add Google Analytics, simply sign up to [Google Analytics](https://www.google.com/analytics/) to obtain your Google Tracking ID, and add this tracking ID to the `google_analytics` parameter in `_config.yml`.
|
|
||||||
|
|
||||||
### Sharing blog posts on social media
|
|
||||||
|
|
||||||
By default, all blog posts will have buttons at the bottom of the post to allow people to share the current page on Twitter/Facebook/LinkedIn. You can choose to enable/disable specific social media websites in the `_config.yml` file. You can also turn off the social media buttons on specific blog posts using `social-share: false` in the YAML front matter.
|
|
||||||
|
|
||||||
### RSS feed
|
|
||||||
|
|
||||||
Beautiful Jekyll automatically generates a simple RSS feed of your blog posts, to allow others to subscribe to your posts. If you want to add a link to your RSS feed in the footer of every page, find the `rss: false` line in `_config.yml` and change it to `rss: true`.
|
|
||||||
|
|
||||||
### Page types
|
|
||||||
|
|
||||||
- **post** - To write a blog post, add a markdown or HTML file in the `_posts` folder. As long as you give it YAML front matter (the two lines of three dashes), it will automatically be rendered like a blog post. Look at the existing blog post files to see examples of how to use YAML parameters in blog posts.
|
|
||||||
- **page** - Any page outside the `_posts` folder that uses YAML front matter will have a very similar style to blog posts.
|
|
||||||
- **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter.
|
|
||||||
- If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML!
|
|
||||||
|
|
||||||
### YAML front matter parameters
|
|
||||||
|
|
||||||
These are the main parameters you can place inside a page's YAML front matter that **Beautiful Jekyll** supports.
|
|
||||||
|
|
||||||
Parameter | Description
|
Parameter | Description
|
||||||
----------- | -----------
|
----------- | -----------
|
||||||
title | Page or blog post title
|
title | Page or blog post title
|
||||||
subtitle | Short description of page or blog post that goes under the title
|
subtitle | Short description of page or blog post that goes under the title
|
||||||
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, self help, finance]`
|
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, analysis, finance]`
|
||||||
bigimg | Include a large full-width image at the top of the page. You can either give the path to a single image, or provide a list of images to cycle through (see [my personal website](https://deanattali.com/) as an example).
|
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"}`.
|
||||||
comments | If you want do add comments to a specific page, use `comments: true`. Comments are automatically enabled on blog posts; to turn comments off for a specific post, use `comments: false`. Comments only work if you enable at least one provider(diqus, staticman, just-comments) in `_config.yml` file.
|
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`.
|
||||||
show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`. If you want to turn it off by default, locate the line `show-avatar: true` in the file `_config.yml` and change the `true` to `false`; then you can selectively turn it on in specific pages using `show-avatar: true`.
|
|
||||||
image | If you want to add a personalized image to your blog post that will show up next to the post's excerpt and on the post itself, use `image: /path/to/img`.
|
## Less commonly used parameters
|
||||||
share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here.
|
|
||||||
social-share | If you don't want to show buttons to share a blog post on social media, use `social-share: false` (this feature is turned on by default).
|
These are parameters that you may not use often, but can come in handy sometimes.
|
||||||
use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise.
|
|
||||||
layout | What type of page this is (default is `post` for blog posts and `page` for other pages. You can use `minimal` if you don't want a header and footer)
|
Parameter | Description
|
||||||
js | List of local JavaScript files to include in the page (eg. `/js/mypage.js`)
|
----------- | -----------
|
||||||
|
readtime | If you want a post to show how many minutes it will take to read it, use `readtime: true`.
|
||||||
|
show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`.
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
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`.
|
||||||
|
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`
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
|
||||||
|
## Advanced parameters
|
||||||
|
|
||||||
|
These are advanced parameters that are only useful for people who need very fine control over their website.
|
||||||
|
|
||||||
|
Parameter | Description
|
||||||
|
----------- | -----------
|
||||||
|
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`)
|
||||||
|
language | HTML language code to be set on the page's <html> element.
|
||||||
|
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`.
|
||||||
|
js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`)
|
||||||
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
|
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
|
||||||
css | List of local CSS files to include in the page
|
css | List of local CSS files to include in the page
|
||||||
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
|
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
|
||||||
googlefonts | List of Google fonts to include in the page (eg. `["Monoton", "Lobster"]`)
|
|
||||||
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.
|
|
||||||
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.
|
|
||||||
|
|
||||||
### Advanced features (including how to use a custom URL address for your site)
|
## Page types
|
||||||
|
|
||||||
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 are applicable to any Jekyll site. It describes how I used a custom URL for my site (deanattali.com instead of daattali.github.io), how to add a Google-powered search into your site, and provides a few more details about having an RSS feed.
|
- **post** - To write a blog post, add a markdown or HTML file in the `_posts` folder. As long as you give it YAML front matter (the two lines of three dashes), it will automatically be rendered like a blog post. Look at the existing blog post files to see examples of how to use YAML parameters in blog posts.
|
||||||
|
- **page** - Any page outside the `_posts` folder that uses YAML front matter will have a very similar style to blog posts.
|
||||||
|
- **home** - The home layout is meant to act as the homepage of your blog posts - it will display all your blog posts, sorted from newest to oldest. A file using the `home` layout must be named `index.html` (not `index.md` or anything else!).
|
||||||
|
- **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter.
|
||||||
|
- If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML!
|
||||||
|
|
||||||
## Creating a User Page vs a Project Page
|
# Showcased users (success stories!)
|
||||||
|
|
||||||
If you're not sure what the difference is, you can probably safely ignore this section.
|
Beautiful Jekyll has been used in over 500 websites in its first 6 months, and tens of thousands of times since its inception. Here is a sample of some websites that use Beautiful Jekyll.
|
||||||
|
|
||||||
If you want to use this theme to host a website that will be available at `https://YOURUSERNAME.github.io`, then you do not need to read this section. That is called a User Page, you can only have one User Page in your GitHub account, and it is what you get by default when forking this project.
|
## Project/company websites
|
||||||
|
|
||||||
If you want to use this theme to create a website for a particular repository, it will be available at `https://YOURUSERNAME.github.io/PROJECTNAME`, and that is called a [Project Page](https://help.github.com/articles/user-organization-and-project-pages/). You can have a Project Page for any repository you have on GitHub.
|
|
||||||
|
|
||||||
**When using this theme for a Project Page, by default your website will be served from the `gh-pages` branch**, so you must take the following steps:
|
|
||||||
|
|
||||||
1. [Delete the existing `gh-pages` branch](https://help.github.com/en/articles/creating-and-deleting-branches-within-your-repository#deleting-a-branch)
|
|
||||||
|
|
||||||
2. [Create a new branch named `gh-pages` from the `master` branch](https://help.github.com/en/articles/creating-and-deleting-branches-within-your-repository#creating-a-branch)
|
|
||||||
|
|
||||||
Alternatively, instead of the above two steps, you can opt to use the `master` branch instead of `gh-pages` branch as your website's source by choosing that option in the main Settings page.
|
|
||||||
|
|
||||||
## Showcased users (success stories!)
|
|
||||||
|
|
||||||
To my huge surprise, Beautiful Jekyll has been used in over 500 websites in its first 6 months alone! Here is a hand-picked selection of some websites that use Beautiful Jekyll.
|
|
||||||
|
|
||||||
Want your website featured here? [Contact me](https://deanattali.com/aboutme#contact) to let me know about your website.
|
|
||||||
|
|
||||||
### Project/company websites
|
|
||||||
|
|
||||||
| Website | Description |
|
| Website | Description |
|
||||||
| :------ |:----------- |
|
| :------ |:----------- |
|
||||||
| [repidemicsconsortium.org/](https://www.repidemicsconsortium.org/) | R Epidemics Consortium |
|
| [repidemicsconsortium.org/](https://www.repidemicsconsortium.org/) | R Epidemics Consortium |
|
||||||
| [vaccineimpact.org](https://www.vaccineimpact.org/) | Vaccine Impact Modelling Consortium |
|
| [vaccineimpact.org](https://www.vaccineimpact.org/) | Vaccine Impact Modelling Consortium |
|
||||||
| [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses |
|
| [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses |
|
||||||
| [bigdata.juju.solutions](http://bigdata.juju.solutions) | Creating Big Data solutions Juju Solutions |
|
|
||||||
| [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app |
|
| [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app |
|
||||||
| [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package |
|
| [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package |
|
||||||
| [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs |
|
| [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs |
|
||||||
@@ -212,7 +192,7 @@ Want your website featured here? [Contact me](https://deanattali.com/aboutme#con
|
|||||||
| [terremotocentroitalia.info](https://www.terremotocentroitalia.info/) | Information about the 2016 Italy earthquake |
|
| [terremotocentroitalia.info](https://www.terremotocentroitalia.info/) | Information about the 2016 Italy earthquake |
|
||||||
|
|
||||||
|
|
||||||
### Personal websites
|
## Personal websites
|
||||||
|
|
||||||
| Website | Who | What |
|
| Website | Who | What |
|
||||||
| :------ |:--- | :--- |
|
| :------ |:--- | :--- |
|
||||||
@@ -228,98 +208,54 @@ Want your website featured here? [Contact me](https://deanattali.com/aboutme#con
|
|||||||
| [ocram85.com](https://ocram85.com) | Marco Blessing | A personal blog about PowerShell and automation |
|
| [ocram85.com](https://ocram85.com) | Marco Blessing | A personal blog about PowerShell and automation |
|
||||||
| [khanna.cc](https://khanna.cc/) | Harry Khanna | Law and software |
|
| [khanna.cc](https://khanna.cc/) | Harry Khanna | Law and software |
|
||||||
|
|
||||||
## Advanced: Local development using Docker
|
# FAQ and support
|
||||||
|
|
||||||
Beautiful Jekyll is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps set that up with Docker:
|
|
||||||
|
|
||||||
1. Make sure you have [Docker](https://www.docker.com/) installed.
|
|
||||||
|
|
||||||
2. Clone your repository locally.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/<your_username>/<your_username>.github.io.git
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Run the following shell commands to build the docker image and start the container for the first time:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd <repository_folder>
|
|
||||||
docker build -t beautiful-jekyll "$PWD"
|
|
||||||
docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker start beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
And you can stop the server with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker stop beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
Whenever you make any changes to `_config.yml`, you must stop and re-start the server for the new config settings to take effect.
|
|
||||||
|
|
||||||
Disclaimer: I personally am NOT using local development so I don't know much about running Jekyll locally. If you follow this route, please don't ask me questions because unfortunately I honestly won't be able to help!
|
|
||||||
|
|
||||||
## FAQ and support
|
|
||||||
|
|
||||||
If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/).
|
If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/).
|
||||||
|
|
||||||
Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](https://jekyllrb.com/) or with Google.
|
Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](https://jekyllrb.com/) or with Google.
|
||||||
|
|
||||||
#### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...?
|
**If you really wany my personal help, please visit https://xscode.com/daattali/beautiful-jekyll to hire my services.**
|
||||||
|
|
||||||
|
### What if I don't want the website to be `https://<yourusername>.github.io`?
|
||||||
|
|
||||||
|
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`.
|
||||||
|
|
||||||
|
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"!).
|
||||||
|
|
||||||
|
Now your website will be at `https://<yourusername>.github.io\MyAwesomeProject`.
|
||||||
|
|
||||||
|
### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...?
|
||||||
|
|
||||||
Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site.
|
Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site.
|
||||||
|
|
||||||
#### How do I add a favicon to my site?
|
### How do I add a favicon to my site?
|
||||||
|
|
||||||
Easy! Just place a valid `favicon.ico` (or another valid favicon image) in the root directory of your project. And then wait! It can take a while to update.
|
Easy! Just place a valid `favicon.ico` in the root directory of your project. And then wait! It can take a while to update.
|
||||||
|
|
||||||
#### How do I move the blog to another page instead of having it on the home page?
|
### How do I move the blog to another page instead of having it on the home page?
|
||||||
|
|
||||||
The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `<mysite.com>/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "/<page name>/page:num/"` (for example `paginate_path: "/blog/page:num/"`).
|
The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `<mysite.com>/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "/<page name>/page:num/"` (for example `paginate_path: "/blog/page:num/"`).
|
||||||
|
|
||||||
#### What size do you recommend using for the `bigimg` photos?
|
### What size do you recommend using for the `cover-img` photos?
|
||||||
|
|
||||||
Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image.
|
Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image.
|
||||||
|
|
||||||
#### How do I use MathJax equations in my posts?
|
### How do I use MathJax equations in my posts?
|
||||||
|
|
||||||
MathJax can be easily integrated into your website with a one-line addition. You can see [this discussion](https://github.com/daattali/beautiful-jekyll/issues/195) for more information.
|
MathJax can be easily integrated into your website with a one-line addition. You can see [this discussion](https://github.com/daattali/beautiful-jekyll/issues/195) for more information.
|
||||||
|
|
||||||
#### My project page appear to be broken after a recent update!
|
# Contributions
|
||||||
|
|
||||||
In June 2019, some URL related settings have been adjusted to be more in-line with how Jekyll uses them officially. Project Page absolute links might appear to be broken if you haven't propagated all necessary changes to your local templates, or if you have created additional templates making use of old settings. If a link contains a duplicated project path component, this is most likely the cause. In summary:
|
Thank you to [all past contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). If you find any problems or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome!
|
||||||
|
|
||||||
| | Old behavior | New behavior |
|
You can also contribute by becoming an [official sponsor](https://github.com/sponsors/daattali) to help keep beautiful-jekyll well-maintained.
|
||||||
| --- | --- | --- |
|
|
||||||
| `url` setting | `https://user.github.io/projectname` | (unset, GitHub auto detects) |
|
|
||||||
| `baseurl` setting | `/projectname` | (unset, GitHub auto detects) |
|
|
||||||
| Absolute link construction | `{{ site.url }}/your/path` | `{{ '/your/path' \| absolute_url }}` |
|
|
||||||
| Relative link construction | `{{ site.baseurl }}/your/path` | `{{ '/your/path' \| relative_url }}` |
|
|
||||||
|
|
||||||
## Credits
|
# Credits
|
||||||
|
|
||||||
This template was not made entirely from scratch. I would like to give special thanks to:
|
This template was not made *entirely* from scratch. I'd like to give special thanks to [Jekyll Now](https://github.com/barryclark/jekyll-now) and [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from whom I've taken several ideas initially.
|
||||||
- [Barry Clark](https://github.com/barryclark) and his project [Jekyll Now](https://github.com/barryclark/jekyll-now), from whom I've taken several ideas and code snippets, as well as some documenation tips.
|
|
||||||
- [Iron Summit Media](https://github.com/IronSummitMedia) and their project [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from which I've used some design ideas and some of the templating code for posts and pagination.
|
|
||||||
|
|
||||||
I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories.
|
I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories.
|
||||||
|
|
||||||
## Contributions
|
# Known limitations
|
||||||
|
|
||||||
If you find anything wrong or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome!
|
- If there are many navigation bar links and an avatar, some of the links may get partially hidden behind the avatar. I suggest either re-thinking the number of links, or not using an avatar.
|
||||||
|
|
||||||
Thank you to [all contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). Special thanks to [@OCram85](https://github.com/OCram85) and [@abelcheung](https://github.com/abelcheung) for contributing multiple times as well as helping with discussions.
|
|
||||||
|
|
||||||
If you do fork or clone this project to use as a template for your site, I would appreciate if you keep the link in the footer to this project. I've noticed that several people who forked this repo removed the attribution and I would prefer to get the recognition if you do use this :)
|
|
||||||
|
|
||||||
## Known limitations
|
|
||||||
|
|
||||||
- If you have a project page and you want a custom 404 page, you must have a custom domain. See https://help.github.com/articles/custom-404-pages/. This means that if you have a regular User Page you can use the 404 page from this theme, but if it's a website for a specific repository, the 404 page will not be used.
|
|
||||||
|
|
||||||
- If there are many navigation bar links and avatar, some of the links may get partially hidden behind the avatar.
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# --- General options --- #
|
# --- Basic options --- #
|
||||||
|
|
||||||
# url is the full website URL
|
# url is the full website URL
|
||||||
# baseurl is the website's URL without the hostname
|
# baseurl is the website's URL without the hostname
|
||||||
@@ -7,21 +7,12 @@
|
|||||||
url: "https://blog.bryanroessler.com"
|
url: "https://blog.bryanroessler.com"
|
||||||
baseurl: ""
|
baseurl: ""
|
||||||
|
|
||||||
# If you are building a GitHub project page then use these settings:
|
# Your name to show in the footer
|
||||||
#url: "http://username.github.io/projectname"
|
author: Bryan Roessler
|
||||||
#baseurl: "/projectname"
|
|
||||||
|
|
||||||
# Of course don't forget to change the username and projectname to YOUR username and project
|
|
||||||
|
|
||||||
# Name of website
|
# --- List of links in the navigation bar --- #
|
||||||
title: Bryan Roessler
|
|
||||||
|
|
||||||
# Short description of your site
|
|
||||||
description: Ordo ab chao
|
|
||||||
|
|
||||||
# --- Navigation bar options --- #
|
|
||||||
|
|
||||||
# List of links in the navigation bar
|
|
||||||
navbar-links:
|
navbar-links:
|
||||||
Home: "https://bryanroessler.com"
|
Home: "https://bryanroessler.com"
|
||||||
Blog: "https://blog.bryanroessler.com"
|
Blog: "https://blog.bryanroessler.com"
|
||||||
@@ -31,52 +22,35 @@ navbar-links:
|
|||||||
- Syncthing: "https://syncthing.bryanroessler.com"
|
- Syncthing: "https://syncthing.bryanroessler.com"
|
||||||
- Panel: "https://panel.bryanroessler.com"
|
- Panel: "https://panel.bryanroessler.com"
|
||||||
|
|
||||||
# Image to show in the navigation bar - image must be a square (width = height)
|
# --- Logo --- #
|
||||||
# Remove this parameter if you don't want an image in the navbar
|
|
||||||
avatar: "/img/me_square_sepia_small.jpg"
|
|
||||||
|
|
||||||
# If you want to have an image logo in the top-left corner instead of the title text,
|
# If you want to have an image logo in the top-left corner instead of the title text,
|
||||||
# then specify the following parameter
|
# then specify the following parameter
|
||||||
#title-img: "./img/me_square_sepia_small.jpg"
|
#title-img: "./img/me_square_sepia_small.jpg"
|
||||||
|
|
||||||
# --- Background colour/image options --- #
|
# --- Background colour/image options --- #
|
||||||
|
avatar: "/assets/img/me_square_sepia_small.jpg"
|
||||||
|
|
||||||
# Personalize the colors in your website. Colour values can be any valid CSS colour
|
# By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
|
||||||
|
round-avatar: true
|
||||||
|
|
||||||
navbar-col: "#F5F5F5"
|
# If you want to have an image logo in the top-left corner instead of the title text,
|
||||||
navbar-text-col: "#404040"
|
# then specify the following parameter
|
||||||
navbar-children-col: "#F5F5F5"
|
#title-img: /path/to/image
|
||||||
page-col: "#FFFFFF"
|
|
||||||
link-col: "#008AFF"
|
|
||||||
hover-col: "#0085A1"
|
|
||||||
footer-col: "#F5F5F5"
|
|
||||||
footer-text-col: "#777777"
|
|
||||||
footer-link-col: "#404040"
|
|
||||||
|
|
||||||
# Alternatively, the navbar, footer, and page background can be set to use background images
|
|
||||||
# instead of colour
|
|
||||||
|
|
||||||
# navbar-img: "/img/bgimage.png"
|
|
||||||
# footer-img: "/img/bgimage.png"
|
|
||||||
# page-img: "/img/bgimage.png"
|
|
||||||
|
|
||||||
# --- Footer options --- #
|
# --- Footer options --- #
|
||||||
|
|
||||||
# Change all these values or delete the ones you don't want.
|
# Select the social network links that you want to show in the footer.
|
||||||
# Important: you must keep the "name" parameter, everything else you can remove
|
# Uncomment the links you want to show and add your information to each one.
|
||||||
author:
|
# If you don't want to show a link to an RSS feed, set rss to "false".
|
||||||
name: Bryan Roessler
|
|
||||||
|
|
||||||
# Select your active Social Network Links.
|
|
||||||
# Uncomment the links you want to show in the footer and add your information to each link.
|
|
||||||
# You can reorder the items to define the link order.
|
|
||||||
# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml
|
# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml
|
||||||
social-network-links:
|
social-network-links:
|
||||||
rss: true
|
|
||||||
email: "bryanroessler@gmail.com"
|
email: "bryanroessler@gmail.com"
|
||||||
# facebook: daattali
|
# facebook: daattali
|
||||||
github: "https://git.bryanroessler.com"
|
github: "https://git.bryanroessler.com"
|
||||||
# twitter: daattali
|
# twitter: daattali
|
||||||
|
rss: true
|
||||||
# reddit: yourname
|
# reddit: yourname
|
||||||
# google-plus: +DeanAttali
|
# google-plus: +DeanAttali
|
||||||
linkedin: bryan-roessler-phd-47535a60
|
linkedin: bryan-roessler-phd-47535a60
|
||||||
@@ -90,18 +64,52 @@ social-network-links:
|
|||||||
# steam: deanat78
|
# steam: deanat78
|
||||||
# twitch: yourname
|
# twitch: yourname
|
||||||
# yelp: yourname
|
# yelp: yourname
|
||||||
|
# telegram: yourname
|
||||||
|
# calendly: yourname
|
||||||
|
# mastodon: instance.url/@username
|
||||||
|
# ORCID: your ORCID ID
|
||||||
|
# google-scholar: your google scholar
|
||||||
|
|
||||||
# Select which share links to show in posts
|
# --- General options --- #
|
||||||
|
|
||||||
|
# Select which social network share links to show in posts
|
||||||
share-links-active:
|
share-links-active:
|
||||||
twitter: false
|
twitter: false
|
||||||
facebook: false
|
facebook: false
|
||||||
google: false
|
|
||||||
linkedin: false
|
linkedin: false
|
||||||
|
vk: false
|
||||||
|
|
||||||
# How to display the link to the website in the footer
|
# How to display the link to your website in the footer
|
||||||
# Remove this if you don't want a link in the footer
|
# Remove this if you don't want a link in the footer
|
||||||
url-pretty: "bryanroessler.com" # eg. "deanattali.com/beautiful-jekyll"
|
url-pretty: "bryanroessler.com" # eg. "deanattali.com/beautiful-jekyll"
|
||||||
|
|
||||||
|
# Create a "tags" index page and make tags on each post clickable
|
||||||
|
link-tags: true
|
||||||
|
|
||||||
|
# Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page
|
||||||
|
excerpt_length: 50
|
||||||
|
|
||||||
|
# --- Colours / background image --- #
|
||||||
|
|
||||||
|
# Personalize the colors in your website. Colour values can be any valid CSS colour
|
||||||
|
|
||||||
|
navbar-col: "#F5F5F5"
|
||||||
|
navbar-text-col: "#404040"
|
||||||
|
navbar-border-col: "#EAEAEA"
|
||||||
|
page-col: "#FFFFFF"
|
||||||
|
link-col: "#008AFF"
|
||||||
|
hover-col: "#0085A1"
|
||||||
|
footer-col: "#F5F5F5"
|
||||||
|
footer-text-col: "#777777"
|
||||||
|
footer-link-col: "#404040"
|
||||||
|
|
||||||
|
# Alternatively, the navbar, footer, and page background can be set to use background images
|
||||||
|
# instead of colour
|
||||||
|
|
||||||
|
#navbar-img: "/assets/img/bgimage.png"
|
||||||
|
#footer-img: "/assets/img/bgimage.png"
|
||||||
|
#page-img: "/assets/img/bgimage.png"
|
||||||
|
|
||||||
# --- Web Statistics Section --- #
|
# --- Web Statistics Section --- #
|
||||||
|
|
||||||
# Fill in your Google Analytics ID to track your website using GA
|
# Fill in your Google Analytics ID to track your website using GA
|
||||||
@@ -113,7 +121,6 @@ google_analytics: "UA-158358388-1"
|
|||||||
# Matomo (aka Piwik) Web statistics
|
# Matomo (aka Piwik) Web statistics
|
||||||
# Uncomment the following section to enable Matomo. The opt-out parameter controls
|
# Uncomment the following section to enable Matomo. The opt-out parameter controls
|
||||||
# whether or not you want to allow users to opt out of tracking.
|
# whether or not you want to allow users to opt out of tracking.
|
||||||
|
|
||||||
#matomo:
|
#matomo:
|
||||||
# site_id: "9"
|
# site_id: "9"
|
||||||
# uri: "demo.wiki.pro"
|
# uri: "demo.wiki.pro"
|
||||||
@@ -121,43 +128,50 @@ google_analytics: "UA-158358388-1"
|
|||||||
|
|
||||||
# --- Comments --- #
|
# --- Comments --- #
|
||||||
|
|
||||||
# Fill in your Disqus shortname (NOT the userid) if you want to support Disqus comments
|
# To use Disqus comments, sign up to https://disqus.com and fill in your Disqus shortname (NOT the userid)
|
||||||
# disqus: ""
|
#disqus: ""
|
||||||
|
|
||||||
# If you want to use JustComments fill with the API Key
|
# To use Facebook Comments, create a Facebook app and fill in the Facebook App ID
|
||||||
#just-comments: "ABCD-EFGH-IJKL"
|
#fb_comment_id: ""
|
||||||
|
|
||||||
# To use Facebook Comments, fill in a Facebook App ID
|
# To use Utterances comments: (0) uncomment the following section, (1) fill in
|
||||||
# fb_comment_id: ""
|
# "repository" (make sure the repository is public), (2) Enable Issues in your repository,
|
||||||
|
# (3) Install the Utterances app in your repository https://github.com/apps/utterances
|
||||||
|
# See more details about the parameters below at https://utteranc.es/
|
||||||
|
#utterances:
|
||||||
|
# repository: # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
||||||
|
# issue-term: title # Mapping between blog posts and GitHub issues
|
||||||
|
# theme: github-light # Utterances theme
|
||||||
|
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
|
||||||
|
|
||||||
# To use Staticman comments, fill in repository, branch, and endpoint
|
# To use Staticman comments, first invite `staticmanlab` as a collaborator to your repository and
|
||||||
staticman:
|
# accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`.
|
||||||
repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
# Then uncomment the following section and fill in "repository" and "branch".
|
||||||
branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
|
# If you want to use reCaptcha for staticman (optional for spam protection), then fill
|
||||||
endpoint : # URL of your own deployment, with a trailing slash (will fallback to a public GitLab instance) eg. https://<your-api>/v3/entry/github/
|
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`.
|
||||||
reCaptcha:
|
# See more details at https://staticman.net/
|
||||||
# reCaptcha for Staticman (OPTIONAL, but recommended for spam protection)
|
#staticman:
|
||||||
# If you use reCaptcha, you must also set these parameters in staticman.yml
|
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
||||||
siteKey : # Use your own site key, you need to apply for one on Google
|
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
|
||||||
secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
|
# 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)
|
||||||
|
# reCaptcha:
|
||||||
|
# siteKey : # Use your own site key, you need to apply for one on Google
|
||||||
|
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
|
||||||
|
|
||||||
# --- Misc --- #
|
# --- Misc --- #
|
||||||
|
|
||||||
# Facebook App ID
|
|
||||||
# fb_app_id: ""
|
|
||||||
|
|
||||||
# Excerpt Word Length
|
|
||||||
# Truncates the excerpt to the specified number of words on the index page
|
|
||||||
excerpt_length: 50
|
|
||||||
|
|
||||||
# Character used to separate site title and description in HTML document title
|
# Character used to separate site title and description in HTML document title
|
||||||
# and RSS feed title
|
# and RSS feed title
|
||||||
title-separator: "-"
|
title-separator: "-"
|
||||||
|
|
||||||
# Ruby Date Format
|
# Ruby Date Format to show dates of posts
|
||||||
date_format: "%B %-d, %Y"
|
date_format: "%B %-d, %Y"
|
||||||
|
|
||||||
# --- Don't need to touch anything below here (but you can if you want) --- #
|
# Facebook App ID
|
||||||
|
#fb_app_id: ""
|
||||||
|
|
||||||
|
|
||||||
|
# --- You don't need to touch anything below here (but you can if you want) --- #
|
||||||
|
|
||||||
# Output options (more information on Jekyll's site)
|
# Output options (more information on Jekyll's site)
|
||||||
timezone: "America/New_York"
|
timezone: "America/New_York"
|
||||||
@@ -166,6 +180,8 @@ highlighter: rouge
|
|||||||
permalink: /:year-:month-:day-:title/
|
permalink: /:year-:month-:day-:title/
|
||||||
paginate: 5
|
paginate: 5
|
||||||
|
|
||||||
|
plugins: [jekyll-paginate]
|
||||||
|
|
||||||
kramdown:
|
kramdown:
|
||||||
input: GFM
|
input: GFM
|
||||||
|
|
||||||
@@ -177,8 +193,9 @@ defaults:
|
|||||||
type: "posts"
|
type: "posts"
|
||||||
values:
|
values:
|
||||||
layout: "post"
|
layout: "post"
|
||||||
comments: true # add comments to all blog posts
|
comments: false # add comments to all blog posts
|
||||||
social-share: true # add social media sharing buttons to all blog posts
|
social-share: true # add social media sharing buttons to all blog posts
|
||||||
|
readtime: true # add estimated reading time on all blog posts
|
||||||
-
|
-
|
||||||
scope:
|
scope:
|
||||||
path: "" # all files
|
path: "" # all files
|
||||||
@@ -186,74 +203,17 @@ defaults:
|
|||||||
layout: "page"
|
layout: "page"
|
||||||
show-avatar: true
|
show-avatar: true
|
||||||
|
|
||||||
# Use tags index page and make tags on each post clickable
|
|
||||||
link-tags: true
|
|
||||||
|
|
||||||
# Exclude these files from production site
|
# Exclude these files from production site
|
||||||
exclude:
|
exclude:
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
- CNAME
|
- CNAME
|
||||||
- Dockerfile
|
|
||||||
- Gemfile
|
- Gemfile
|
||||||
- Gemfile.lock
|
- Gemfile.lock
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
- Vagrantfile
|
- screenshot.png
|
||||||
|
- docs/
|
||||||
#https://github.com/jekyll/jekyll/issues/5267#issuecomment-241379902
|
- vendor/
|
||||||
exclude: [vendor]
|
|
||||||
|
|
||||||
# prose.io config
|
|
||||||
prose:
|
|
||||||
rooturl: '_posts'
|
|
||||||
media: 'img'
|
|
||||||
ignore:
|
|
||||||
- 404.html
|
|
||||||
- LICENSE
|
|
||||||
- feed.xml
|
|
||||||
- _config.yml
|
|
||||||
- /_layouts
|
|
||||||
- /_includes
|
|
||||||
- /css
|
|
||||||
- /img
|
|
||||||
- /js
|
|
||||||
metadata:
|
|
||||||
_posts:
|
|
||||||
- name: "layout"
|
|
||||||
field:
|
|
||||||
element: "hidden"
|
|
||||||
value: "post"
|
|
||||||
- name: "title"
|
|
||||||
field:
|
|
||||||
element: "text"
|
|
||||||
label: "Post title"
|
|
||||||
placeholder: "Title"
|
|
||||||
alterable: true
|
|
||||||
- name: "subtitle"
|
|
||||||
field:
|
|
||||||
element: "textarea"
|
|
||||||
label: "Subtitle"
|
|
||||||
placeholder: "A description of your post."
|
|
||||||
alterable: true
|
|
||||||
- name: "date"
|
|
||||||
field:
|
|
||||||
element: "text"
|
|
||||||
label: "Date"
|
|
||||||
help: "Enter date of post."
|
|
||||||
placeholder: "yyyy-mm-dd"
|
|
||||||
alterable: true
|
|
||||||
- name: "image"
|
|
||||||
field:
|
|
||||||
element: "text"
|
|
||||||
label: "Image"
|
|
||||||
help: "Add a thumbnail image to your post."
|
|
||||||
placeholder: "Thumbnail"
|
|
||||||
alterable: true
|
|
||||||
- name: "published"
|
|
||||||
field:
|
|
||||||
element: "checkbox"
|
|
||||||
label: "Publish"
|
|
||||||
help: "Check to publish post, uncheck to hide."
|
|
||||||
|
|
||||||
|
|
||||||
# Beautiful Jekyll / Dean Attali
|
# Beautiful Jekyll / Dean Attali
|
||||||
|
|||||||
@@ -1,92 +0,0 @@
|
|||||||
# You can define your custom social network links here.
|
|
||||||
# Use the same key you added in _config.yml -> social-network-links.
|
|
||||||
# In addition to that you need to specify the following properties:
|
|
||||||
# name: Specify a user-friendly name that will be used as a link title
|
|
||||||
# baseURL: Define a base URL which will be combined with the value of
|
|
||||||
# site.social-network-links.<key>
|
|
||||||
# icon: Specify a valid fontawesome icon class
|
|
||||||
|
|
||||||
facebook:
|
|
||||||
name: "Facebook"
|
|
||||||
baseURL: "https://www.facebook.com/"
|
|
||||||
icon: "fa-facebook"
|
|
||||||
|
|
||||||
github:
|
|
||||||
name: "GitHub"
|
|
||||||
baseURL: "https://github.com/"
|
|
||||||
icon: "fa-github"
|
|
||||||
|
|
||||||
twitter:
|
|
||||||
name: "Twitter"
|
|
||||||
baseURL: "https://twitter.com/"
|
|
||||||
icon: "fa-twitter"
|
|
||||||
|
|
||||||
reddit:
|
|
||||||
name: "Reddit"
|
|
||||||
baseURL: "https://reddit.com/u/"
|
|
||||||
icon: "fa-reddit"
|
|
||||||
|
|
||||||
email:
|
|
||||||
name: "Email me"
|
|
||||||
baseURL: "mailto:"
|
|
||||||
icon: "fa-envelope"
|
|
||||||
|
|
||||||
linkedin:
|
|
||||||
name: "LinkedIn"
|
|
||||||
baseURL: "https://linkedin.com/in/"
|
|
||||||
icon: "fa-linkedin"
|
|
||||||
|
|
||||||
xing:
|
|
||||||
name: "Xing"
|
|
||||||
baseURL: "https://www.xing.com/profile/"
|
|
||||||
icon: "fa-xing"
|
|
||||||
|
|
||||||
stackoverflow:
|
|
||||||
name: "StackOverflow"
|
|
||||||
baseURL: "https://stackoverflow.com/users/"
|
|
||||||
icon: "fa-stack-overflow"
|
|
||||||
|
|
||||||
snapchat:
|
|
||||||
name: "Snapchat"
|
|
||||||
baseURL: "https://www.snapchat.com/add/"
|
|
||||||
icon: "fa-snapchat-ghost"
|
|
||||||
|
|
||||||
instagram:
|
|
||||||
name: "Instagram"
|
|
||||||
baseURL: "https://www.instagram.com/"
|
|
||||||
icon: "fa-instagram"
|
|
||||||
|
|
||||||
youtube:
|
|
||||||
name: "YouTube"
|
|
||||||
baseURL: "https://www.youtube.com/"
|
|
||||||
icon: "fa-youtube"
|
|
||||||
|
|
||||||
spotify:
|
|
||||||
name: "Spotify"
|
|
||||||
baseURL: "https://open.spotify.com/user/"
|
|
||||||
icon: "fa-spotify"
|
|
||||||
|
|
||||||
telephone:
|
|
||||||
name: "Phone"
|
|
||||||
baseURL: "tel:"
|
|
||||||
icon: "fa-phone"
|
|
||||||
|
|
||||||
rss:
|
|
||||||
name: "RSS"
|
|
||||||
baseURL: "{{ '/feed.xml' | relative_url }}"
|
|
||||||
icon: "fa-rss"
|
|
||||||
|
|
||||||
steam:
|
|
||||||
name: "Steam"
|
|
||||||
baseURL: "https://steamcommunity.com/id/"
|
|
||||||
icon: "fa-steam"
|
|
||||||
|
|
||||||
twitch:
|
|
||||||
name: "Twitch"
|
|
||||||
baseURL: "https://www.twitch.tv/"
|
|
||||||
icon: "fa-twitch"
|
|
||||||
|
|
||||||
yelp:
|
|
||||||
name: "Yelp"
|
|
||||||
baseURL: "https://{{ site.author.yelp }}.yelp.com"
|
|
||||||
icon: "fa-yelp"
|
|
||||||
6
blog.bryanroessler.com/_includes/comments.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{% if page.comments %}
|
||||||
|
{% include disqus.html %}
|
||||||
|
{% include fb-comment.html %}
|
||||||
|
{% include staticman-comments.html %}
|
||||||
|
{% include utterances-comment.html %}
|
||||||
|
{% endif %}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{%- if site.disqus -%}
|
{%- if site.disqus -%}
|
||||||
<div class="comments">
|
<div class="disqus-comments">
|
||||||
|
<div class="comments">
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var disqus_shortname = '{{ site.disqus }}';
|
var disqus_shortname = '{{ site.disqus }}';
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% if include.css.sri %}
|
{% if include.css.sri %}
|
||||||
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
||||||
{% elsif include.css.href %}
|
{% elsif include.css.href %}
|
||||||
<link rel="stylesheet" href="{{ include.css.href }}" />
|
<link rel="stylesheet" href="{{ include.css.href }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<link rel="stylesheet" href="{{ include.css }}" />
|
<link rel="stylesheet" href="{{ include.css }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
{%- if site.fb_comment_id -%}
|
{%- if site.fb_comment_id -%}
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
<div id="fb-root"></div>
|
<div id="fb-root"></div>
|
||||||
<script>(function(d, s, id) {
|
<script>
|
||||||
|
(function(d, s, id) {
|
||||||
var js, fjs = d.getElementsByTagName(s)[0];
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
if (d.getElementById(id)) return;
|
if (d.getElementById(id)) return;
|
||||||
js = d.createElement(s); js.id = id;
|
js = d.createElement(s); js.id = id;
|
||||||
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
|
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
|
||||||
fjs.parentNode.insertBefore(js, fjs);
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
}(document, 'script', 'facebook-jssdk'));</script>
|
}(document, 'script', 'facebook-jssdk'));
|
||||||
|
</script>
|
||||||
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
|
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
|
||||||
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
|
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
<footer class="footer-min">
|
<footer class="footer-min">
|
||||||
<div class="text-muted">
|
<div class="text-muted">
|
||||||
{{ site.author.name }}
|
{% if site.author %}
|
||||||
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
|
{% endif %}
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
{{ page.date }}
|
{{ page.date }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -1,31 +1,18 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<div class="container beautiful-jekyll-footer">
|
<div class="container-md beautiful-jekyll-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<ul class="list-inline text-center footer-links">
|
{% include social-networks-links.html %}
|
||||||
{%- for link in site.social-network-links -%}
|
{% if page.footer-extra %}
|
||||||
{%- assign curkey = link[0] -%}
|
<div class="footer-custom-content">
|
||||||
{%- assign element = site.data.SocialNetworks[curkey] -%}
|
{% include {{ page.footer-extra }} %}
|
||||||
<li>
|
</div>
|
||||||
{%- if curkey == 'rss' -%}
|
{% endif %}
|
||||||
<a href="{{ '/feed.xml' | relative_url }}" title="{{ element.name }}">
|
|
||||||
{%- elsif curkey == 'yelp' -%}
|
|
||||||
<a href="https://{{ site.social-network-links[curkey] }}.yelp.com" title="{{ element.name }}">
|
|
||||||
{%- else -%}
|
|
||||||
<a href="{{element.baseURL}}{{ site.social-network-links[curkey] }}" title="{{ element.name }}">
|
|
||||||
{%- endif -%}
|
|
||||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa {{ element.icon }} fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
<span class="sr-only">{{ element.name }}</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{%- endfor -%}
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">
|
<p class="copyright text-muted">
|
||||||
{{ site.author.name }}
|
{% if site.author %}
|
||||||
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
|
{% endif %}
|
||||||
{{ site.time | date: '%Y' }}
|
{{ site.time | date: '%Y' }}
|
||||||
|
|
||||||
{% if site.url-pretty %}
|
{% if site.url-pretty %}
|
||||||
@@ -43,7 +30,7 @@
|
|||||||
<!-- Please don't remove this, keep my open source work credited :) -->
|
<!-- Please don't remove this, keep my open source work credited :) -->
|
||||||
<p class="theme-by text-muted">
|
<p class="theme-by text-muted">
|
||||||
Theme by
|
Theme by
|
||||||
<a href="https://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
|
<a href="https://beautifuljekyll.com">beautiful-jekyll</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
{% if site.gtag %}
|
{% if site.gtag %}
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', '{{ site.gtag }}');
|
gtag('config', '{{ site.gtag }}');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{% if site.gtm %}
|
{% if site.gtm %}
|
||||||
<!-- Google Tag Manager (noscript) -->
|
<!-- Google Tag Manager (noscript) -->
|
||||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
||||||
<!-- End Google Tag Manager (noscript) -->
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
{% if site.gtm %}
|
{% if site.gtm %}
|
||||||
<!-- Google Tag Manager -->
|
<!-- Google Tag Manager -->
|
||||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
<script>
|
||||||
|
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
|
})(window,document,'script','dataLayer','{{ site.gtm }}');
|
||||||
|
</script>
|
||||||
<!-- End Google Tag Manager -->
|
<!-- End Google Tag Manager -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
|
|
||||||
|
|
||||||
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||||
|
|
||||||
<meta name="author" content="{{ site.author.name }}" />
|
{% if site.author %}
|
||||||
|
<meta name="author" content="{{ site.author }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
<meta name="description" content="{{ page.subtitle }}">
|
<meta name="description" content="{{ page.subtitle }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} {{ site.title-separator }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}" />
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}">
|
||||||
|
|
||||||
{% include gtag.html %}
|
{% include gtag.html %}
|
||||||
{% include gtm_head.html %}
|
{% include gtm_head.html %}
|
||||||
@@ -25,13 +26,7 @@
|
|||||||
|
|
||||||
{% if layout.common-css %}
|
{% if layout.common-css %}
|
||||||
{% for css in layout.common-css %}
|
{% for css in layout.common-css %}
|
||||||
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if layout.common-googlefonts %}
|
|
||||||
{% for font in layout.common-googlefonts %}
|
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -43,27 +38,21 @@
|
|||||||
|
|
||||||
{% if page.css %}
|
{% if page.css %}
|
||||||
{% for css in page.css %}
|
{% for css in page.css %}
|
||||||
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.googlefonts %}
|
|
||||||
{% for font in page.googlefonts %}
|
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Facebook OpenGraph tags -->
|
<!-- Facebook OpenGraph tags -->
|
||||||
{% if site.fb_app_id %}
|
{% if site.fb_app_id %}
|
||||||
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
|
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-title %}
|
{% if page.meta-title %}
|
||||||
<meta property="og:title" content="{{ page.meta-title }}" />
|
<meta property="og:title" content="{{ page.meta-title }}">
|
||||||
{% elsif page.title %}
|
{% elsif page.title %}
|
||||||
<meta property="og:title" content="{{ page.title }}" />
|
<meta property="og:title" content="{{ page.title }}">
|
||||||
{% else %}
|
{% elsif site.title %}
|
||||||
<meta property="og:title" content="{{ site.title }}" />
|
<meta property="og:title" content="{{ site.title }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-description %}
|
{% if page.meta-description %}
|
||||||
@@ -75,34 +64,59 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
|
|
||||||
{% if page.id %}
|
{% if page.id %}
|
||||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
<meta property="og:type" content="article">
|
||||||
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
<meta property="og:article:author" content="{{ site.author }}">
|
||||||
|
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}" />
|
<meta property="og:type" content="website">
|
||||||
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.id %}
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
||||||
|
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
||||||
|
{% else %}
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
|
||||||
|
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{%- capture shareimg -%}
|
||||||
{% if page.share-img %}
|
{% if page.share-img %}
|
||||||
<meta property="og:image" content="{{ page.share-img }}" />
|
{{ page.share-img }}
|
||||||
|
{% elsif page.cover-img %}
|
||||||
|
{% if page.cover-img.first %}
|
||||||
|
{{ page.cover-img[0].first.first }}
|
||||||
|
{% else %}
|
||||||
|
{{ page.cover-img }}
|
||||||
|
{% endif %}
|
||||||
|
{% elsif page.thumbnail-img %}
|
||||||
|
{{ page.thumbnail-img }}
|
||||||
{% elsif site.avatar %}
|
{% elsif site.avatar %}
|
||||||
<meta property="og:image" content="{{ site.avatar | absolute_url }}" />
|
{{ site.avatar }}
|
||||||
|
{% endif %}
|
||||||
|
{% endcapture %}
|
||||||
|
{% assign shareimg=shareimg | strip %}
|
||||||
|
|
||||||
|
{% if shareimg != "" %}
|
||||||
|
<meta property="og:image" content="{{ shareimg | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<!-- Twitter summary cards -->
|
<!-- Twitter summary cards -->
|
||||||
<meta name="twitter:card" content="summary" />
|
{% if shareimg != "" and shareimg != site.avatar %}
|
||||||
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
{% else %}
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
{% endif %}
|
||||||
|
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
|
||||||
|
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
|
||||||
|
|
||||||
{% if page.meta-title %}
|
{% if page.meta-title %}
|
||||||
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
<meta name="twitter:title" content="{{ page.meta-title }}">
|
||||||
{% elsif page.title %}
|
{% elsif page.title %}
|
||||||
<meta name="twitter:title" content="{{ page.title }}" />
|
<meta name="twitter:title" content="{{ page.title }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:title" content="{{ site.title }}" />
|
<meta name="twitter:title" content="{{ site.title }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-description %}
|
{% if page.meta-description %}
|
||||||
@@ -113,10 +127,8 @@
|
|||||||
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.share-img %}
|
{% if shareimg != "" %}
|
||||||
<meta name="twitter:image" content="{{ page.share-img }}" />
|
<meta name="twitter:image" content="{{ shareimg | absolute_url }}">
|
||||||
{% elsif site.avatar %}
|
|
||||||
<meta name="twitter:image" content="{{ site.avatar | absolute_url }}" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.matomo %}
|
{% if site.matomo %}
|
||||||
@@ -125,7 +137,7 @@
|
|||||||
|
|
||||||
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
||||||
<!-- Staticman -->
|
<!-- Staticman -->
|
||||||
<link rel="stylesheet" href="{{ "/css/staticman.css" | relative_url }}" />
|
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,29 +1,31 @@
|
|||||||
<!-- TODO this file has become a mess, refactor it -->
|
<!-- TODO this file has become a mess, refactor it -->
|
||||||
|
|
||||||
{% if page.bigimg or page.title %}
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
|
||||||
{% if page.bigimg %}
|
{% if page.cover-img or page.title %}
|
||||||
<div id="header-big-imgs" data-num-img={% if page.bigimg.first %}{{ page.bigimg.size }}{% else %}1{% endif %}
|
|
||||||
{% for bigimg in page.bigimg %}
|
{% if page.cover-img %}
|
||||||
|
<div id="header-big-imgs" data-num-img={% if page.cover-img.first %}{{ page.cover-img.size }}{% else %}1{% endif %}
|
||||||
|
{% for bigimg in page.cover-img %}
|
||||||
{% assign imgnum = forloop.index %}
|
{% assign imgnum = forloop.index %}
|
||||||
{% for imginfo in bigimg %}
|
{% for imginfo in bigimg %}
|
||||||
{% if imginfo[0] %}
|
{% if imginfo[0] %}
|
||||||
data-img-src-{{ imgnum }}="{{ imginfo[0] | relative_url }}"
|
data-img-src-{{ imgnum }}="{{ imginfo[0] | absolute_url }}"
|
||||||
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
data-img-src-{{ imgnum }}="{{ imginfo | relative_url }}"
|
data-img-src-{{ imgnum }}="{{ imginfo | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
></div>
|
></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<header class="header-section {% if page.bigimg %}has-img{% endif %}">
|
<header class="header-section {% if page.cover-img %}has-img{% endif %}">
|
||||||
{% if page.bigimg %}
|
{% if page.cover-img %}
|
||||||
<div class="big-img intro-header">
|
<div class="big-img intro-header">
|
||||||
<div class="container">
|
<div class="container-md">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<div class="{{ include.type }}-heading">
|
<div class="{{ include.type }}-heading">
|
||||||
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
@@ -36,7 +38,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.type == "post" %}
|
{% if include.type == "post" %}
|
||||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||||
|
{% if page.readtime %}
|
||||||
|
{% include readtime.html %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -46,9 +51,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="intro-header no-img">
|
<div class="intro-header no-img">
|
||||||
<div class="container">
|
<div class="container-md">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<div class="{{ include.type }}-heading">
|
<div class="{{ include.type }}-heading">
|
||||||
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
@@ -61,7 +66,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.type == "post" %}
|
{% if include.type == "post" %}
|
||||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||||
|
{% if page.readtime %}
|
||||||
|
{% include readtime.html %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
{%- if site.just-comments -%}
|
|
||||||
<div class="just-comments" data-apikey="{{site.just-comments}}"></div>
|
|
||||||
<script async src="https://just-comments.com/w2.js"></script>
|
|
||||||
{%- endif -%}
|
|
||||||
@@ -1,57 +1,46 @@
|
|||||||
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
|
<nav class="navbar navbar-expand-md navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% endif %}">
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
|
|
||||||
<span class="sr-only">Toggle navigation</span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
{%- if site.title-img -%}
|
{%- if site.title-img -%}
|
||||||
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img src="{{ site.title-img }}"/></a>
|
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img }}"/></a>
|
||||||
{%- else -%}
|
{%- elsif site.title -%}
|
||||||
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</div>
|
|
||||||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="main-navbar">
|
<div class="collapse navbar-collapse" id="main-navbar">
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="navbar-nav ml-auto">
|
||||||
{%- for link in site.navbar-links -%}
|
{%- for link in site.navbar-links -%}
|
||||||
{%- if link[1].first %}
|
{%- if link[1].first %}
|
||||||
<li class="navlinks-container">
|
<li class="nav-item dropdown">
|
||||||
<a class="navlinks-parent" href="javascript:void(0)">{{ link[0] }}</a>
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ link[0] }}</a>
|
||||||
<div class="navlinks-children">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||||
{%- for childlink in link[1] -%}
|
{%- for childlink in link[1] -%}
|
||||||
{%- for linkparts in childlink %}
|
{%- for linkparts in childlink %}
|
||||||
<a href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a>
|
<a class="dropdown-item" href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ link[1] | relative_url }}">{{ link[0] }}</a></li>
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ link[1] | relative_url }}">{{ link[0] }}</a>
|
||||||
|
</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if page.image and (layout.show-avatar or page.show-avatar) %}
|
{% if site.avatar and (layout.show-avatar or page.show-avatar) %}
|
||||||
<div class="avatar-container">
|
<div class="avatar-container">
|
||||||
<div class="avatar-img-border">
|
<div class="avatar-img-border">
|
||||||
<a href="{{ '' | absolute_url }}">
|
<a href="{{ '' | absolute_url }}">
|
||||||
<img class="avatar-img" src="{{ page.image | relative_url }}" />
|
<img alt="Navbar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% elsif site.avatar and (layout.show-avatar or page.show-avatar) %}
|
|
||||||
<div class="avatar-container">
|
|
||||||
<div class="avatar-img-border">
|
|
||||||
<a href="{{ '' | absolute_url }}">
|
|
||||||
<img class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
16
blog.bryanroessler.com/_includes/readtime.html
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<!--- "ReadTime on GitHub Jekyll" (c) 2020 Ruby Griffith Ramirez, MIT License -->
|
||||||
|
|
||||||
|
{% assign ReadTime = page.content | strip_html | number_of_words %}
|
||||||
|
{% assign calcReadTime = ReadTime | float %}
|
||||||
|
{% assign finalReadTime = calcReadTime | divided_by:200 | round: 2 %}
|
||||||
|
{% assign number = finalReadTime | round %}
|
||||||
|
{% if number >= 1 %}
|
||||||
|
{% assign yesReadTime = number | append: " minute read" %}
|
||||||
|
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">·</span> {{ yesReadTime }}</span>
|
||||||
|
{% elsif number < 1 %}
|
||||||
|
{% assign minReadTime = '< 1 minute read' %}
|
||||||
|
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">·</span> {{ minReadTime }}</span>
|
||||||
|
{% else %}
|
||||||
|
{% assign nilReadTime = number | replace:'0',' ' %}
|
||||||
|
{{ nilReadTime }}
|
||||||
|
{% endif %}
|
||||||
267
blog.bryanroessler.com/_includes/social-networks-links.html
Normal file
@@ -0,0 +1,267 @@
|
|||||||
|
<ul class="list-inline text-center footer-links">
|
||||||
|
|
||||||
|
{%- if site.social-network-links.rss -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="{{ '/feed.xml' | relative_url }}" title="RSS">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-rss fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">RSS</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.email -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="mailto:{{ site.social-network-links.email }}" title="Email me">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Email me</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.calendly -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://calendly.com/{{ site.social-network-links.calendly }}" title="Schedule a meeting with me">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-calendar-check fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Schedule a meeting with me</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.facebook -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.facebook.com/{{ site.social-network-links.facebook }}" title="Facebook">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Facebook</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.telegram -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://t.me/{{ site.social-network-links.telegram }}" title="Telegram">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-telegram-plane fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Telegram</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.github -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">GitHub</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.twitter -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://twitter.com/{{ site.social-network-links.twitter }}" title="Twitter">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Twitter</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.reddit -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://reddit.com/u/{{ site.social-network-links.reddit }}" title="Reddit">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-reddit fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Reddit</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.linkedin -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://linkedin.com/in/{{ site.social-network-links.linkedin }}" title="LinkedIn">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">LinkedIn</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.xing -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.xing.com/profile/{{ site.social-network-links.xing }}" title="Xing">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-xing fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Xing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.stackoverflow -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://stackoverflow.com/users/{{ site.social-network-links.stackoverflow }}" title="StackOverflow">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-stack-overflow fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">StackOverflow</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.snapchat -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.snapchat.com/add/{{ site.social-network-links.snapchat }}" title="Snapchat">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-snapchat-ghost fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Snapchat</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.instagram -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.instagram.com/{{ site.social-network-links.instagram }}" title="Instagram">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-instagram fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Instagram</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.youtube -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.youtube.com/{{ site.social-network-links.youtube }}" title="YouTube">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-youtube fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">YouTube</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.spotify -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://open.spotify.com/user/{{ site.social-network-links.spotify }}" title="Spotify">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-spotify fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Spotify</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.telephone -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="tel:{{ site.social-network-links.telephone }}" title="Phone">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-phone fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Phone</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.steam -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://steamcommunity.com/id/{{ site.social-network-links.steam }}" title="Steam">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-steam fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Steam</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.twitch -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.twitch.tv/{{ site.social-network-links.twitch }}" title="Twitch">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-twitch fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Twitch</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.yelp -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://{{ site.social-network-links.yelp }}.yelp.com" title="Yelp">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-yelp fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Yelp</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.mastodon -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://{{ site.social-network-links.mastodon }}" title="Mastodon">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-mastodon fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Mastodon</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.ORCID -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://orcid.org/{{ site.social-network-links.ORCID }}" title="ORCID">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">ORCID</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.google-scholar -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://scholar.google.com/{{ site.social-network-links.google-scholar }}" title="Google Scholar">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Google Scholar</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
</ul>
|
||||||
@@ -11,32 +11,37 @@
|
|||||||
<span class="sr-only">Share: </span>
|
<span class="sr-only">Share: </span>
|
||||||
|
|
||||||
{% if site.share-links-active.twitter %}
|
{% if site.share-links-active.twitter %}
|
||||||
<!--- Share on Twitter -->
|
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
||||||
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Twitter</span>
|
<span class="sr-only">Twitter</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.share-links-active.facebook %}
|
{% if site.share-links-active.facebook %}
|
||||||
<!--- Share on Facebook -->
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
||||||
<span class="fa fa-fw fa-facebook" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-facebook" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Facebook</span>
|
<span class="sr-only">Facebook</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.share-links-active.linkedin %}
|
{% if site.share-links-active.linkedin %}
|
||||||
<!--- Share on LinkedIn -->
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
||||||
<span class="fa fa-fw fa-linkedin" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-linkedin" aria-hidden="true"></span>
|
||||||
<span class="sr-only">LinkedIn</span>
|
<span class="sr-only">LinkedIn</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if site.share-links-active.vk %}
|
||||||
|
<a href="https://vk.com/share.php?url={{ page.url | absolute_url | url_encode }}"
|
||||||
|
class="btn btn-social-icon btn-vk" title="Share on VK">
|
||||||
|
<span class="fab fa-fw fa-vk" aria-hidden="true"></span>
|
||||||
|
<span class="sr-only">VK</span>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{% if site.staticman.repository and site.staticman.branch %}
|
{% if site.staticman.repository and site.staticman.branch %}
|
||||||
|
<div class="staticman-comments">
|
||||||
<div class="page__comments">
|
<div class="page__comments">
|
||||||
<!-- Start static comments -->
|
<!-- Start static comments -->
|
||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
||||||
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
||||||
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
<div class="small form-text"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
||||||
@@ -38,7 +39,7 @@
|
|||||||
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
||||||
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group hidden" style="display: none;">
|
<div class="form-group d-none" style="display: none;">
|
||||||
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
||||||
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
||||||
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
||||||
@@ -47,9 +48,9 @@
|
|||||||
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
|
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<!-- Start comment form alert messaging -->
|
<!-- Start comment form alert messaging -->
|
||||||
<p class="hidden js-notice">
|
<p class="d-none js-notice alert">
|
||||||
<strong class="js-notice-text-success hidden">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
|
<strong class="js-notice-text-success d-none">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
|
||||||
<strong class="js-notice-text-failure hidden">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
|
<strong class="js-notice-text-failure d-none">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
|
||||||
</p>
|
</p>
|
||||||
<!-- End comment form alert messaging -->
|
<!-- End comment form alert messaging -->
|
||||||
{% if site.staticman.reCaptcha.siteKey %}
|
{% if site.staticman.reCaptcha.siteKey %}
|
||||||
@@ -58,8 +59,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn-primary btn-lg">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn--primary btn--large hidden" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
|
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn-primary btn-lg d-none" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,8 +75,9 @@
|
|||||||
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
||||||
<script>
|
<script>
|
||||||
if (typeof jQuery == 'undefined') {
|
if (typeof jQuery == 'undefined') {
|
||||||
document.write('<script src="{{ "/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>');
|
document.write('<script src="{{ "/assets/js/jquery-3.4.1.min.js" | relative_url }}"></scr' + 'ipt>');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="{{ "/js/staticman.js" | relative_url }}"></script>
|
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
13
blog.bryanroessler.com/_includes/utterances-comment.html
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{% if site.utterances.repository and site.utterances.issue-term %}
|
||||||
|
|
||||||
|
<script src="https://utteranc.es/client.js"
|
||||||
|
repo="{{ site.utterances.repository }}"
|
||||||
|
issue-term="{{ site.utterances.issue-term }}"
|
||||||
|
theme="{{ site.utterances.theme}}"
|
||||||
|
label="{{ site.utterances.label}}"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
@@ -1,22 +1,27 @@
|
|||||||
---
|
---
|
||||||
common-css:
|
common-css:
|
||||||
- "/css/bootstrap.min.css"
|
- "/assets/css/bootstrap-social.css"
|
||||||
- "/css/bootstrap-social.css"
|
- "/assets/css/main.css"
|
||||||
- "/css/main.css"
|
|
||||||
common-ext-css:
|
common-ext-css:
|
||||||
- "//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css"
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||||||
common-googlefonts:
|
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
||||||
- "Lora:400,700,400italic,700italic"
|
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
|
||||||
- "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
|
||||||
|
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
||||||
|
common-ext-js:
|
||||||
|
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
|
||||||
|
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
||||||
|
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||||||
|
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||||||
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||||||
|
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
||||||
common-js:
|
common-js:
|
||||||
- "/js/jquery-1.11.2.min.js"
|
- "/assets/js/main.js"
|
||||||
- "/js/bootstrap.min.js"
|
|
||||||
- "/js/main.js"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="{{ page.language | default: site.language | default: 'en' }}">
|
||||||
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2016 -->
|
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2020 -->
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ layout: base
|
|||||||
|
|
||||||
<div class="intro-header"></div>
|
<div class="intro-header"></div>
|
||||||
|
|
||||||
<div role="main" class="container">
|
<div role="main" class="container-md">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
88
blog.bryanroessler.com/_layouts/home.html
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
{% assign posts = paginator.posts | default: site.posts %}
|
||||||
|
|
||||||
|
<div class="posts-list">
|
||||||
|
{% for post in posts %}
|
||||||
|
<article class="post-preview">
|
||||||
|
<a href="{{ post.url | absolute_url }}">
|
||||||
|
<h2 class="post-title">{{ post.title }}</h2>
|
||||||
|
|
||||||
|
{% if post.subtitle %}
|
||||||
|
<h3 class="post-subtitle">
|
||||||
|
{{ post.subtitle }}
|
||||||
|
</h3>
|
||||||
|
{% endif %}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<p class="post-meta">
|
||||||
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
Posted on {{ post.date | date: date_format }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="post-entry-container">
|
||||||
|
{%- capture thumbnail -%}
|
||||||
|
{% if post.thumbnail-img %}
|
||||||
|
{{ post.thumbnail-img }}
|
||||||
|
{% elsif post.cover-img %}
|
||||||
|
{% if post.cover-img.first %}
|
||||||
|
{{ post.cover-img[0].first.first }}
|
||||||
|
{% else %}
|
||||||
|
{{ post.cover-img }}
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
{% endif %}
|
||||||
|
{% endcapture %}
|
||||||
|
{% assign thumbnail=thumbnail | strip %}
|
||||||
|
{% if thumbnail != "" %}
|
||||||
|
<div class="post-image">
|
||||||
|
<a href="{{ post.url | absolute_url }}">
|
||||||
|
<img src="{{ thumbnail | absolute_url }}">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<div class="post-entry">
|
||||||
|
{% assign excerpt_length = site.excerpt_length | default: 50 %}
|
||||||
|
{{ post.excerpt | strip_html | xml_escape | truncatewords: excerpt_length }}
|
||||||
|
{% assign excerpt_word_count = post.excerpt | number_of_words %}
|
||||||
|
{% if post.content != post.excerpt or excerpt_word_count > excerpt_length %}
|
||||||
|
<a href="{{ post.url | absolute_url }}" class="post-read-more">[Read More]</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if post.tags.size > 0 %}
|
||||||
|
<div class="blog-tags">
|
||||||
|
Tags:
|
||||||
|
{% if site.link-tags %}
|
||||||
|
{% for tag in post.tags %}
|
||||||
|
<a href="{{ '/tags' | absolute_url }}#{{- tag -}}">{{- tag -}}</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
{{ post.tags | join: ", " }}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</article>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if paginator.total_pages > 1 %}
|
||||||
|
<ul class="pagination main-pager">
|
||||||
|
{% if paginator.previous_page %}
|
||||||
|
<li class="page-item previous">
|
||||||
|
<a class="page-link" href="{{ paginator.previous_page_path | absolute_url }}">← Newer Posts</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if paginator.next_page %}
|
||||||
|
<li class="page-item next">
|
||||||
|
<a class="page-link" href="{{ paginator.next_page_path | absolute_url }}">Older Posts →</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
@@ -1,20 +1,26 @@
|
|||||||
---
|
---
|
||||||
common-css:
|
common-css:
|
||||||
- "/css/bootstrap.min.css"
|
- "/assets/css/main-minimal.css"
|
||||||
- "/css/main-minimal.css"
|
common-ext-css:
|
||||||
common-js:
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||||||
- "/js/jquery-1.11.2.min.js"
|
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
||||||
- "/js/bootstrap.min.js"
|
common-ext-js:
|
||||||
|
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
|
||||||
|
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
||||||
|
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||||||
|
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||||||
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||||||
|
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="{{ page.language | default: site.language | default: 'en' }}">
|
||||||
|
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div role="main" class="container main-content">
|
<div role="main" class="container-md main-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -4,22 +4,11 @@ layout: base
|
|||||||
|
|
||||||
{% include header.html type="page" %}
|
{% include header.html type="page" %}
|
||||||
|
|
||||||
<div class="container" role="main">
|
<div class="container-md" role="main">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% if page.comments %}
|
{% include comments.html %}
|
||||||
<div class="disqus-comments">
|
|
||||||
{% include disqus.html %}
|
|
||||||
</div>
|
|
||||||
{% include fb-comment.html %}
|
|
||||||
<div class="staticman-comments">
|
|
||||||
{% include staticman-comments.html %}
|
|
||||||
</div>
|
|
||||||
<div class="justcomments-comments">
|
|
||||||
{% include just_comments.html %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ layout: base
|
|||||||
|
|
||||||
{% include header.html type="post" %}
|
{% include header.html type="post" %}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container-md">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
|
|
||||||
{% if page.gh-repo %}
|
{% if page.gh-repo %}
|
||||||
{% assign gh_split = page.gh-repo | split:'/' %}
|
{% assign gh_split = page.gh-repo | split:'/' %}
|
||||||
@@ -52,31 +52,19 @@ layout: base
|
|||||||
{% include social-share.html %}
|
{% include social-share.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<ul class="pager blog-pager">
|
<ul class="pagination blog-pager">
|
||||||
{% if page.previous.url %}
|
{% if page.previous.url %}
|
||||||
<li class="previous">
|
<li class="page-item previous">
|
||||||
<a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
<a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.next.url %}
|
{% if page.next.url %}
|
||||||
<li class="next">
|
<li class="page-item next">
|
||||||
<a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
<a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% include comments.html %}
|
||||||
{% if page.comments %}
|
|
||||||
<div class="disqus-comments">
|
|
||||||
{% include disqus.html %}
|
|
||||||
</div>
|
|
||||||
{% include fb-comment.html %}
|
|
||||||
<div class="staticman-comments">
|
|
||||||
{% include staticman-comments.html %}
|
|
||||||
</div>
|
|
||||||
<div class="justcomments-comments">
|
|
||||||
{% include just_comments.html %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ What else do you need?
|
|||||||
|
|
||||||
### my history
|
### my history
|
||||||
|
|
||||||
To be honest, I'm having some trouble remembering right now, so why don't you just watch [my movie](http://en.wikipedia.org/wiki/The_Princess_Bride_%28film%29) and it will answer **all** your questions.
|
To be honest, I'm having some trouble remembering right now, so why don't you just watch [my movie](https://en.wikipedia.org/wiki/The_Princess_Bride_%28film%29) and it will answer **all** your questions.
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
.main-content {
|
.main-content {
|
||||||
padding-bottom: 50px;
|
padding-bottom: 3.125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer.footer-min {
|
footer.footer-min {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 3px;
|
padding: 0.1875rem;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
border-top: 1px solid #eeeeee;
|
border-top: 1px solid #eeeeee;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -81,10 +81,10 @@
|
|||||||
/*
|
/*
|
||||||
Help text
|
Help text
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
.staticman-comments .help-block {
|
.staticman-comments .form-text {
|
||||||
color: #898c8e;
|
color: #898c8e;
|
||||||
}
|
}
|
||||||
.staticman-comments .help-block {
|
.staticman-comments .form-text {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 785 KiB After Width: | Height: | Size: 785 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 262 KiB |
BIN
blog.bryanroessler.com/assets/img/thumb.png
Normal file
|
After Width: | Height: | Size: 387 KiB |
2
blog.bryanroessler.com/assets/js/jquery-3.4.1.min.js
vendored
Normal file
99
blog.bryanroessler.com/assets/js/main.js
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
// Dean Attali / Beautiful Jekyll 2020
|
||||||
|
|
||||||
|
var BeautifulJekyllJS = {
|
||||||
|
|
||||||
|
bigImgEl : null,
|
||||||
|
numImgs : null,
|
||||||
|
|
||||||
|
init : function() {
|
||||||
|
// Shorten the navbar after scrolling a little bit down
|
||||||
|
$(window).scroll(function() {
|
||||||
|
if ($(".navbar").offset().top > 50) {
|
||||||
|
$(".navbar").addClass("top-nav-short");
|
||||||
|
} else {
|
||||||
|
$(".navbar").removeClass("top-nav-short");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// On mobile, hide the avatar when expanding the navbar menu
|
||||||
|
$('#main-navbar').on('show.bs.collapse', function () {
|
||||||
|
$(".navbar").addClass("top-nav-expanded");
|
||||||
|
});
|
||||||
|
$('#main-navbar').on('hidden.bs.collapse', function () {
|
||||||
|
$(".navbar").removeClass("top-nav-expanded");
|
||||||
|
});
|
||||||
|
|
||||||
|
// show the big header image
|
||||||
|
BeautifulJekyllJS.initImgs();
|
||||||
|
},
|
||||||
|
|
||||||
|
initImgs : function() {
|
||||||
|
// If the page was large images to randomly select from, choose an image
|
||||||
|
if ($("#header-big-imgs").length > 0) {
|
||||||
|
BeautifulJekyllJS.bigImgEl = $("#header-big-imgs");
|
||||||
|
BeautifulJekyllJS.numImgs = BeautifulJekyllJS.bigImgEl.attr("data-num-img");
|
||||||
|
|
||||||
|
// 2fc73a3a967e97599c9763d05e564189
|
||||||
|
// set an initial image
|
||||||
|
var imgInfo = BeautifulJekyllJS.getImgInfo();
|
||||||
|
var src = imgInfo.src;
|
||||||
|
var desc = imgInfo.desc;
|
||||||
|
BeautifulJekyllJS.setImg(src, desc);
|
||||||
|
|
||||||
|
// For better UX, prefetch the next image so that it will already be loaded when we want to show it
|
||||||
|
var getNextImg = function() {
|
||||||
|
var imgInfo = BeautifulJekyllJS.getImgInfo();
|
||||||
|
var src = imgInfo.src;
|
||||||
|
var desc = imgInfo.desc;
|
||||||
|
|
||||||
|
var prefetchImg = new Image();
|
||||||
|
prefetchImg.src = src;
|
||||||
|
// if I want to do something once the image is ready: `prefetchImg.onload = function(){}`
|
||||||
|
|
||||||
|
setTimeout(function(){
|
||||||
|
var img = $("<div></div>").addClass("big-img-transition").css("background-image", 'url(' + src + ')');
|
||||||
|
$(".intro-header.big-img").prepend(img);
|
||||||
|
setTimeout(function(){ img.css("opacity", "1"); }, 50);
|
||||||
|
|
||||||
|
// after the animation of fading in the new image is done, prefetch the next one
|
||||||
|
//img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){
|
||||||
|
setTimeout(function() {
|
||||||
|
BeautifulJekyllJS.setImg(src, desc);
|
||||||
|
img.remove();
|
||||||
|
getNextImg();
|
||||||
|
}, 1000);
|
||||||
|
//});
|
||||||
|
}, 6000);
|
||||||
|
};
|
||||||
|
|
||||||
|
// If there are multiple images, cycle through them
|
||||||
|
if (BeautifulJekyllJS.numImgs > 1) {
|
||||||
|
getNextImg();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
getImgInfo : function() {
|
||||||
|
var randNum = Math.floor((Math.random() * BeautifulJekyllJS.numImgs) + 1);
|
||||||
|
var src = BeautifulJekyllJS.bigImgEl.attr("data-img-src-" + randNum);
|
||||||
|
var desc = BeautifulJekyllJS.bigImgEl.attr("data-img-desc-" + randNum);
|
||||||
|
|
||||||
|
return {
|
||||||
|
src : src,
|
||||||
|
desc : desc
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
setImg : function(src, desc) {
|
||||||
|
$(".intro-header.big-img").css("background-image", 'url(' + src + ')');
|
||||||
|
if (typeof desc !== typeof undefined && desc !== false) {
|
||||||
|
$(".img-desc").text(desc).show();
|
||||||
|
} else {
|
||||||
|
$(".img-desc").hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// 2fc73a3a967e97599c9763d05e564189
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', BeautifulJekyllJS.init);
|
||||||
@@ -21,18 +21,18 @@ layout: null
|
|||||||
data: $(this).serialize(),
|
data: $(this).serialize(),
|
||||||
contentType: 'application/x-www-form-urlencoded',
|
contentType: 'application/x-www-form-urlencoded',
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
$('#comment-form-submit').addClass('hidden');
|
$('#comment-form-submit').addClass('d-none');
|
||||||
$('#comment-form-submitted').removeClass('hidden');
|
$('#comment-form-submitted').removeClass('d-none');
|
||||||
$('.page__comments-form .js-notice').removeClass('notice--danger');
|
$('.page__comments-form .js-notice').removeClass('alert-danger');
|
||||||
$('.page__comments-form .js-notice').addClass('notice--success');
|
$('.page__comments-form .js-notice').addClass('alert-success');
|
||||||
showAlert('success');
|
showAlert('success');
|
||||||
},
|
},
|
||||||
error: function (err) {
|
error: function (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
$('#comment-form-submitted').addClass('hidden');
|
$('#comment-form-submitted').addClass('d-none');
|
||||||
$('#comment-form-submit').removeClass('hidden');
|
$('#comment-form-submit').removeClass('d-none');
|
||||||
$('.page__comments-form .js-notice').removeClass('notice--success');
|
$('.page__comments-form .js-notice').removeClass('alert-success');
|
||||||
$('.page__comments-form .js-notice').addClass('notice--danger');
|
$('.page__comments-form .js-notice').addClass('alert-danger');
|
||||||
showAlert('failure');
|
showAlert('failure');
|
||||||
$(form).removeClass('disabled');
|
$(form).removeClass('disabled');
|
||||||
}
|
}
|
||||||
@@ -42,13 +42,13 @@ layout: null
|
|||||||
});
|
});
|
||||||
|
|
||||||
function showAlert(message) {
|
function showAlert(message) {
|
||||||
$('.page__comments-form .js-notice').removeClass('hidden');
|
$('.page__comments-form .js-notice').removeClass('d-none');
|
||||||
if (message == 'success') {
|
if (message == 'success') {
|
||||||
$('.page__comments-form .js-notice-text-success').removeClass('hidden');
|
$('.page__comments-form .js-notice-text-success').removeClass('d-none');
|
||||||
$('.page__comments-form .js-notice-text-failure').addClass('hidden');
|
$('.page__comments-form .js-notice-text-failure').addClass('d-none');
|
||||||
} else {
|
} else {
|
||||||
$('.page__comments-form .js-notice-text-success').addClass('hidden');
|
$('.page__comments-form .js-notice-text-success').addClass('d-none');
|
||||||
$('.page__comments-form .js-notice-text-failure').removeClass('hidden');
|
$('.page__comments-form .js-notice-text-failure').removeClass('d-none');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
26
blog.bryanroessler.com/beautiful-jekyll-theme.gemspec
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "beautiful-jekyll-theme"
|
||||||
|
spec.version = "4.0.1"
|
||||||
|
spec.authors = ["Dean Attali"]
|
||||||
|
spec.email = ["daattali@gmail.com"]
|
||||||
|
|
||||||
|
spec.summary = "Beautiful Jekyll is a ready-to-use Jekyll theme to help you create an awesome website quickly. Perfect for personal blogs or simple project websites, with a focus on responsive and clean design."
|
||||||
|
spec.homepage = "https://beautifuljekyll.com"
|
||||||
|
spec.license = "MIT"
|
||||||
|
|
||||||
|
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|_layouts|_includes|LICENSE|README|feed|404|_data|tags|stfaticman)}i) }
|
||||||
|
|
||||||
|
spec.metadata = {
|
||||||
|
"changelog_uri" => "https://github.com/daattali/beautiful-jekyll/blob/master/CHANGELOG.md",
|
||||||
|
"documentation_uri" => "https://github.com/daattali/beautiful-jekyll#readme"
|
||||||
|
}
|
||||||
|
|
||||||
|
spec.add_runtime_dependency "jekyll", "~> 3.8"
|
||||||
|
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
|
||||||
|
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
|
||||||
|
|
||||||
|
spec.add_development_dependency "bundler", ">= 1.16"
|
||||||
|
spec.add_development_dependency "rake", "~> 12.0"
|
||||||
|
end
|
||||||
476
blog.bryanroessler.com/css/bootstrap-theme.css
vendored
@@ -1,476 +0,0 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap v3.3.2 (http://getbootstrap.com)
|
|
||||||
* Copyright 2011-2015 Twitter, Inc.
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
*/
|
|
||||||
|
|
||||||
.btn-default,
|
|
||||||
.btn-primary,
|
|
||||||
.btn-success,
|
|
||||||
.btn-info,
|
|
||||||
.btn-warning,
|
|
||||||
.btn-danger {
|
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
|
||||||
}
|
|
||||||
.btn-default:active,
|
|
||||||
.btn-primary:active,
|
|
||||||
.btn-success:active,
|
|
||||||
.btn-info:active,
|
|
||||||
.btn-warning:active,
|
|
||||||
.btn-danger:active,
|
|
||||||
.btn-default.active,
|
|
||||||
.btn-primary.active,
|
|
||||||
.btn-success.active,
|
|
||||||
.btn-info.active,
|
|
||||||
.btn-warning.active,
|
|
||||||
.btn-danger.active {
|
|
||||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
|
||||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
|
||||||
}
|
|
||||||
.btn-default .badge,
|
|
||||||
.btn-primary .badge,
|
|
||||||
.btn-success .badge,
|
|
||||||
.btn-info .badge,
|
|
||||||
.btn-warning .badge,
|
|
||||||
.btn-danger .badge {
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
.btn:active,
|
|
||||||
.btn.active {
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-default {
|
|
||||||
text-shadow: 0 1px 0 #fff;
|
|
||||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
|
||||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #dbdbdb;
|
|
||||||
border-color: #ccc;
|
|
||||||
}
|
|
||||||
.btn-default:hover,
|
|
||||||
.btn-default:focus {
|
|
||||||
background-color: #e0e0e0;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-default:active,
|
|
||||||
.btn-default.active {
|
|
||||||
background-color: #e0e0e0;
|
|
||||||
border-color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.btn-default.disabled,
|
|
||||||
.btn-default:disabled,
|
|
||||||
.btn-default[disabled] {
|
|
||||||
background-color: #e0e0e0;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-primary {
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #245580;
|
|
||||||
}
|
|
||||||
.btn-primary:hover,
|
|
||||||
.btn-primary:focus {
|
|
||||||
background-color: #265a88;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-primary:active,
|
|
||||||
.btn-primary.active {
|
|
||||||
background-color: #265a88;
|
|
||||||
border-color: #245580;
|
|
||||||
}
|
|
||||||
.btn-primary.disabled,
|
|
||||||
.btn-primary:disabled,
|
|
||||||
.btn-primary[disabled] {
|
|
||||||
background-color: #265a88;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-success {
|
|
||||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
|
||||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #3e8f3e;
|
|
||||||
}
|
|
||||||
.btn-success:hover,
|
|
||||||
.btn-success:focus {
|
|
||||||
background-color: #419641;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-success:active,
|
|
||||||
.btn-success.active {
|
|
||||||
background-color: #419641;
|
|
||||||
border-color: #3e8f3e;
|
|
||||||
}
|
|
||||||
.btn-success.disabled,
|
|
||||||
.btn-success:disabled,
|
|
||||||
.btn-success[disabled] {
|
|
||||||
background-color: #419641;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-info {
|
|
||||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
|
||||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #28a4c9;
|
|
||||||
}
|
|
||||||
.btn-info:hover,
|
|
||||||
.btn-info:focus {
|
|
||||||
background-color: #2aabd2;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-info:active,
|
|
||||||
.btn-info.active {
|
|
||||||
background-color: #2aabd2;
|
|
||||||
border-color: #28a4c9;
|
|
||||||
}
|
|
||||||
.btn-info.disabled,
|
|
||||||
.btn-info:disabled,
|
|
||||||
.btn-info[disabled] {
|
|
||||||
background-color: #2aabd2;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-warning {
|
|
||||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
|
||||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #e38d13;
|
|
||||||
}
|
|
||||||
.btn-warning:hover,
|
|
||||||
.btn-warning:focus {
|
|
||||||
background-color: #eb9316;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-warning:active,
|
|
||||||
.btn-warning.active {
|
|
||||||
background-color: #eb9316;
|
|
||||||
border-color: #e38d13;
|
|
||||||
}
|
|
||||||
.btn-warning.disabled,
|
|
||||||
.btn-warning:disabled,
|
|
||||||
.btn-warning[disabled] {
|
|
||||||
background-color: #eb9316;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.btn-danger {
|
|
||||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
|
||||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #b92c28;
|
|
||||||
}
|
|
||||||
.btn-danger:hover,
|
|
||||||
.btn-danger:focus {
|
|
||||||
background-color: #c12e2a;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
}
|
|
||||||
.btn-danger:active,
|
|
||||||
.btn-danger.active {
|
|
||||||
background-color: #c12e2a;
|
|
||||||
border-color: #b92c28;
|
|
||||||
}
|
|
||||||
.btn-danger.disabled,
|
|
||||||
.btn-danger:disabled,
|
|
||||||
.btn-danger[disabled] {
|
|
||||||
background-color: #c12e2a;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
.thumbnail,
|
|
||||||
.img-thumbnail {
|
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
|
||||||
}
|
|
||||||
.dropdown-menu > li > a:hover,
|
|
||||||
.dropdown-menu > li > a:focus {
|
|
||||||
background-color: #e8e8e8;
|
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
|
||||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.dropdown-menu > .active > a,
|
|
||||||
.dropdown-menu > .active > a:hover,
|
|
||||||
.dropdown-menu > .active > a:focus {
|
|
||||||
background-color: #2e6da4;
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.navbar-default {
|
|
||||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
|
||||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav > .open > a,
|
|
||||||
.navbar-default .navbar-nav > .active > a {
|
|
||||||
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
|
|
||||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
|
||||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
|
||||||
}
|
|
||||||
.navbar-brand,
|
|
||||||
.navbar-nav > li > a {
|
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
|
||||||
}
|
|
||||||
.navbar-inverse {
|
|
||||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
|
||||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav > .open > a,
|
|
||||||
.navbar-inverse .navbar-nav > .active > a {
|
|
||||||
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
|
|
||||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
|
||||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-brand,
|
|
||||||
.navbar-inverse .navbar-nav > li > a {
|
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
|
||||||
}
|
|
||||||
.navbar-static-top,
|
|
||||||
.navbar-fixed-top,
|
|
||||||
.navbar-fixed-bottom {
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
.navbar .navbar-nav .open .dropdown-menu > .active > a,
|
|
||||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
|
|
||||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.alert {
|
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
|
||||||
}
|
|
||||||
.alert-success {
|
|
||||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
|
||||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #b2dba1;
|
|
||||||
}
|
|
||||||
.alert-info {
|
|
||||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
|
||||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #9acfea;
|
|
||||||
}
|
|
||||||
.alert-warning {
|
|
||||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
|
||||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #f5e79e;
|
|
||||||
}
|
|
||||||
.alert-danger {
|
|
||||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
|
||||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #dca7a7;
|
|
||||||
}
|
|
||||||
.progress {
|
|
||||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
|
||||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar {
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar-success {
|
|
||||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
|
||||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar-info {
|
|
||||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
|
||||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar-warning {
|
|
||||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
|
||||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar-danger {
|
|
||||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
|
||||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.progress-bar-striped {
|
|
||||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
|
||||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
|
||||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
|
||||||
}
|
|
||||||
.list-group {
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
|
||||||
}
|
|
||||||
.list-group-item.active,
|
|
||||||
.list-group-item.active:hover,
|
|
||||||
.list-group-item.active:focus {
|
|
||||||
text-shadow: 0 -1px 0 #286090;
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #2b669a;
|
|
||||||
}
|
|
||||||
.list-group-item.active .badge,
|
|
||||||
.list-group-item.active:hover .badge,
|
|
||||||
.list-group-item.active:focus .badge {
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
.panel {
|
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
|
||||||
}
|
|
||||||
.panel-default > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
|
||||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.panel-primary > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
|
||||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.panel-success > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
|
||||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.panel-info > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
|
||||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.panel-warning > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
|
||||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.panel-danger > .panel-heading {
|
|
||||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
|
||||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
.well {
|
|
||||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
|
||||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-color: #dcdcdc;
|
|
||||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
|
||||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
|
||||||
}
|
|
||||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
|
||||||
6566
blog.bryanroessler.com/css/bootstrap.css
vendored
5
blog.bryanroessler.com/css/bootstrap.min.css
vendored
427
blog.bryanroessler.com/css/normalize.css
vendored
@@ -1,427 +0,0 @@
|
|||||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Set default font family to sans-serif.
|
|
||||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
|
||||||
* user zoom.
|
|
||||||
*/
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-family: sans-serif; /* 1 */
|
|
||||||
-ms-text-size-adjust: 100%; /* 2 */
|
|
||||||
-webkit-text-size-adjust: 100%; /* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove default margin.
|
|
||||||
*/
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* HTML5 display definitions
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
|
||||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
|
||||||
* and Firefox.
|
|
||||||
* Correct `block` display not defined for `main` in IE 11.
|
|
||||||
*/
|
|
||||||
|
|
||||||
article,
|
|
||||||
aside,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
main,
|
|
||||||
menu,
|
|
||||||
nav,
|
|
||||||
section,
|
|
||||||
summary {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
|
||||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
|
||||||
*/
|
|
||||||
|
|
||||||
audio,
|
|
||||||
canvas,
|
|
||||||
progress,
|
|
||||||
video {
|
|
||||||
display: inline-block; /* 1 */
|
|
||||||
vertical-align: baseline; /* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Prevent modern browsers from displaying `audio` without controls.
|
|
||||||
* Remove excess height in iOS 5 devices.
|
|
||||||
*/
|
|
||||||
|
|
||||||
audio:not([controls]) {
|
|
||||||
display: none;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
|
||||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
|
||||||
*/
|
|
||||||
|
|
||||||
[hidden],
|
|
||||||
template {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Links
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove the gray background color from active links in IE 10.
|
|
||||||
*/
|
|
||||||
|
|
||||||
a {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Improve readability when focused and also mouse hovered in all browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
a:active,
|
|
||||||
a:hover {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Text-level semantics
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
|
||||||
*/
|
|
||||||
|
|
||||||
abbr[title] {
|
|
||||||
border-bottom: 1px dotted;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
|
||||||
*/
|
|
||||||
|
|
||||||
b,
|
|
||||||
strong {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address styling not present in Safari and Chrome.
|
|
||||||
*/
|
|
||||||
|
|
||||||
dfn {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address variable `h1` font-size and margin within `section` and `article`
|
|
||||||
* contexts in Firefox 4+, Safari, and Chrome.
|
|
||||||
*/
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 2em;
|
|
||||||
margin: 0.67em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address styling not present in IE 8/9.
|
|
||||||
*/
|
|
||||||
|
|
||||||
mark {
|
|
||||||
background: #ff0;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address inconsistent and variable font size in all browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
small {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
sub,
|
|
||||||
sup {
|
|
||||||
font-size: 75%;
|
|
||||||
line-height: 0;
|
|
||||||
position: relative;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
sup {
|
|
||||||
top: -0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
bottom: -0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Embedded content
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove border when inside `a` element in IE 8/9/10.
|
|
||||||
*/
|
|
||||||
|
|
||||||
img {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Correct overflow not hidden in IE 9/10/11.
|
|
||||||
*/
|
|
||||||
|
|
||||||
svg:not(:root) {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grouping content
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address margin not present in IE 8/9 and Safari.
|
|
||||||
*/
|
|
||||||
|
|
||||||
figure {
|
|
||||||
margin: 1em 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address differences between Firefox and other browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
hr {
|
|
||||||
-moz-box-sizing: content-box;
|
|
||||||
box-sizing: content-box;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contain overflow in all browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
pre {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address odd `em`-unit font size rendering in all browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
code,
|
|
||||||
kbd,
|
|
||||||
pre,
|
|
||||||
samp {
|
|
||||||
font-family: monospace, monospace;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Forms
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
|
||||||
* styling of `select`, unless a `border` property is set.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Correct color not being inherited.
|
|
||||||
* Known issue: affects color of disabled elements.
|
|
||||||
* 2. Correct font properties not being inherited.
|
|
||||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
optgroup,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
color: inherit; /* 1 */
|
|
||||||
font: inherit; /* 2 */
|
|
||||||
margin: 0; /* 3 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
||||||
* All other form control elements do not inherit `text-transform` values.
|
|
||||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
|
||||||
* Correct `select` style inheritance in Firefox.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button,
|
|
||||||
select {
|
|
||||||
text-transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
||||||
* and `video` controls.
|
|
||||||
* 2. Correct inability to style clickable `input` types in iOS.
|
|
||||||
* 3. Improve usability and consistency of cursor style between image-type
|
|
||||||
* `input` and others.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button,
|
|
||||||
html input[type="button"], /* 1 */
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"] {
|
|
||||||
-webkit-appearance: button; /* 2 */
|
|
||||||
cursor: pointer; /* 3 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Re-set default cursor for disabled elements.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button[disabled],
|
|
||||||
html input[disabled] {
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove inner padding and border in Firefox 4+.
|
|
||||||
*/
|
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
|
||||||
input::-moz-focus-inner {
|
|
||||||
border: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
|
||||||
* the UA stylesheet.
|
|
||||||
*/
|
|
||||||
|
|
||||||
input {
|
|
||||||
line-height: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* It's recommended that you don't attempt to style these elements.
|
|
||||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
|
||||||
*
|
|
||||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
|
||||||
* 2. Remove excess padding in IE 8/9/10.
|
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
box-sizing: border-box; /* 1 */
|
|
||||||
padding: 0; /* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
|
||||||
* `font-size` values of the `input`, it causes the cursor style of the
|
|
||||||
* decrement button to change from `default` to `text`.
|
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="number"]::-webkit-inner-spin-button,
|
|
||||||
input[type="number"]::-webkit-outer-spin-button {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
|
||||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
|
||||||
* (include `-moz` to future-proof).
|
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="search"] {
|
|
||||||
-webkit-appearance: textfield; /* 1 */
|
|
||||||
-moz-box-sizing: content-box;
|
|
||||||
-webkit-box-sizing: content-box; /* 2 */
|
|
||||||
box-sizing: content-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
||||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
|
||||||
* padding (and `textfield` appearance).
|
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="search"]::-webkit-search-cancel-button,
|
|
||||||
input[type="search"]::-webkit-search-decoration {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Define consistent border, margin, and padding.
|
|
||||||
*/
|
|
||||||
|
|
||||||
fieldset {
|
|
||||||
border: 1px solid #c0c0c0;
|
|
||||||
margin: 0 2px;
|
|
||||||
padding: 0.35em 0.625em 0.75em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
|
||||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
|
||||||
*/
|
|
||||||
|
|
||||||
legend {
|
|
||||||
border: 0; /* 1 */
|
|
||||||
padding: 0; /* 2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
|
||||||
*/
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Don't inherit the `font-weight` (applied by a rule above).
|
|
||||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
|
||||||
*/
|
|
||||||
|
|
||||||
optgroup {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tables
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove most spacing between table cells.
|
|
||||||
*/
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
td,
|
|
||||||
th {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
25
blog.bryanroessler.com/docs/index.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- You can safely delete this file! -->
|
||||||
|
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Beautiful Jekyll</title>
|
||||||
|
<script>
|
||||||
|
window.location = "https://beautifuljekyll.com";
|
||||||
|
</script>
|
||||||
|
<noscript>
|
||||||
|
<a href="https://beautifuljekyll.com">Click here to go to the Beautiful Jekyll website</a>
|
||||||
|
</noscript>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
ga('create', 'UA-59820529-1', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -4,8 +4,12 @@ layout: null
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
|
{% if site.title %}
|
||||||
<title>{{ site.title | xml_escape }}</title>
|
<title>{{ site.title | xml_escape }}</title>
|
||||||
|
{% endif %}
|
||||||
|
{% if site.description %}
|
||||||
<description>{{ site.description | xml_escape }}</description>
|
<description>{{ site.description | xml_escape }}</description>
|
||||||
|
{% endif %}
|
||||||
<link>{{ '' | absolute_url }}</link>
|
<link>{{ '' | absolute_url }}</link>
|
||||||
<atom:link href="{{ 'feed.xml' | absolute_url }}" rel="self" type="application/rss+xml" />
|
<atom:link href="{{ 'feed.xml' | absolute_url }}" rel="self" type="application/rss+xml" />
|
||||||
{% for post in site.posts limit:20 %}
|
{% for post in site.posts limit:20 %}
|
||||||
|
|||||||
2306
blog.bryanroessler.com/js/bootstrap.js
vendored
7
blog.bryanroessler.com/js/bootstrap.min.js
vendored
@@ -1,140 +0,0 @@
|
|||||||
// Dean Attali / Beautiful Jekyll 2016
|
|
||||||
|
|
||||||
var main = {
|
|
||||||
|
|
||||||
bigImgEl : null,
|
|
||||||
numImgs : null,
|
|
||||||
|
|
||||||
init : function() {
|
|
||||||
// Shorten the navbar after scrolling a little bit down
|
|
||||||
$(window).scroll(function() {
|
|
||||||
if ($(".navbar").offset().top > 50) {
|
|
||||||
$(".navbar").addClass("top-nav-short");
|
|
||||||
$(".navbar-custom .avatar-container").fadeOut(500);
|
|
||||||
} else {
|
|
||||||
$(".navbar").removeClass("top-nav-short");
|
|
||||||
$(".navbar-custom .avatar-container").fadeIn(500);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// On mobile, hide the avatar when expanding the navbar menu
|
|
||||||
$('#main-navbar').on('show.bs.collapse', function () {
|
|
||||||
$(".navbar").addClass("top-nav-expanded");
|
|
||||||
});
|
|
||||||
$('#main-navbar').on('hidden.bs.collapse', function () {
|
|
||||||
$(".navbar").removeClass("top-nav-expanded");
|
|
||||||
});
|
|
||||||
|
|
||||||
// On mobile, when clicking on a multi-level navbar menu, show the child links
|
|
||||||
$('#main-navbar').on("click", ".navlinks-parent", function(e) {
|
|
||||||
var target = e.target;
|
|
||||||
$.each($(".navlinks-parent"), function(key, value) {
|
|
||||||
if (value == target) {
|
|
||||||
$(value).parent().toggleClass("show-children");
|
|
||||||
} else {
|
|
||||||
$(value).parent().removeClass("show-children");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Ensure nested navbar menus are not longer than the menu header
|
|
||||||
var menus = $(".navlinks-container");
|
|
||||||
if (menus.length > 0) {
|
|
||||||
var navbar = $("#main-navbar ul");
|
|
||||||
var fakeMenuHtml = "<li class='fake-menu' style='display:none;'><a></a></li>";
|
|
||||||
navbar.append(fakeMenuHtml);
|
|
||||||
var fakeMenu = $(".fake-menu");
|
|
||||||
|
|
||||||
$.each(menus, function(i) {
|
|
||||||
var parent = $(menus[i]).find(".navlinks-parent");
|
|
||||||
var children = $(menus[i]).find(".navlinks-children a");
|
|
||||||
var words = [];
|
|
||||||
$.each(children, function(idx, el) { words = words.concat($(el).text().trim().split(/\s+/)); });
|
|
||||||
var maxwidth = 0;
|
|
||||||
$.each(words, function(id, word) {
|
|
||||||
fakeMenu.html("<a>" + word + "</a>");
|
|
||||||
var width = fakeMenu.width();
|
|
||||||
if (width > maxwidth) {
|
|
||||||
maxwidth = width;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(menus[i]).css('min-width', maxwidth + 'px')
|
|
||||||
});
|
|
||||||
|
|
||||||
fakeMenu.remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
// show the big header image
|
|
||||||
main.initImgs();
|
|
||||||
},
|
|
||||||
|
|
||||||
initImgs : function() {
|
|
||||||
// If the page was large images to randomly select from, choose an image
|
|
||||||
if ($("#header-big-imgs").length > 0) {
|
|
||||||
main.bigImgEl = $("#header-big-imgs");
|
|
||||||
main.numImgs = main.bigImgEl.attr("data-num-img");
|
|
||||||
|
|
||||||
// 2fc73a3a967e97599c9763d05e564189
|
|
||||||
// set an initial image
|
|
||||||
var imgInfo = main.getImgInfo();
|
|
||||||
var src = imgInfo.src;
|
|
||||||
var desc = imgInfo.desc;
|
|
||||||
main.setImg(src, desc);
|
|
||||||
|
|
||||||
// For better UX, prefetch the next image so that it will already be loaded when we want to show it
|
|
||||||
var getNextImg = function() {
|
|
||||||
var imgInfo = main.getImgInfo();
|
|
||||||
var src = imgInfo.src;
|
|
||||||
var desc = imgInfo.desc;
|
|
||||||
|
|
||||||
var prefetchImg = new Image();
|
|
||||||
prefetchImg.src = src;
|
|
||||||
// if I want to do something once the image is ready: `prefetchImg.onload = function(){}`
|
|
||||||
|
|
||||||
setTimeout(function(){
|
|
||||||
var img = $("<div></div>").addClass("big-img-transition").css("background-image", 'url(' + src + ')');
|
|
||||||
$(".intro-header.big-img").prepend(img);
|
|
||||||
setTimeout(function(){ img.css("opacity", "1"); }, 50);
|
|
||||||
|
|
||||||
// after the animation of fading in the new image is done, prefetch the next one
|
|
||||||
//img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){
|
|
||||||
setTimeout(function() {
|
|
||||||
main.setImg(src, desc);
|
|
||||||
img.remove();
|
|
||||||
getNextImg();
|
|
||||||
}, 1000);
|
|
||||||
//});
|
|
||||||
}, 6000);
|
|
||||||
};
|
|
||||||
|
|
||||||
// If there are multiple images, cycle through them
|
|
||||||
if (main.numImgs > 1) {
|
|
||||||
getNextImg();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
getImgInfo : function() {
|
|
||||||
var randNum = Math.floor((Math.random() * main.numImgs) + 1);
|
|
||||||
var src = main.bigImgEl.attr("data-img-src-" + randNum);
|
|
||||||
var desc = main.bigImgEl.attr("data-img-desc-" + randNum);
|
|
||||||
|
|
||||||
return {
|
|
||||||
src : src,
|
|
||||||
desc : desc
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
setImg : function(src, desc) {
|
|
||||||
$(".intro-header.big-img").css("background-image", 'url(' + src + ')');
|
|
||||||
if (typeof desc !== typeof undefined && desc !== false) {
|
|
||||||
$(".img-desc").text(desc).show();
|
|
||||||
} else {
|
|
||||||
$(".img-desc").hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// 2fc73a3a967e97599c9763d05e564189
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', main.init);
|
|
||||||
BIN
blog.bryanroessler.com/screenshot.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
@@ -18,7 +18,7 @@ comments:
|
|||||||
#
|
#
|
||||||
# When allowedOrigins is defined, only requests sent from one of the domains
|
# When allowedOrigins is defined, only requests sent from one of the domains
|
||||||
# listed will be accepted. The origin is sent as part as the `options` object
|
# listed will be accepted. The origin is sent as part as the `options` object
|
||||||
# (e.g. <input name="options[origin]" value="http://yourdomain.com/post1")
|
# (e.g. <input name="options[origin]" value="https://yourdomain.com/post1")
|
||||||
# allowedOrigins: ["https://example.com"]
|
# allowedOrigins: ["https://example.com"]
|
||||||
|
|
||||||
# (*) REQUIRED
|
# (*) REQUIRED
|
||||||
@@ -67,7 +67,7 @@ comments:
|
|||||||
|
|
||||||
# Notification settings. When enabled, users can choose to receive notifications
|
# Notification settings. When enabled, users can choose to receive notifications
|
||||||
# via email when someone adds a reply or a new comment. This requires an account
|
# via email when someone adds a reply or a new comment. This requires an account
|
||||||
# with Mailgun, which you can get for free at http://mailgun.com.
|
# with Mailgun, which you can get for free at https://mailgun.com.
|
||||||
# notifications:
|
# notifications:
|
||||||
# Enable notifications
|
# Enable notifications
|
||||||
# enabled: true
|
# enabled: true
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ layout: page
|
|||||||
title: 'Tag Index'
|
title: 'Tag Index'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
|
||||||
{%- capture site_tags -%}
|
{%- capture site_tags -%}
|
||||||
{%- for tag in site.tags -%}
|
{%- for tag in site.tags -%}
|
||||||
{{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%}
|
{{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%}
|
||||||
@@ -11,13 +13,13 @@ title: 'Tag Index'
|
|||||||
{%- assign tags_list = site_tags | split:',' | sort -%}
|
{%- assign tags_list = site_tags | split:',' | sort -%}
|
||||||
|
|
||||||
{%- for tag in tags_list -%}
|
{%- for tag in tags_list -%}
|
||||||
<a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fa fa-tag" aria-hidden="true"></i> {{- tag -}} ({{site.tags[tag].size}})</a>
|
<a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fas fa-tag" aria-hidden="true"></i> {{- tag -}} ({{site.tags[tag].size}})</a>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
||||||
<div id="full-tags-list">
|
<div id="full-tags-list">
|
||||||
{%- for tag in tags_list -%}
|
{%- for tag in tags_list -%}
|
||||||
<h2 id="{{- tag -}}" class="linked-section">
|
<h2 id="{{- tag -}}" class="linked-section">
|
||||||
<i class="fa fa-tag" aria-hidden="true"></i>
|
<i class="fas fa-tag" aria-hidden="true"></i>
|
||||||
{{- tag -}} ({{site.tags[tag].size}})
|
{{- tag -}} ({{site.tags[tag].size}})
|
||||||
</h2>
|
</h2>
|
||||||
<div class="post-list">
|
<div class="post-list">
|
||||||
@@ -25,7 +27,7 @@ title: 'Tag Index'
|
|||||||
<div class="tag-entry">
|
<div class="tag-entry">
|
||||||
<a href="{{ post.url | relative_url }}">{{- post.title -}}</a>
|
<a href="{{ post.url | relative_url }}">{{- post.title -}}</a>
|
||||||
<div class="entry-date">
|
<div class="entry-date">
|
||||||
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: site.date_format -}}</time>
|
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: date_format -}}</time>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activesupport (6.0.2.1)
|
activesupport (6.0.3.2)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
zeitwerk (~> 2.2)
|
zeitwerk (~> 2.2, >= 2.2.2)
|
||||||
addressable (2.7.0)
|
addressable (2.7.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
coffee-script (2.4.1)
|
coffee-script (2.4.1)
|
||||||
@@ -26,14 +26,14 @@ GEM
|
|||||||
ffi (>= 1.3.0)
|
ffi (>= 1.3.0)
|
||||||
eventmachine (1.2.7)
|
eventmachine (1.2.7)
|
||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
faraday (1.0.0)
|
faraday (1.0.1)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.12.2)
|
ffi (1.13.1)
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
gemoji (3.0.1)
|
gemoji (3.0.1)
|
||||||
github-pages (204)
|
github-pages (206)
|
||||||
github-pages-health-check (= 1.16.1)
|
github-pages-health-check (= 1.16.1)
|
||||||
jekyll (= 3.8.5)
|
jekyll (= 3.8.7)
|
||||||
jekyll-avatar (= 0.7.0)
|
jekyll-avatar (= 0.7.0)
|
||||||
jekyll-coffeescript (= 1.1.1)
|
jekyll-coffeescript (= 1.1.1)
|
||||||
jekyll-commonmark-ghpages (= 0.1.6)
|
jekyll-commonmark-ghpages (= 0.1.6)
|
||||||
@@ -72,7 +72,7 @@ GEM
|
|||||||
mercenary (~> 0.3)
|
mercenary (~> 0.3)
|
||||||
minima (= 2.5.1)
|
minima (= 2.5.1)
|
||||||
nokogiri (>= 1.10.4, < 2.0)
|
nokogiri (>= 1.10.4, < 2.0)
|
||||||
rouge (= 3.13.0)
|
rouge (= 3.19.0)
|
||||||
terminal-table (~> 1.4)
|
terminal-table (~> 1.4)
|
||||||
github-pages-health-check (1.16.1)
|
github-pages-health-check (1.16.1)
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
@@ -80,13 +80,13 @@ GEM
|
|||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
public_suffix (~> 3.0)
|
public_suffix (~> 3.0)
|
||||||
typhoeus (~> 1.3)
|
typhoeus (~> 1.3)
|
||||||
html-pipeline (2.12.3)
|
html-pipeline (2.13.0)
|
||||||
activesupport (>= 2)
|
activesupport (>= 2)
|
||||||
nokogiri (>= 1.4)
|
nokogiri (>= 1.4)
|
||||||
http_parser.rb (0.6.0)
|
http_parser.rb (0.6.0)
|
||||||
i18n (0.9.5)
|
i18n (0.9.5)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jekyll (3.8.5)
|
jekyll (3.8.7)
|
||||||
addressable (~> 2.4)
|
addressable (~> 2.4)
|
||||||
colorator (~> 1.0)
|
colorator (~> 1.0)
|
||||||
em-websocket (~> 0.5)
|
em-websocket (~> 0.5)
|
||||||
@@ -202,22 +202,22 @@ GEM
|
|||||||
jekyll (>= 3.5, < 5.0)
|
jekyll (>= 3.5, < 5.0)
|
||||||
jekyll-feed (~> 0.9)
|
jekyll-feed (~> 0.9)
|
||||||
jekyll-seo-tag (~> 2.1)
|
jekyll-seo-tag (~> 2.1)
|
||||||
minitest (5.14.0)
|
minitest (5.14.1)
|
||||||
multipart-post (2.1.1)
|
multipart-post (2.1.1)
|
||||||
nokogiri (1.10.9)
|
nokogiri (1.10.10)
|
||||||
mini_portile2 (~> 2.4.0)
|
mini_portile2 (~> 2.4.0)
|
||||||
octokit (4.17.0)
|
octokit (4.18.0)
|
||||||
faraday (>= 0.9)
|
faraday (>= 0.9)
|
||||||
sawyer (~> 0.8.0, >= 0.5.3)
|
sawyer (~> 0.8.0, >= 0.5.3)
|
||||||
pathutil (0.16.2)
|
pathutil (0.16.2)
|
||||||
forwardable-extended (~> 2.6)
|
forwardable-extended (~> 2.6)
|
||||||
public_suffix (3.1.1)
|
public_suffix (3.1.1)
|
||||||
rake (13.0.1)
|
rake (13.0.1)
|
||||||
rb-fsevent (0.10.3)
|
rb-fsevent (0.10.4)
|
||||||
rb-inotify (0.10.1)
|
rb-inotify (0.10.1)
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rouge (3.13.0)
|
rouge (3.19.0)
|
||||||
ruby-enum (0.7.2)
|
ruby-enum (0.8.0)
|
||||||
i18n
|
i18n
|
||||||
rubyzip (2.3.0)
|
rubyzip (2.3.0)
|
||||||
safe_yaml (1.0.5)
|
safe_yaml (1.0.5)
|
||||||
@@ -232,12 +232,12 @@ GEM
|
|||||||
terminal-table (1.8.0)
|
terminal-table (1.8.0)
|
||||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
||||||
thread_safe (0.3.6)
|
thread_safe (0.3.6)
|
||||||
typhoeus (1.3.1)
|
typhoeus (1.4.0)
|
||||||
ethon (>= 0.9.0)
|
ethon (>= 0.9.0)
|
||||||
tzinfo (1.2.6)
|
tzinfo (1.2.7)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
unicode-display_width (1.7.0)
|
unicode-display_width (1.7.0)
|
||||||
zeitwerk (2.3.0)
|
zeitwerk (2.4.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|||||||
@@ -1,3 +1 @@
|
|||||||
Thank you for submitting an issue!
|
Please only submit feature suggestions or bug reports if you believe something is broken. Please do not submit support requests and general help questions.
|
||||||
|
|
||||||
Please only submit bug reports or feature suggestions. Please do not submit support requests and general help questions in this forum.
|
|
||||||
|
|||||||
15
landing.bryanroessler.com/.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Beautiful Jekyll CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Jekyll
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build the site in the jekyll/builder container
|
||||||
|
run: |
|
||||||
|
export JEKYLL_VERSION=3.8
|
||||||
|
docker run \
|
||||||
|
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
||||||
|
-e PAGES_REPO_NWO=${{ github.repository }} \
|
||||||
|
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|
||||||
4
landing.bryanroessler.com/.gitignore
vendored
@@ -10,3 +10,7 @@ _drafts
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
|
|
||||||
|
Gemfile.lock
|
||||||
|
|
||||||
|
beautiful-jekyll-theme-*.gem
|
||||||
|
|||||||
@@ -9,5 +9,5 @@ permalink: /404.html
|
|||||||
<h1>Move along. (404 error)</h1>
|
<h1>Move along. (404 error)</h1>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<img src="{{ 'img/404-southpark.jpg' | relative_url }}" />
|
<img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,65 @@
|
|||||||
# CHANGELOG
|
## v4.0.1 2020-07-13
|
||||||
|
|
||||||
This file lists all non-trivial changes to Beautiful Jekyll.
|
- Fixed staticman comments UI that was broken since the migration to bootstrap 4
|
||||||
|
|
||||||
I often make small changes to documentation, to the demo site, or to the general look-and-feel. These changes will not be listed here. Any other minor changes will also not be listed here.
|
## v4.0.0 2020-07-12
|
||||||
|
|
||||||
|
- **BREAKING CHANGE** Replace `image` YAML parameter with `thumbnail-img` to be more clear
|
||||||
|
- **MAJOR BEHAVIOUR CHANGE** Don't use the thumbnail as the avatar image
|
||||||
|
- Cover image will automatically be used as thumbnail if none is provided
|
||||||
|
- Image to share on social media will use the cover image or thumbnail if none is provided
|
||||||
|
- All images (social media share, thumbnail, cover) can use either relative or absoluate paths.
|
||||||
|
- 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
|
||||||
|
- Add social network links: Mastodon (#646), Google Scholar, ORCID (#670)
|
||||||
|
- Add support for sharing pages on new social network: VK (#657)
|
||||||
|
- Use Open Graph type 'article' for blog posts (#669)
|
||||||
|
- Use Twitter's large sumary card (large image) when there is a cover image, thumbnail image, or share image specified (#668)
|
||||||
|
- Make post images in the feed page smaller on smaller devices
|
||||||
|
- Fixed jQuery version in staticman (#671)
|
||||||
|
|
||||||
|
## v3.0.0 2020-05-07
|
||||||
|
|
||||||
|
- **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.
|
||||||
|
- **BREAKING CHANGE** Renamed `bigimg` YAML parameter to `cover-img`
|
||||||
|
- **BREAKING CHANGE** Removed `googlefonts` YAML parameter since googlefonts are just CSS so they can be loaded via `ext-css`
|
||||||
|
- **BREAKING CHANGE** Upgraded from jQuery 1.11.2 to 3.4.2. This should not affect most people
|
||||||
|
- Added `navbar-border-col` setting in the config file
|
||||||
|
- Add accessibility features where possible
|
||||||
|
- Made the theme completely responsive by rewriting all CSS to use 'rem' instead of 'px'
|
||||||
|
- Rewrite and simplify some JavaScript code to use CSS or Bootstrap alternatives that weren't available in 2015
|
||||||
|
- Remove most of the sample posts so that users only have two sample posts to learn from
|
||||||
|
- Improvements to the README instructions
|
||||||
|
|
||||||
|
## v2.3.0 2020-04-29
|
||||||
|
|
||||||
|
- Add YAML option `footer-extra` for including custom content in the footer
|
||||||
|
- Fix issue: linking to a specific part of a page resulted in scrolling too far (#69)
|
||||||
|
- Add YAML option `nav-short` to have navbar permanently collapsed
|
||||||
|
- Add social network link: Calendly
|
||||||
|
- Fix bug where RSS link in footer was showing even when turned off
|
||||||
|
|
||||||
|
## v2.2.0 2020-04-27
|
||||||
|
|
||||||
|
- Add social network link: Telegram (#625) (thanks @mashed-potatoes)
|
||||||
|
- Moved the demo site to an independent URL: https://beautifuljekyll.com
|
||||||
|
- Major documentation overhaul and cleanup of old files
|
||||||
|
- Fix a few bugs from the remote_theme migration
|
||||||
|
|
||||||
|
## v2.0.0 2020-04-26
|
||||||
|
|
||||||
|
- Beautiful-Jekyll v2.0.0 available as an official Ruby gem
|
||||||
|
- Beautifull-Jekyll now supports the `remote_theme` config (#339) (thanks @gpotter2 and @skalee)
|
||||||
|
- Consolidated the demo site, the ruby gem, and the master branch into one
|
||||||
|
- Added a `home` layout and used it in the index page
|
||||||
|
- Added readtime support for the post header (#622) (thanks @MutMatt and @rubyreads)
|
||||||
|
- Removed the dependency on `_data` folder since it doesn't get copied when using `remote_theme` (#614)
|
||||||
|
- Added support for configuring lang attribute on `html` tag (#608) (thanks @skalee)
|
||||||
|
- Added ability to disable round logo (thanks @gpotter2)
|
||||||
|
- Added support for Utterances comments (#596) (thanks @colynn)
|
||||||
|
- Removed 'just-comments' as it's getting killed at the end of the year
|
||||||
|
- Upgraded font-awesome to 5.12.1 (#587) (thanks @cketti)
|
||||||
|
|
||||||
|
## Prior to 2020
|
||||||
|
|
||||||
**2018-12-24** Add support for Staticman comments (#440) (thanks @VincentTam)
|
**2018-12-24** Add support for Staticman comments (#440) (thanks @VincentTam)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
source 'https://rubygems.org'
|
# frozen_string_literal: true
|
||||||
|
|
||||||
gem "github-pages", '197', group: :jekyll_plugins
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gemspec
|
||||||
|
|
||||||
gem 'jekyll'
|
gem 'jekyll'
|
||||||
|
|
||||||
# enable tzinfo-data for local build
|
|
||||||
# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
|
|
||||||
gem 'jekyll-paginate'
|
|
||||||
|
|||||||
@@ -1,93 +1,28 @@
|
|||||||
|
PATH
|
||||||
|
remote: .
|
||||||
|
specs:
|
||||||
|
beautiful-jekyll-theme (4.0.1)
|
||||||
|
jekyll (~> 3.8)
|
||||||
|
jekyll-paginate (~> 1.1)
|
||||||
|
jekyll-sitemap (~> 1.4)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activesupport (4.2.10)
|
|
||||||
i18n (~> 0.7)
|
|
||||||
minitest (~> 5.1)
|
|
||||||
thread_safe (~> 0.3, >= 0.3.4)
|
|
||||||
tzinfo (~> 1.1)
|
|
||||||
addressable (2.7.0)
|
addressable (2.7.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
coffee-script (2.4.1)
|
|
||||||
coffee-script-source
|
|
||||||
execjs
|
|
||||||
coffee-script-source (1.11.1)
|
|
||||||
colorator (1.1.0)
|
colorator (1.1.0)
|
||||||
commonmarker (0.17.13)
|
|
||||||
ruby-enum (~> 0.5)
|
|
||||||
concurrent-ruby (1.1.6)
|
concurrent-ruby (1.1.6)
|
||||||
dnsruby (1.61.3)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
em-websocket (0.5.1)
|
em-websocket (0.5.1)
|
||||||
eventmachine (>= 0.12.9)
|
eventmachine (>= 0.12.9)
|
||||||
http_parser.rb (~> 0.6.0)
|
http_parser.rb (~> 0.6.0)
|
||||||
ethon (0.12.0)
|
|
||||||
ffi (>= 1.3.0)
|
|
||||||
eventmachine (1.2.7)
|
eventmachine (1.2.7)
|
||||||
execjs (2.7.0)
|
ffi (1.13.1)
|
||||||
faraday (1.0.0)
|
|
||||||
multipart-post (>= 1.2, < 3)
|
|
||||||
ffi (1.12.2)
|
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
gemoji (3.0.1)
|
|
||||||
github-pages (197)
|
|
||||||
activesupport (= 4.2.10)
|
|
||||||
github-pages-health-check (= 1.16.1)
|
|
||||||
jekyll (= 3.7.4)
|
|
||||||
jekyll-avatar (= 0.6.0)
|
|
||||||
jekyll-coffeescript (= 1.1.1)
|
|
||||||
jekyll-commonmark-ghpages (= 0.1.5)
|
|
||||||
jekyll-default-layout (= 0.1.4)
|
|
||||||
jekyll-feed (= 0.11.0)
|
|
||||||
jekyll-gist (= 1.5.0)
|
|
||||||
jekyll-github-metadata (= 2.12.1)
|
|
||||||
jekyll-mentions (= 1.4.1)
|
|
||||||
jekyll-optional-front-matter (= 0.3.0)
|
|
||||||
jekyll-paginate (= 1.1.0)
|
|
||||||
jekyll-readme-index (= 0.2.0)
|
|
||||||
jekyll-redirect-from (= 0.14.0)
|
|
||||||
jekyll-relative-links (= 0.6.0)
|
|
||||||
jekyll-remote-theme (= 0.3.1)
|
|
||||||
jekyll-sass-converter (= 1.5.2)
|
|
||||||
jekyll-seo-tag (= 2.5.0)
|
|
||||||
jekyll-sitemap (= 1.2.0)
|
|
||||||
jekyll-swiss (= 0.4.0)
|
|
||||||
jekyll-theme-architect (= 0.1.1)
|
|
||||||
jekyll-theme-cayman (= 0.1.1)
|
|
||||||
jekyll-theme-dinky (= 0.1.1)
|
|
||||||
jekyll-theme-hacker (= 0.1.1)
|
|
||||||
jekyll-theme-leap-day (= 0.1.1)
|
|
||||||
jekyll-theme-merlot (= 0.1.1)
|
|
||||||
jekyll-theme-midnight (= 0.1.1)
|
|
||||||
jekyll-theme-minimal (= 0.1.1)
|
|
||||||
jekyll-theme-modernist (= 0.1.1)
|
|
||||||
jekyll-theme-primer (= 0.5.3)
|
|
||||||
jekyll-theme-slate (= 0.1.1)
|
|
||||||
jekyll-theme-tactile (= 0.1.1)
|
|
||||||
jekyll-theme-time-machine (= 0.1.1)
|
|
||||||
jekyll-titles-from-headings (= 0.5.1)
|
|
||||||
jemoji (= 0.10.2)
|
|
||||||
kramdown (= 1.17.0)
|
|
||||||
liquid (= 4.0.0)
|
|
||||||
listen (= 3.1.5)
|
|
||||||
mercenary (~> 0.3)
|
|
||||||
minima (= 2.5.0)
|
|
||||||
nokogiri (>= 1.8.5, < 2.0)
|
|
||||||
rouge (= 2.2.1)
|
|
||||||
terminal-table (~> 1.4)
|
|
||||||
github-pages-health-check (1.16.1)
|
|
||||||
addressable (~> 2.3)
|
|
||||||
dnsruby (~> 1.60)
|
|
||||||
octokit (~> 4.0)
|
|
||||||
public_suffix (~> 3.0)
|
|
||||||
typhoeus (~> 1.3)
|
|
||||||
html-pipeline (2.12.3)
|
|
||||||
activesupport (>= 2)
|
|
||||||
nokogiri (>= 1.4)
|
|
||||||
http_parser.rb (0.6.0)
|
http_parser.rb (0.6.0)
|
||||||
i18n (0.9.5)
|
i18n (0.9.5)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jekyll (3.7.4)
|
jekyll (3.8.7)
|
||||||
addressable (~> 2.4)
|
addressable (~> 2.4)
|
||||||
colorator (~> 1.0)
|
colorator (~> 1.0)
|
||||||
em-websocket (~> 0.5)
|
em-websocket (~> 0.5)
|
||||||
@@ -100,152 +35,42 @@ GEM
|
|||||||
pathutil (~> 0.9)
|
pathutil (~> 0.9)
|
||||||
rouge (>= 1.7, < 4)
|
rouge (>= 1.7, < 4)
|
||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
jekyll-avatar (0.6.0)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-coffeescript (1.1.1)
|
|
||||||
coffee-script (~> 2.2)
|
|
||||||
coffee-script-source (~> 1.11.1)
|
|
||||||
jekyll-commonmark (1.3.1)
|
|
||||||
commonmarker (~> 0.14)
|
|
||||||
jekyll (>= 3.7, < 5.0)
|
|
||||||
jekyll-commonmark-ghpages (0.1.5)
|
|
||||||
commonmarker (~> 0.17.6)
|
|
||||||
jekyll-commonmark (~> 1)
|
|
||||||
rouge (~> 2)
|
|
||||||
jekyll-default-layout (0.1.4)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-feed (0.11.0)
|
|
||||||
jekyll (~> 3.3)
|
|
||||||
jekyll-gist (1.5.0)
|
|
||||||
octokit (~> 4.2)
|
|
||||||
jekyll-github-metadata (2.12.1)
|
|
||||||
jekyll (~> 3.4)
|
|
||||||
octokit (~> 4.0, != 4.4.0)
|
|
||||||
jekyll-mentions (1.4.1)
|
|
||||||
html-pipeline (~> 2.3)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-optional-front-matter (0.3.0)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
jekyll-readme-index (0.2.0)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
jekyll-redirect-from (0.14.0)
|
|
||||||
jekyll (~> 3.3)
|
|
||||||
jekyll-relative-links (0.6.0)
|
|
||||||
jekyll (~> 3.3)
|
|
||||||
jekyll-remote-theme (0.3.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
rubyzip (>= 1.2.1, < 3.0)
|
|
||||||
jekyll-sass-converter (1.5.2)
|
jekyll-sass-converter (1.5.2)
|
||||||
sass (~> 3.4)
|
sass (~> 3.4)
|
||||||
jekyll-seo-tag (2.5.0)
|
jekyll-sitemap (1.4.0)
|
||||||
jekyll (~> 3.3)
|
jekyll (>= 3.7, < 5.0)
|
||||||
jekyll-sitemap (1.2.0)
|
|
||||||
jekyll (~> 3.3)
|
|
||||||
jekyll-swiss (0.4.0)
|
|
||||||
jekyll-theme-architect (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-cayman (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-dinky (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-hacker (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-leap-day (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-merlot (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-midnight (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-minimal (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-modernist (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-primer (0.5.3)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-github-metadata (~> 2.9)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-slate (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-tactile (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-theme-time-machine (0.1.1)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-seo-tag (~> 2.0)
|
|
||||||
jekyll-titles-from-headings (0.5.1)
|
|
||||||
jekyll (~> 3.3)
|
|
||||||
jekyll-watch (2.2.1)
|
jekyll-watch (2.2.1)
|
||||||
listen (~> 3.0)
|
listen (~> 3.0)
|
||||||
jemoji (0.10.2)
|
|
||||||
gemoji (~> 3.0)
|
|
||||||
html-pipeline (~> 2.2)
|
|
||||||
jekyll (~> 3.0)
|
|
||||||
kramdown (1.17.0)
|
kramdown (1.17.0)
|
||||||
liquid (4.0.0)
|
liquid (4.0.3)
|
||||||
listen (3.1.5)
|
listen (3.2.1)
|
||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||||
rb-inotify (~> 0.9, >= 0.9.7)
|
rb-inotify (~> 0.9, >= 0.9.10)
|
||||||
ruby_dep (~> 1.2)
|
|
||||||
mercenary (0.3.6)
|
mercenary (0.3.6)
|
||||||
mini_portile2 (2.4.0)
|
|
||||||
minima (2.5.0)
|
|
||||||
jekyll (~> 3.5)
|
|
||||||
jekyll-feed (~> 0.9)
|
|
||||||
jekyll-seo-tag (~> 2.1)
|
|
||||||
minitest (5.14.0)
|
|
||||||
multipart-post (2.1.1)
|
|
||||||
nokogiri (1.10.9)
|
|
||||||
mini_portile2 (~> 2.4.0)
|
|
||||||
octokit (4.16.0)
|
|
||||||
faraday (>= 0.9)
|
|
||||||
sawyer (~> 0.8.0, >= 0.5.3)
|
|
||||||
pathutil (0.16.2)
|
pathutil (0.16.2)
|
||||||
forwardable-extended (~> 2.6)
|
forwardable-extended (~> 2.6)
|
||||||
public_suffix (3.1.1)
|
public_suffix (4.0.5)
|
||||||
rb-fsevent (0.10.3)
|
rake (12.3.3)
|
||||||
|
rb-fsevent (0.10.4)
|
||||||
rb-inotify (0.10.1)
|
rb-inotify (0.10.1)
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rouge (2.2.1)
|
rouge (3.21.0)
|
||||||
ruby-enum (0.7.2)
|
|
||||||
i18n
|
|
||||||
ruby_dep (1.5.0)
|
|
||||||
rubyzip (2.2.0)
|
|
||||||
safe_yaml (1.0.5)
|
safe_yaml (1.0.5)
|
||||||
sass (3.7.4)
|
sass (3.7.4)
|
||||||
sass-listen (~> 4.0.0)
|
sass-listen (~> 4.0.0)
|
||||||
sass-listen (4.0.0)
|
sass-listen (4.0.0)
|
||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
rb-inotify (~> 0.9, >= 0.9.7)
|
rb-inotify (~> 0.9, >= 0.9.7)
|
||||||
sawyer (0.8.2)
|
|
||||||
addressable (>= 2.3.5)
|
|
||||||
faraday (> 0.8, < 2.0)
|
|
||||||
terminal-table (1.8.0)
|
|
||||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
||||||
thread_safe (0.3.6)
|
|
||||||
typhoeus (1.3.1)
|
|
||||||
ethon (>= 0.9.0)
|
|
||||||
tzinfo (1.2.6)
|
|
||||||
thread_safe (~> 0.1)
|
|
||||||
unicode-display_width (1.6.1)
|
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
github-pages (= 197)
|
beautiful-jekyll-theme!
|
||||||
|
bundler (>= 1.16)
|
||||||
jekyll
|
jekyll
|
||||||
jekyll-paginate
|
rake (~> 12.0)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.0.2
|
2.0.2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2015-2018 Dean Attali
|
Copyright (c) 2020 Dean Attali
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -19,12 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
staticman integration
|
|
||||||
=================================================================================
|
|
||||||
|
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013-2018 Michael Rose
|
|
||||||
|
|||||||
@@ -1,85 +1,108 @@
|
|||||||
# Beautiful Jekyll
|
# Beautiful Jekyll
|
||||||
|
|
||||||
[](https://www.paypal.me/daattali/20)
|
[](https://xscode.com/daattali/beautiful-jekyll)
|
||||||
[](https://badge.fury.io/rb/beautiful-jekyll-theme)
|
[](https://badge.fury.io/rb/beautiful-jekyll-theme)
|
||||||
|
|
||||||
> *Copyright 2019 [Dean Attali](https://deanattali.com)*
|
> *Copyright 2020 [Dean Attali](https://deanattali.com)*
|
||||||
|
|
||||||
**Beautiful Jekyll** is a ready-to-use template to help you create an awesome website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://deanattali.com/beautiful-jekyll) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) to see it in use, or see examples of websites other people created using this theme [here](#showcased-users-success-stories).
|
**Beautiful Jekyll** is a ready-to-use template to help you create a beautiful website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](https://beautifuljekyll.com) of what you'll get after just two minutes. You can also look at [my personal website](https://deanattali.com) to see it in use, or see examples of websites other people created using this theme [below](#showcased-users-success-stories).
|
||||||
|
|
||||||
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/daattali/20) for developing and maintaining this template.**
|
**If you enjoy this theme, please consider [sponsoring me](https://github.com/sponsors/daattali) for developing and maintaining it for over 5 years.**
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://www.paypal.me/daattali">
|
<a style="display: inline-block;" href="https://github.com/sponsors/daattali">
|
||||||
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" />
|
<img height="40" src="https://i.imgur.com/034B8vq.png" />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a style="display: inline-block;" href="https://paypal.me/daattali">
|
||||||
|
<img height="40" src="https://camo.githubusercontent.com/0e9e5cac101f7093336b4589c380ab5dcfdcbab0/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f74776f6c66736f6e2f70617970616c2d6769746875622d627574746f6e40312e302e302f646973742f627574746f6e2e737667" />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Table of contents
|
## Table of contents
|
||||||
|
|
||||||
- [Prerequisites](#prerequisites)
|
|
||||||
- [Build your website in 3 steps](#build-your-website-in-3-steps)
|
|
||||||
- [Add your own content](#add-your-own-content)
|
|
||||||
- [Last important thing: YAML front matter ("parameters" for a page)](#last-important-thing-yaml-front-matter-parameters-for-a-page)
|
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Creating a User Page vs a Project Page](#creating-a-user-page-vs-a-project-page)
|
- [**Build your website in 3 steps**](#build-your-website-in-3-steps)
|
||||||
|
- [Add your own content](#add-your-own-content)
|
||||||
|
- [Customizing parameters for each page](#customizing-parameters-for-each-page)
|
||||||
|
- [Supported parameters](#supported-parameters)
|
||||||
- [Showcased users (success stories!)](#showcased-users-success-stories)
|
- [Showcased users (success stories!)](#showcased-users-success-stories)
|
||||||
- [Advanced: local development](#advanced-local-development-using-docker)
|
|
||||||
- [FAQ and support](#faq-and-support)
|
- [FAQ and support](#faq-and-support)
|
||||||
- [Credits and contributions](#credits)
|
- [Credits and contributions](#credits)
|
||||||
|
|
||||||
## Prerequisites
|
# Features
|
||||||
|
|
||||||
- You need to have a GitHub account. If you don't have one, [sign up here](https://github.com/join) - it takes one minute. This is where your website will live - if you sign up with username `johnsmith` then your website will be `https://johnsmith.github.io`.
|
- **SIMPLE**: The primary goal of Beautiful Jekyll is to allow literally *anyone* to create a website in a few minutes.
|
||||||
- It would be helpful to understand what Markdown is and how to write it. Markdown is just a way to take a piece of text and format it to look a little nicer. For example, this whole instruction set that you're reading is written in markdown - it's just text with some words being bold/larger/italicized/etc. I recommend taking 5 minutes to learn markdown [with this amazingly easy yet useful tutorial](https://markdowntutorial.com/).
|
- **Modern**: Uses the latest best practices and technologies to achieve nearly perfect scores on Google Chrome's Audit.
|
||||||
|
- **Mobile-first**: Designed to look great on both large-screen and small-screen (mobile) devices.
|
||||||
|
- **Highly customizable**: Many personalization settings such as changing the background colour/image, adding a logo.
|
||||||
|
- **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.
|
||||||
|
- **Battle-tested**: By using Beautiful Jekyll, you'll be joining tens of thousands of users who used this theme since 2015.
|
||||||
|
- **Links to your social media**: You can easily add links to any of your social media accounts in the footer of every page.
|
||||||
|
- **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).
|
||||||
|
- **Share blog posts on social media**: By default, all blog posts have buttons to allow people to share on Twitter/Facebook/LinkedIn.
|
||||||
|
- **Tags**: Any blog post can be tagged with keywords, and an index page showing all the tags is automatically generated.
|
||||||
|
- **Tracking analytics**: Easily integrate Google Analytics, or other analytics platforms, to track visits to your website.
|
||||||
|
- **Photos support**: Any page can have a cover photo around its title, and any blog post can have an associated image.
|
||||||
|
- **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.
|
||||||
|
|
||||||
## Build your website in 3 steps
|
# Build your website in 3 steps
|
||||||
|
|
||||||
|
There's a very easy way to use this theme, and there's a hard way. For most people (including myself!), I suggest going the easy route. If you're an advanced user and want to tinker with the hard way (using ruby gems), then [skip the easy way](https://github.com/daattali/beautiful-jekyll#the-hard-way-using-ruby-gems) if you know what you're doing.
|
||||||
|
|
||||||
|
## The easy way (recommended!)
|
||||||
|
|
||||||
Getting started is *literally* as easy as 1-2-3 :smile:
|
Getting started is *literally* as easy as 1-2-3 :smile:
|
||||||
Scroll down to see the steps involved, but here is a 40-second video just as a reference as you work through the steps.
|
|
||||||
|
|
||||||

|
Scroll down to see the steps involved, but here is a 40-second video just as a reference as you work through the steps. If you don't already have a [GitHub account](https://github.com/join), you'll need to sign up.
|
||||||
|
|
||||||
### 1. Fork this repository
|

|
||||||
|
|
||||||
(Assuming you are on this page and logged into GitHub) Fork this repository by clicking the *Fork* button on the top right corner. Forking means that you now copied this whole project and all the files into your account.
|
### 1. Fork this project
|
||||||
|
|
||||||
### 2. Rename the repository to `<yourusername>.github.io`
|
Fork this project by clicking the __*Fork*__ button at the top right corner of this page. Forking means that you now copied this entire project and all the files into your account.
|
||||||
|
|
||||||
This will create a GitHub User page ready with the **Beautiful Jekyll** template that will be available at `https://<yourusername>.github.io` within a couple minutes. To do this, click on *Settings* at the top (the cog icon) and there you'll have an option to rename.
|
### 2. Rename the project to `<yourusername>.github.io`
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
### 3. Customize your website settings
|
### 3. Customize your website settings
|
||||||
|
|
||||||
Edit the `_config.yml` file to change all the settings to reflect your site. To edit the file, click on it and then click on the pencil icon (watch the video tutorial above if you're confused). The settings in the file are fairly self-explanatory and I added comments inside the file to help you further. Any line that begins with a pound sign (`#`) is a comment, and the rest of the lines are actual settings.
|
Edit the `_config.yml` file to change any settings you want. To edit the file, click on it to view the file and then click on the pencil icon to edit it (watch the video tutorial above if you're confused). The settings in the file are self-explanatory and I added comments inside the file to help you understand what each setting does. Any line that begins with a hashtag (`#`) is a comment, and the other lines are actual settings.
|
||||||
|
|
||||||
Another way to edit the config file (or any other file) is to use [prose.io](https://prose.io/), which is just a simple interface to allow you to more intuitively edit files or add new files to your project.
|
### 4. Congratulations! You have a website!
|
||||||
|
|
||||||
After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so.
|
After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `https://<yourusername>.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so. Your website will be initialized with several sample blog posts and a couple other pages.
|
||||||
|
|
||||||
You can now visit your shiny new website, which will be seeded with several sample blog posts and a couple other pages. Your website is at `https://<yourusername>.github.io` (replace `<yourusername>` with your user name). Do not add `www` to the URL - it will not work!
|
Note that in the video above I only edited one setting in the `_config.yml` file. **You should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)**
|
||||||
|
|
||||||
**Note:** The video above goes through the setup for a user with username `daattalitest`. I only edited one setting in the `_config.yml` file in the video, but **you should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)**
|
## The hard way (using ruby gems)
|
||||||
|
|
||||||
## Add your own content
|
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).
|
||||||
|
|
||||||
To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file directly. It is much easier to write markdown than HTML, so I suggest you do that (use the [tutorial I mentioned above](https://markdowntutorial.com/) if you need to learn markdown). You can look at some files on this site to get an idea of how to write markdown. To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there is a word in bold, a link, bullet points), and if you click on the pencil icon to edit the file, you will see the markdown that generated the pretty text. Very easy!
|
|
||||||
|
|
||||||
In contrast, look at [`index.html`](./index.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML.
|
# Add your own content
|
||||||
|
|
||||||
Any file that you add inside the [`_posts`](./_posts) directory will be treated as a blog entry. You can look at the existing files there to get an idea of how to write blog posts. 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.
|
To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file. It's much easier to write markdown than HTML, so I suggest you do that ([here's a great tutorial](https://markdowntutorial.com/) if you need to learn markdown in 5 minutes). You can look at some files on this demo site to get an idea of how to write markdown.
|
||||||
|
|
||||||
As mentioned previously, you can use [prose.io](https://prose.io/) to add or edit files instead of doing it directly on GitHub, it can be a little easier that way.
|
To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there's a word in bold, a link, a few bullet points), and if you click on the pencil icon to edit the file, you'll see the markdown code that generated the pretty text. Very easy!
|
||||||
|
|
||||||
## Last important thing: YAML front matter ("parameters" for a page)
|
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.
|
||||||
|
|
||||||
In order to have your new pages use this template and not just be plain pages, you need to add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page. This is where you'll give each page some parameters that I made available, such as a title and subtitle. I'll go into more detail about what parameters are available later. If you don't want to use any parameters on your new page (this also means having no title), then use the empty YAML front matter:
|
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`.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
# Customizing parameters for each page
|
||||||
|
|
||||||
|
**One last important thing**: In order to have your new pages use this template and not just be plain HTML pages, **you must add [YAML front matter](https://jekyllrb.com/docs/front-matter/) to the top of each page**. This is where you'll be able to give each page some extra parameters such as a title, a subtitle, or an image. [Below is a list of all available parameters](#supported-parameters). If you don't want to use any parameters on a page (this also means having no title), then use the empty YAML front matter:
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to use any parameters, write them between the two lines. For example, you can have this at the top of a page:
|
If you do want to use any parameters, write them between these two lines. For example, you can have this at the top of a page:
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
@@ -88,120 +111,77 @@ subtitle: Here you'll find all the ways to get in touch with me
|
|||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
You can look at the top of [`aboutme.md`](./aboutme.md) or [`index.html`](./index.html) as more examples.
|
You can look at the top of [`aboutme.md`](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/aboutme.md) as an example.
|
||||||
|
|
||||||
**Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.**
|
**Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.**
|
||||||
If you don't include YAML then your file will not use the template.
|
|
||||||
|
|
||||||
## Features
|
If you don't include YAML then your file will not use this template.
|
||||||
|
|
||||||
### Mobile-first
|
# Supported parameters
|
||||||
**Beautiful Jekyll** is designed to look great on both large-screen and small-screen (mobile) devices. Load up your site on your phone or your gigantic iMac, and the site will work well on both, though it will look slightly different.
|
|
||||||
|
|
||||||
### Customizable
|
Below is a list of the parameters that **Beautiful Jekyll** supports (any of these can be added to the YAML front matter of any page). Remember to also look in the `_config.yml` file to see additional settings.
|
||||||
|
|
||||||
Many personalization settings in `_config.yml`, such as setting your name and site's description, changing the background colour/image, setting your avatar to add a little image in the navigation bar, customizing the links in the menus, customizing what social media links to show in the footer, etc.
|
## Main paramaters
|
||||||
|
|
||||||
### Allowing users to leave comments
|
These are the basic YAML parameters that you are most likely to use on most pages.
|
||||||
|
|
||||||
If you want to enable comments on your site, Beautiful Jekyll supports either the [Disqus](https://disqus.com/) comments plugin, [Facebook](https://developers.facebook.com/docs/plugins/comments) comments, [Staticman](https://staticman.net) or [JustComments](https://just-comments.com). If any of these are set in the configuration file, then all blog posts will have comments turned on by default. To turn off comments on a particular blog post, add `comments: false` to the YAML front matter. If you want to add comments on the bottom of a non-blog page, add `comments: true` to the YAML front matter.
|
|
||||||
|
|
||||||
#### Disqus comments
|
|
||||||
|
|
||||||
To use Disqus, simply sign up to [Disqus](https://disqus.com/) and add your Disqus shortname to the `disqus` parameter in the `_config.yml` file.
|
|
||||||
|
|
||||||
#### Facebook comments
|
|
||||||
|
|
||||||
To use Facebook comments, create a Facebook app using [Facebook developers](https://developers.facebook.com/docs/apps/register), and add the Facebook App ID to the `fb_comment_id` parameter in `_config.yml`.
|
|
||||||
|
|
||||||
#### Staticman comments
|
|
||||||
|
|
||||||
To use Staticman, you first need to invite `staticmanlab` as a collaborator to your repository (by going to your repository **Settings** page, navigate to the **Collaborators** tab, and add the username `staticmanlab`), and then accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`. Lastly, fill in the `staticman` parameters in the Staticman section of `_config.yml`. You may also choose a different Staticman instance other than `staticmanlab`.
|
|
||||||
|
|
||||||
Optional: You may want to configure a webhook to prevent old inactive branches (representing approved comments) from stacking up. You can refer to [Staticman's documentation](https://staticman.net/docs/webhooks) for details. Make sure to input the **Payload URL** according to your chosen `endpoint`. For example, the default `endpoint` is `https://staticman3.herokuapp.com/v3/entry/github/`, so the corresponding **Payload URL** should be `https://staticman3.herokuapp.com/v1/webhook`.
|
|
||||||
|
|
||||||
#### JustComments
|
|
||||||
|
|
||||||
To use JustComments you first need to have an account. After you just need to copy the API key to the `just-comments` property in `_config.yml` file.
|
|
||||||
|
|
||||||
### Adding Google Analytics to track page views
|
|
||||||
|
|
||||||
Beautiful Jekyll lets you easily add Google Analytics to all your pages. This will let you track all sorts of information about visits to your website, such as how many times each page is viewed and where (geographically) your users come from. To add Google Analytics, simply sign up to [Google Analytics](https://www.google.com/analytics/) to obtain your Google Tracking ID, and add this tracking ID to the `google_analytics` parameter in `_config.yml`.
|
|
||||||
|
|
||||||
### Sharing blog posts on social media
|
|
||||||
|
|
||||||
By default, all blog posts will have buttons at the bottom of the post to allow people to share the current page on Twitter/Facebook/LinkedIn. You can choose to enable/disable specific social media websites in the `_config.yml` file. You can also turn off the social media buttons on specific blog posts using `social-share: false` in the YAML front matter.
|
|
||||||
|
|
||||||
### RSS feed
|
|
||||||
|
|
||||||
Beautiful Jekyll automatically generates a simple RSS feed of your blog posts, to allow others to subscribe to your posts. If you want to add a link to your RSS feed in the footer of every page, find the `rss: false` line in `_config.yml` and change it to `rss: true`.
|
|
||||||
|
|
||||||
### Page types
|
|
||||||
|
|
||||||
- **post** - To write a blog post, add a markdown or HTML file in the `_posts` folder. As long as you give it YAML front matter (the two lines of three dashes), it will automatically be rendered like a blog post. Look at the existing blog post files to see examples of how to use YAML parameters in blog posts.
|
|
||||||
- **page** - Any page outside the `_posts` folder that uses YAML front matter will have a very similar style to blog posts.
|
|
||||||
- **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter.
|
|
||||||
- If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML!
|
|
||||||
|
|
||||||
### YAML front matter parameters
|
|
||||||
|
|
||||||
These are the main parameters you can place inside a page's YAML front matter that **Beautiful Jekyll** supports.
|
|
||||||
|
|
||||||
Parameter | Description
|
Parameter | Description
|
||||||
----------- | -----------
|
----------- | -----------
|
||||||
title | Page or blog post title
|
title | Page or blog post title
|
||||||
subtitle | Short description of page or blog post that goes under the title
|
subtitle | Short description of page or blog post that goes under the title
|
||||||
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, self help, finance]`
|
tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, analysis, finance]`
|
||||||
bigimg | Include a large full-width image at the top of the page. You can either give the path to a single image, or provide a list of images to cycle through (see [my personal website](https://deanattali.com/) as an example).
|
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"}`.
|
||||||
comments | If you want do add comments to a specific page, use `comments: true`. Comments are automatically enabled on blog posts; to turn comments off for a specific post, use `comments: false`. Comments only work if you enable at least one provider(diqus, staticman, just-comments) in `_config.yml` file.
|
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`.
|
||||||
show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`. If you want to turn it off by default, locate the line `show-avatar: true` in the file `_config.yml` and change the `true` to `false`; then you can selectively turn it on in specific pages using `show-avatar: true`.
|
|
||||||
image | If you want to add a personalized image to your blog post that will show up next to the post's excerpt and on the post itself, use `image: /path/to/img`.
|
## Less commonly used parameters
|
||||||
share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here.
|
|
||||||
social-share | If you don't want to show buttons to share a blog post on social media, use `social-share: false` (this feature is turned on by default).
|
These are parameters that you may not use often, but can come in handy sometimes.
|
||||||
use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise.
|
|
||||||
layout | What type of page this is (default is `post` for blog posts and `page` for other pages. You can use `minimal` if you don't want a header and footer)
|
Parameter | Description
|
||||||
js | List of local JavaScript files to include in the page (eg. `/js/mypage.js`)
|
----------- | -----------
|
||||||
|
readtime | If you want a post to show how many minutes it will take to read it, use `readtime: true`.
|
||||||
|
show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`.
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
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`.
|
||||||
|
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`
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
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.
|
||||||
|
|
||||||
|
## Advanced parameters
|
||||||
|
|
||||||
|
These are advanced parameters that are only useful for people who need very fine control over their website.
|
||||||
|
|
||||||
|
Parameter | Description
|
||||||
|
----------- | -----------
|
||||||
|
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`)
|
||||||
|
language | HTML language code to be set on the page's <html> element.
|
||||||
|
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`.
|
||||||
|
js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`)
|
||||||
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
|
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
|
||||||
css | List of local CSS files to include in the page
|
css | List of local CSS files to include in the page
|
||||||
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
|
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
|
||||||
googlefonts | List of Google fonts to include in the page (eg. `["Monoton", "Lobster"]`)
|
|
||||||
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.
|
|
||||||
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.
|
|
||||||
|
|
||||||
### Advanced features (including how to use a custom URL address for your site)
|
## Page types
|
||||||
|
|
||||||
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 are applicable to any Jekyll site. It describes how I used a custom URL for my site (deanattali.com instead of daattali.github.io), how to add a Google-powered search into your site, and provides a few more details about having an RSS feed.
|
- **post** - To write a blog post, add a markdown or HTML file in the `_posts` folder. As long as you give it YAML front matter (the two lines of three dashes), it will automatically be rendered like a blog post. Look at the existing blog post files to see examples of how to use YAML parameters in blog posts.
|
||||||
|
- **page** - Any page outside the `_posts` folder that uses YAML front matter will have a very similar style to blog posts.
|
||||||
|
- **home** - The home layout is meant to act as the homepage of your blog posts - it will display all your blog posts, sorted from newest to oldest. A file using the `home` layout must be named `index.html` (not `index.md` or anything else!).
|
||||||
|
- **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter.
|
||||||
|
- If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML!
|
||||||
|
|
||||||
## Creating a User Page vs a Project Page
|
# Showcased users (success stories!)
|
||||||
|
|
||||||
If you're not sure what the difference is, you can probably safely ignore this section.
|
Beautiful Jekyll has been used in over 500 websites in its first 6 months, and tens of thousands of times since its inception. Here is a sample of some websites that use Beautiful Jekyll.
|
||||||
|
|
||||||
If you want to use this theme to host a website that will be available at `https://YOURUSERNAME.github.io`, then you do not need to read this section. That is called a User Page, you can only have one User Page in your GitHub account, and it is what you get by default when forking this project.
|
## Project/company websites
|
||||||
|
|
||||||
If you want to use this theme to create a website for a particular repository, it will be available at `https://YOURUSERNAME.github.io/PROJECTNAME`, and that is called a [Project Page](https://help.github.com/articles/user-organization-and-project-pages/). You can have a Project Page for any repository you have on GitHub.
|
|
||||||
|
|
||||||
**When using this theme for a Project Page, by default your website will be served from the `gh-pages` branch**, so you must take the following steps:
|
|
||||||
|
|
||||||
1. [Delete the existing `gh-pages` branch](https://help.github.com/en/articles/creating-and-deleting-branches-within-your-repository#deleting-a-branch)
|
|
||||||
|
|
||||||
2. [Create a new branch named `gh-pages` from the `master` branch](https://help.github.com/en/articles/creating-and-deleting-branches-within-your-repository#creating-a-branch)
|
|
||||||
|
|
||||||
Alternatively, instead of the above two steps, you can opt to use the `master` branch instead of `gh-pages` branch as your website's source by choosing that option in the main Settings page.
|
|
||||||
|
|
||||||
## Showcased users (success stories!)
|
|
||||||
|
|
||||||
To my huge surprise, Beautiful Jekyll has been used in over 500 websites in its first 6 months alone! Here is a hand-picked selection of some websites that use Beautiful Jekyll.
|
|
||||||
|
|
||||||
Want your website featured here? [Contact me](https://deanattali.com/aboutme#contact) to let me know about your website.
|
|
||||||
|
|
||||||
### Project/company websites
|
|
||||||
|
|
||||||
| Website | Description |
|
| Website | Description |
|
||||||
| :------ |:----------- |
|
| :------ |:----------- |
|
||||||
| [repidemicsconsortium.org/](https://www.repidemicsconsortium.org/) | R Epidemics Consortium |
|
| [repidemicsconsortium.org/](https://www.repidemicsconsortium.org/) | R Epidemics Consortium |
|
||||||
| [vaccineimpact.org](https://www.vaccineimpact.org/) | Vaccine Impact Modelling Consortium |
|
| [vaccineimpact.org](https://www.vaccineimpact.org/) | Vaccine Impact Modelling Consortium |
|
||||||
| [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses |
|
| [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses |
|
||||||
| [bigdata.juju.solutions](http://bigdata.juju.solutions) | Creating Big Data solutions Juju Solutions |
|
|
||||||
| [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app |
|
| [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app |
|
||||||
| [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package |
|
| [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package |
|
||||||
| [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs |
|
| [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs |
|
||||||
@@ -212,7 +192,7 @@ Want your website featured here? [Contact me](https://deanattali.com/aboutme#con
|
|||||||
| [terremotocentroitalia.info](https://www.terremotocentroitalia.info/) | Information about the 2016 Italy earthquake |
|
| [terremotocentroitalia.info](https://www.terremotocentroitalia.info/) | Information about the 2016 Italy earthquake |
|
||||||
|
|
||||||
|
|
||||||
### Personal websites
|
## Personal websites
|
||||||
|
|
||||||
| Website | Who | What |
|
| Website | Who | What |
|
||||||
| :------ |:--- | :--- |
|
| :------ |:--- | :--- |
|
||||||
@@ -228,98 +208,54 @@ Want your website featured here? [Contact me](https://deanattali.com/aboutme#con
|
|||||||
| [ocram85.com](https://ocram85.com) | Marco Blessing | A personal blog about PowerShell and automation |
|
| [ocram85.com](https://ocram85.com) | Marco Blessing | A personal blog about PowerShell and automation |
|
||||||
| [khanna.cc](https://khanna.cc/) | Harry Khanna | Law and software |
|
| [khanna.cc](https://khanna.cc/) | Harry Khanna | Law and software |
|
||||||
|
|
||||||
## Advanced: Local development using Docker
|
# FAQ and support
|
||||||
|
|
||||||
Beautiful Jekyll is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps set that up with Docker:
|
|
||||||
|
|
||||||
1. Make sure you have [Docker](https://www.docker.com/) installed.
|
|
||||||
|
|
||||||
2. Clone your repository locally.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/<your_username>/<your_username>.github.io.git
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Run the following shell commands to build the docker image and start the container for the first time:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd <repository_folder>
|
|
||||||
docker build -t beautiful-jekyll "$PWD"
|
|
||||||
docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker start beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
And you can stop the server with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker stop beautiful-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
Whenever you make any changes to `_config.yml`, you must stop and re-start the server for the new config settings to take effect.
|
|
||||||
|
|
||||||
Disclaimer: I personally am NOT using local development so I don't know much about running Jekyll locally. If you follow this route, please don't ask me questions because unfortunately I honestly won't be able to help!
|
|
||||||
|
|
||||||
## FAQ and support
|
|
||||||
|
|
||||||
If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/).
|
If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/).
|
||||||
|
|
||||||
Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](https://jekyllrb.com/) or with Google.
|
Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](https://jekyllrb.com/) or with Google.
|
||||||
|
|
||||||
#### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...?
|
**If you really wany my personal help, please visit https://xscode.com/daattali/beautiful-jekyll to hire my services.**
|
||||||
|
|
||||||
|
### What if I don't want the website to be `https://<yourusername>.github.io`?
|
||||||
|
|
||||||
|
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`.
|
||||||
|
|
||||||
|
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"!).
|
||||||
|
|
||||||
|
Now your website will be at `https://<yourusername>.github.io\MyAwesomeProject`.
|
||||||
|
|
||||||
|
### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...?
|
||||||
|
|
||||||
Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site.
|
Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site.
|
||||||
|
|
||||||
#### How do I add a favicon to my site?
|
### How do I add a favicon to my site?
|
||||||
|
|
||||||
Easy! Just place a valid `favicon.ico` (or another valid favicon image) in the root directory of your project. And then wait! It can take a while to update.
|
Easy! Just place a valid `favicon.ico` in the root directory of your project. And then wait! It can take a while to update.
|
||||||
|
|
||||||
#### How do I move the blog to another page instead of having it on the home page?
|
### How do I move the blog to another page instead of having it on the home page?
|
||||||
|
|
||||||
The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `<mysite.com>/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "/<page name>/page:num/"` (for example `paginate_path: "/blog/page:num/"`).
|
The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `<mysite.com>/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "/<page name>/page:num/"` (for example `paginate_path: "/blog/page:num/"`).
|
||||||
|
|
||||||
#### What size do you recommend using for the `bigimg` photos?
|
### What size do you recommend using for the `cover-img` photos?
|
||||||
|
|
||||||
Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image.
|
Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image.
|
||||||
|
|
||||||
#### How do I use MathJax equations in my posts?
|
### How do I use MathJax equations in my posts?
|
||||||
|
|
||||||
MathJax can be easily integrated into your website with a one-line addition. You can see [this discussion](https://github.com/daattali/beautiful-jekyll/issues/195) for more information.
|
MathJax can be easily integrated into your website with a one-line addition. You can see [this discussion](https://github.com/daattali/beautiful-jekyll/issues/195) for more information.
|
||||||
|
|
||||||
#### My project page appear to be broken after a recent update!
|
# Contributions
|
||||||
|
|
||||||
In June 2019, some URL related settings have been adjusted to be more in-line with how Jekyll uses them officially. Project Page absolute links might appear to be broken if you haven't propagated all necessary changes to your local templates, or if you have created additional templates making use of old settings. If a link contains a duplicated project path component, this is most likely the cause. In summary:
|
Thank you to [all past contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). If you find any problems or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome!
|
||||||
|
|
||||||
| | Old behavior | New behavior |
|
You can also contribute by becoming an [official sponsor](https://github.com/sponsors/daattali) to help keep beautiful-jekyll well-maintained.
|
||||||
| --- | --- | --- |
|
|
||||||
| `url` setting | `https://user.github.io/projectname` | (unset, GitHub auto detects) |
|
|
||||||
| `baseurl` setting | `/projectname` | (unset, GitHub auto detects) |
|
|
||||||
| Absolute link construction | `{{ site.url }}/your/path` | `{{ '/your/path' \| absolute_url }}` |
|
|
||||||
| Relative link construction | `{{ site.baseurl }}/your/path` | `{{ '/your/path' \| relative_url }}` |
|
|
||||||
|
|
||||||
## Credits
|
# Credits
|
||||||
|
|
||||||
This template was not made entirely from scratch. I would like to give special thanks to:
|
This template was not made *entirely* from scratch. I'd like to give special thanks to [Jekyll Now](https://github.com/barryclark/jekyll-now) and [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from whom I've taken several ideas initially.
|
||||||
- [Barry Clark](https://github.com/barryclark) and his project [Jekyll Now](https://github.com/barryclark/jekyll-now), from whom I've taken several ideas and code snippets, as well as some documenation tips.
|
|
||||||
- [Iron Summit Media](https://github.com/IronSummitMedia) and their project [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from which I've used some design ideas and some of the templating code for posts and pagination.
|
|
||||||
|
|
||||||
I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories.
|
I'd also like to thank [Dr. Jekyll's Themes](https://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories.
|
||||||
|
|
||||||
## Contributions
|
# Known limitations
|
||||||
|
|
||||||
If you find anything wrong or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome!
|
- If there are many navigation bar links and an avatar, some of the links may get partially hidden behind the avatar. I suggest either re-thinking the number of links, or not using an avatar.
|
||||||
|
|
||||||
Thank you to [all contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). Special thanks to [@OCram85](https://github.com/OCram85) and [@abelcheung](https://github.com/abelcheung) for contributing multiple times as well as helping with discussions.
|
|
||||||
|
|
||||||
If you do fork or clone this project to use as a template for your site, I would appreciate if you keep the link in the footer to this project. I've noticed that several people who forked this repo removed the attribution and I would prefer to get the recognition if you do use this :)
|
|
||||||
|
|
||||||
## Known limitations
|
|
||||||
|
|
||||||
- If you have a project page and you want a custom 404 page, you must have a custom domain. See https://help.github.com/articles/custom-404-pages/. This means that if you have a regular User Page you can use the 404 page from this theme, but if it's a website for a specific repository, the 404 page will not be used.
|
|
||||||
|
|
||||||
- If there are many navigation bar links and avatar, some of the links may get partially hidden behind the avatar.
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# --- General options --- #
|
# --- Basic options --- #
|
||||||
|
|
||||||
# url is the full website URL
|
# url is the full website URL
|
||||||
# baseurl is the website's URL without the hostname
|
# baseurl is the website's URL without the hostname
|
||||||
@@ -7,16 +7,17 @@
|
|||||||
url: "https://bryanroessler.com"
|
url: "https://bryanroessler.com"
|
||||||
baseurl: ""
|
baseurl: ""
|
||||||
|
|
||||||
|
|
||||||
# Name of website
|
# Name of website
|
||||||
title: Bryan Roessler
|
title: Bryan Roessler
|
||||||
|
|
||||||
# Short description of your site
|
# Short description of your site
|
||||||
description: Ordo ab chao
|
description: Ordo ab chao
|
||||||
|
|
||||||
# --- Navigation bar options --- #
|
# Your name to show in the footer
|
||||||
|
author: Bryan Roessler
|
||||||
|
|
||||||
|
# --- List of links in the navigation bar --- #
|
||||||
|
|
||||||
# List of links in the navigation bar
|
|
||||||
navbar-links:
|
navbar-links:
|
||||||
Home: "https://bryanroessler.com"
|
Home: "https://bryanroessler.com"
|
||||||
Blog: "https://blog.bryanroessler.com"
|
Blog: "https://blog.bryanroessler.com"
|
||||||
@@ -26,52 +27,32 @@ navbar-links:
|
|||||||
- Syncthing: "https://syncthing.bryanroessler.com"
|
- Syncthing: "https://syncthing.bryanroessler.com"
|
||||||
- Panel: "https://panel.bryanroessler.com"
|
- Panel: "https://panel.bryanroessler.com"
|
||||||
|
|
||||||
# Image to show in the navigation bar - image must be a square (width = height)
|
# --- Logo --- #
|
||||||
|
|
||||||
|
# Image to show in the navigation bar - works best with a square image
|
||||||
# Remove this parameter if you don't want an image in the navbar
|
# Remove this parameter if you don't want an image in the navbar
|
||||||
avatar: "/img/me_square_sepia_small.jpg"
|
avatar: "/assets/img/me_square_sepia_small.jpg"
|
||||||
|
|
||||||
|
# By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
|
||||||
|
round-avatar: true
|
||||||
|
|
||||||
# If you want to have an image logo in the top-left corner instead of the title text,
|
# If you want to have an image logo in the top-left corner instead of the title text,
|
||||||
# then specify the following parameter
|
# then specify the following parameter
|
||||||
#title-img: "./img/me_square_sepia_small.jpg"
|
#title-img: "./img/me_square_sepia_small.jpg"
|
||||||
|
|
||||||
# --- Background colour/image options --- #
|
|
||||||
|
|
||||||
# Personalize the colors in your website. Colour values can be any valid CSS colour
|
|
||||||
|
|
||||||
navbar-col: "#F5F5F5"
|
|
||||||
navbar-text-col: "#404040"
|
|
||||||
navbar-children-col: "#F5F5F5"
|
|
||||||
page-col: "#FFFFFF"
|
|
||||||
link-col: "#008AFF"
|
|
||||||
hover-col: "#0085A1"
|
|
||||||
footer-col: "#F5F5F5"
|
|
||||||
footer-text-col: "#777777"
|
|
||||||
footer-link-col: "#404040"
|
|
||||||
|
|
||||||
# Alternatively, the navbar, footer, and page background can be set to use background images
|
|
||||||
# instead of colour
|
|
||||||
|
|
||||||
# navbar-img: "/img/bgimage.png"
|
|
||||||
# footer-img: "/img/bgimage.png"
|
|
||||||
# page-img: "/img/bgimage.png"
|
|
||||||
|
|
||||||
# --- Footer options --- #
|
# --- Footer options --- #
|
||||||
|
|
||||||
# Change all these values or delete the ones you don't want.
|
# Select the social network links that you want to show in the footer.
|
||||||
# Important: you must keep the "name" parameter, everything else you can remove
|
# Uncomment the links you want to show and add your information to each one.
|
||||||
author:
|
# If you don't want to show a link to an RSS feed, set rss to "false".
|
||||||
name: Bryan Roessler
|
|
||||||
|
|
||||||
# Select your active Social Network Links.
|
|
||||||
# Uncomment the links you want to show in the footer and add your information to each link.
|
|
||||||
# You can reorder the items to define the link order.
|
|
||||||
# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml
|
# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml
|
||||||
social-network-links:
|
social-network-links:
|
||||||
rss: true
|
|
||||||
email: "bryanroessler@gmail.com"
|
email: "bryanroessler@gmail.com"
|
||||||
# facebook: daattali
|
# facebook: daattali
|
||||||
github: "https://git.bryanroessler.com"
|
github: "https://git.bryanroessler.com"
|
||||||
# twitter: daattali
|
# twitter: daattali
|
||||||
|
rss: true
|
||||||
# reddit: yourname
|
# reddit: yourname
|
||||||
# google-plus: +DeanAttali
|
# google-plus: +DeanAttali
|
||||||
linkedin: bryan-roessler-phd-47535a60
|
linkedin: bryan-roessler-phd-47535a60
|
||||||
@@ -85,17 +66,51 @@ social-network-links:
|
|||||||
# steam: deanat78
|
# steam: deanat78
|
||||||
# twitch: yourname
|
# twitch: yourname
|
||||||
# yelp: yourname
|
# yelp: yourname
|
||||||
|
# telegram: yourname
|
||||||
|
# calendly: yourname
|
||||||
|
# mastodon: instance.url/@username
|
||||||
|
# ORCID: your ORCID ID
|
||||||
|
# google-scholar: your google scholar
|
||||||
|
|
||||||
# Select which share links to show in posts
|
# --- General options --- #
|
||||||
|
|
||||||
|
# Select which social network share links to show in posts
|
||||||
share-links-active:
|
share-links-active:
|
||||||
twitter: false
|
twitter: false
|
||||||
facebook: false
|
facebook: false
|
||||||
google: false
|
|
||||||
linkedin: false
|
linkedin: false
|
||||||
|
vk: false
|
||||||
|
|
||||||
# How to display the link to the website in the footer
|
# How to display the link to your website in the footer
|
||||||
# Remove this if you don't want a link in the footer
|
# Remove this if you don't want a link in the footer
|
||||||
url-pretty: "bryanroessler.com" # eg. "deanattali.com/beautiful-jekyll"
|
url-pretty: "bryanroessler.com"
|
||||||
|
|
||||||
|
# Create a "tags" index page and make tags on each post clickable
|
||||||
|
link-tags: true
|
||||||
|
|
||||||
|
# Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page
|
||||||
|
excerpt_length: 50
|
||||||
|
|
||||||
|
# --- Colours / background image --- #
|
||||||
|
|
||||||
|
# Personalize the colors in your website. Colour values can be any valid CSS colour
|
||||||
|
|
||||||
|
navbar-col: "#F5F5F5"
|
||||||
|
navbar-text-col: "#404040"
|
||||||
|
navbar-border-col: "#EAEAEA"
|
||||||
|
page-col: "#FFFFFF"
|
||||||
|
link-col: "#008AFF"
|
||||||
|
hover-col: "#0085A1"
|
||||||
|
footer-col: "#F5F5F5"
|
||||||
|
footer-text-col: "#777777"
|
||||||
|
footer-link-col: "#404040"
|
||||||
|
|
||||||
|
# Alternatively, the navbar, footer, and page background can be set to use background images
|
||||||
|
# instead of colour
|
||||||
|
|
||||||
|
#navbar-img: "/assets/img/bgimage.png"
|
||||||
|
#footer-img: "/assets/img/bgimage.png"
|
||||||
|
#page-img: "/assets/img/bgimage.png"
|
||||||
|
|
||||||
# --- Web Statistics Section --- #
|
# --- Web Statistics Section --- #
|
||||||
|
|
||||||
@@ -108,7 +123,6 @@ url-pretty: "bryanroessler.com" # eg. "deanattali.com/beautiful-jekyll"
|
|||||||
# Matomo (aka Piwik) Web statistics
|
# Matomo (aka Piwik) Web statistics
|
||||||
# Uncomment the following section to enable Matomo. The opt-out parameter controls
|
# Uncomment the following section to enable Matomo. The opt-out parameter controls
|
||||||
# whether or not you want to allow users to opt out of tracking.
|
# whether or not you want to allow users to opt out of tracking.
|
||||||
|
|
||||||
#matomo:
|
#matomo:
|
||||||
# site_id: "9"
|
# site_id: "9"
|
||||||
# uri: "demo.wiki.pro"
|
# uri: "demo.wiki.pro"
|
||||||
@@ -116,43 +130,50 @@ url-pretty: "bryanroessler.com" # eg. "deanattali.com/beautiful-jekyll"
|
|||||||
|
|
||||||
# --- Comments --- #
|
# --- Comments --- #
|
||||||
|
|
||||||
# Fill in your Disqus shortname (NOT the userid) if you want to support Disqus comments
|
# To use Disqus comments, sign up to https://disqus.com and fill in your Disqus shortname (NOT the userid)
|
||||||
# disqus: ""
|
#disqus: ""
|
||||||
|
|
||||||
# If you want to use JustComments fill with the API Key
|
# To use Facebook Comments, create a Facebook app and fill in the Facebook App ID
|
||||||
#just-comments: "ABCD-EFGH-IJKL"
|
#fb_comment_id: ""
|
||||||
|
|
||||||
# To use Facebook Comments, fill in a Facebook App ID
|
# To use Utterances comments: (0) uncomment the following section, (1) fill in
|
||||||
# fb_comment_id: ""
|
# "repository" (make sure the repository is public), (2) Enable Issues in your repository,
|
||||||
|
# (3) Install the Utterances app in your repository https://github.com/apps/utterances
|
||||||
|
# See more details about the parameters below at https://utteranc.es/
|
||||||
|
#utterances:
|
||||||
|
# repository: # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
||||||
|
# issue-term: title # Mapping between blog posts and GitHub issues
|
||||||
|
# theme: github-light # Utterances theme
|
||||||
|
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
|
||||||
|
|
||||||
# To use Staticman comments, fill in repository, branch, and endpoint
|
# To use Staticman comments, first invite `staticmanlab` as a collaborator to your repository and
|
||||||
staticman:
|
# accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`.
|
||||||
repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
# Then uncomment the following section and fill in "repository" and "branch".
|
||||||
branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
|
# If you want to use reCaptcha for staticman (optional for spam protection), then fill
|
||||||
endpoint : # URL of your own deployment, with a trailing slash (will fallback to a public GitLab instance) eg. https://<your-api>/v3/entry/github/
|
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`.
|
||||||
reCaptcha:
|
# See more details at https://staticman.net/
|
||||||
# reCaptcha for Staticman (OPTIONAL, but recommended for spam protection)
|
#staticman:
|
||||||
# If you use reCaptcha, you must also set these parameters in staticman.yml
|
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
|
||||||
siteKey : # Use your own site key, you need to apply for one on Google
|
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
|
||||||
secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
|
# 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)
|
||||||
|
# reCaptcha:
|
||||||
|
# siteKey : # Use your own site key, you need to apply for one on Google
|
||||||
|
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
|
||||||
|
|
||||||
# --- Misc --- #
|
# --- Misc --- #
|
||||||
|
|
||||||
# Facebook App ID
|
|
||||||
# fb_app_id: ""
|
|
||||||
|
|
||||||
# Excerpt Word Length
|
|
||||||
# Truncates the excerpt to the specified number of words on the index page
|
|
||||||
excerpt_length: 50
|
|
||||||
|
|
||||||
# Character used to separate site title and description in HTML document title
|
# Character used to separate site title and description in HTML document title
|
||||||
# and RSS feed title
|
# and RSS feed title
|
||||||
title-separator: "-"
|
title-separator: "-"
|
||||||
|
|
||||||
# Ruby Date Format
|
# Ruby Date Format to show dates of posts
|
||||||
date_format: "%B %-d, %Y"
|
date_format: "%B %-d, %Y"
|
||||||
|
|
||||||
# --- Don't need to touch anything below here (but you can if you want) --- #
|
# Facebook App ID
|
||||||
|
#fb_app_id: ""
|
||||||
|
|
||||||
|
|
||||||
|
# --- You don't need to touch anything below here (but you can if you want) --- #
|
||||||
|
|
||||||
# Output options (more information on Jekyll's site)
|
# Output options (more information on Jekyll's site)
|
||||||
timezone: "America/New_York"
|
timezone: "America/New_York"
|
||||||
@@ -174,6 +195,7 @@ defaults:
|
|||||||
layout: "post"
|
layout: "post"
|
||||||
comments: true # add comments to all blog posts
|
comments: true # add comments to all blog posts
|
||||||
social-share: true # add social media sharing buttons to all blog posts
|
social-share: true # add social media sharing buttons to all blog posts
|
||||||
|
readtime: false # add estimated reading time on all blog posts
|
||||||
-
|
-
|
||||||
scope:
|
scope:
|
||||||
path: "" # all files
|
path: "" # all files
|
||||||
@@ -181,9 +203,6 @@ defaults:
|
|||||||
layout: "page"
|
layout: "page"
|
||||||
show-avatar: true
|
show-avatar: true
|
||||||
|
|
||||||
# Use tags index page and make tags on each post clickable
|
|
||||||
link-tags: true
|
|
||||||
|
|
||||||
# Exclude these files from production site
|
# Exclude these files from production site
|
||||||
exclude:
|
exclude:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
@@ -199,9 +218,9 @@ exclude:
|
|||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
- Vagrantfile
|
- Vagrantfile
|
||||||
|
- LICENSE
|
||||||
|
- screenshot.png
|
||||||
|
- docs/
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-paginate
|
- jekyll-paginate
|
||||||
|
|||||||
@@ -1,92 +0,0 @@
|
|||||||
# You can define your custom social network links here.
|
|
||||||
# Use the same key you added in _config.yml -> social-network-links.
|
|
||||||
# In addition to that you need to specify the following properties:
|
|
||||||
# name: Specify a user-friendly name that will be used as a link title
|
|
||||||
# baseURL: Define a base URL which will be combined with the value of
|
|
||||||
# site.social-network-links.<key>
|
|
||||||
# icon: Specify a valid fontawesome icon class
|
|
||||||
|
|
||||||
facebook:
|
|
||||||
name: "Facebook"
|
|
||||||
baseURL: "https://www.facebook.com/"
|
|
||||||
icon: "fa-facebook"
|
|
||||||
|
|
||||||
github:
|
|
||||||
name: "GitHub"
|
|
||||||
baseURL: "https://github.com/"
|
|
||||||
icon: "fa-github"
|
|
||||||
|
|
||||||
twitter:
|
|
||||||
name: "Twitter"
|
|
||||||
baseURL: "https://twitter.com/"
|
|
||||||
icon: "fa-twitter"
|
|
||||||
|
|
||||||
reddit:
|
|
||||||
name: "Reddit"
|
|
||||||
baseURL: "https://reddit.com/u/"
|
|
||||||
icon: "fa-reddit"
|
|
||||||
|
|
||||||
email:
|
|
||||||
name: "Email me"
|
|
||||||
baseURL: "mailto:"
|
|
||||||
icon: "fa-envelope"
|
|
||||||
|
|
||||||
linkedin:
|
|
||||||
name: "LinkedIn"
|
|
||||||
baseURL: "https://linkedin.com/in/"
|
|
||||||
icon: "fa-linkedin"
|
|
||||||
|
|
||||||
xing:
|
|
||||||
name: "Xing"
|
|
||||||
baseURL: "https://www.xing.com/profile/"
|
|
||||||
icon: "fa-xing"
|
|
||||||
|
|
||||||
stackoverflow:
|
|
||||||
name: "StackOverflow"
|
|
||||||
baseURL: "https://stackoverflow.com/users/"
|
|
||||||
icon: "fa-stack-overflow"
|
|
||||||
|
|
||||||
snapchat:
|
|
||||||
name: "Snapchat"
|
|
||||||
baseURL: "https://www.snapchat.com/add/"
|
|
||||||
icon: "fa-snapchat-ghost"
|
|
||||||
|
|
||||||
instagram:
|
|
||||||
name: "Instagram"
|
|
||||||
baseURL: "https://www.instagram.com/"
|
|
||||||
icon: "fa-instagram"
|
|
||||||
|
|
||||||
youtube:
|
|
||||||
name: "YouTube"
|
|
||||||
baseURL: "https://www.youtube.com/"
|
|
||||||
icon: "fa-youtube"
|
|
||||||
|
|
||||||
spotify:
|
|
||||||
name: "Spotify"
|
|
||||||
baseURL: "https://open.spotify.com/user/"
|
|
||||||
icon: "fa-spotify"
|
|
||||||
|
|
||||||
telephone:
|
|
||||||
name: "Phone"
|
|
||||||
baseURL: "tel:"
|
|
||||||
icon: "fa-phone"
|
|
||||||
|
|
||||||
rss:
|
|
||||||
name: "RSS"
|
|
||||||
baseURL: "{{ '/feed.xml' | relative_url }}"
|
|
||||||
icon: "fa-rss"
|
|
||||||
|
|
||||||
steam:
|
|
||||||
name: "Steam"
|
|
||||||
baseURL: "https://steamcommunity.com/id/"
|
|
||||||
icon: "fa-steam"
|
|
||||||
|
|
||||||
twitch:
|
|
||||||
name: "Twitch"
|
|
||||||
baseURL: "https://www.twitch.tv/"
|
|
||||||
icon: "fa-twitch"
|
|
||||||
|
|
||||||
yelp:
|
|
||||||
name: "Yelp"
|
|
||||||
baseURL: "https://{{ site.author.yelp }}.yelp.com"
|
|
||||||
icon: "fa-yelp"
|
|
||||||
6
landing.bryanroessler.com/_includes/comments.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{% if page.comments %}
|
||||||
|
{% include disqus.html %}
|
||||||
|
{% include fb-comment.html %}
|
||||||
|
{% include staticman-comments.html %}
|
||||||
|
{% include utterances-comment.html %}
|
||||||
|
{% endif %}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{%- if site.disqus -%}
|
{%- if site.disqus -%}
|
||||||
<div class="comments">
|
<div class="disqus-comments">
|
||||||
|
<div class="comments">
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var disqus_shortname = '{{ site.disqus }}';
|
var disqus_shortname = '{{ site.disqus }}';
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% if include.css.sri %}
|
{% if include.css.sri %}
|
||||||
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
||||||
{% elsif include.css.href %}
|
{% elsif include.css.href %}
|
||||||
<link rel="stylesheet" href="{{ include.css.href }}" />
|
<link rel="stylesheet" href="{{ include.css.href }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<link rel="stylesheet" href="{{ include.css }}" />
|
<link rel="stylesheet" href="{{ include.css }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
{%- if site.fb_comment_id -%}
|
{%- if site.fb_comment_id -%}
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
<div id="fb-root"></div>
|
<div id="fb-root"></div>
|
||||||
<script>(function(d, s, id) {
|
<script>
|
||||||
|
(function(d, s, id) {
|
||||||
var js, fjs = d.getElementsByTagName(s)[0];
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
if (d.getElementById(id)) return;
|
if (d.getElementById(id)) return;
|
||||||
js = d.createElement(s); js.id = id;
|
js = d.createElement(s); js.id = id;
|
||||||
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
|
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
|
||||||
fjs.parentNode.insertBefore(js, fjs);
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
}(document, 'script', 'facebook-jssdk'));</script>
|
}(document, 'script', 'facebook-jssdk'));
|
||||||
|
</script>
|
||||||
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
|
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
|
||||||
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
|
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
<footer class="footer-min">
|
<footer class="footer-min">
|
||||||
<div class="text-muted">
|
<div class="text-muted">
|
||||||
{{ site.author.name }}
|
{% if site.author %}
|
||||||
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
|
{% endif %}
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
{{ page.date }}
|
{{ page.date }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -1,31 +1,18 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<div class="container beautiful-jekyll-footer">
|
<div class="container-md beautiful-jekyll-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<ul class="list-inline text-center footer-links">
|
{% include social-networks-links.html %}
|
||||||
{%- for link in site.social-network-links -%}
|
{% if page.footer-extra %}
|
||||||
{%- assign curkey = link[0] -%}
|
<div class="footer-custom-content">
|
||||||
{%- assign element = site.data.SocialNetworks[curkey] -%}
|
{% include {{ page.footer-extra }} %}
|
||||||
<li>
|
</div>
|
||||||
{%- if curkey == 'rss' -%}
|
{% endif %}
|
||||||
<a href="{{ '/feed.xml' | relative_url }}" title="{{ element.name }}">
|
|
||||||
{%- elsif curkey == 'yelp' -%}
|
|
||||||
<a href="https://{{ site.social-network-links[curkey] }}.yelp.com" title="{{ element.name }}">
|
|
||||||
{%- else -%}
|
|
||||||
<a href="{{element.baseURL}}{{ site.social-network-links[curkey] }}" title="{{ element.name }}">
|
|
||||||
{%- endif -%}
|
|
||||||
<span class="fa-stack fa-lg" aria-hidden="true">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa {{ element.icon }} fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
<span class="sr-only">{{ element.name }}</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{%- endfor -%}
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">
|
<p class="copyright text-muted">
|
||||||
{{ site.author.name }}
|
{% if site.author %}
|
||||||
|
{{ site.author }}
|
||||||
•
|
•
|
||||||
|
{% endif %}
|
||||||
{{ site.time | date: '%Y' }}
|
{{ site.time | date: '%Y' }}
|
||||||
|
|
||||||
{% if site.url-pretty %}
|
{% if site.url-pretty %}
|
||||||
@@ -43,7 +30,7 @@
|
|||||||
<!-- Please don't remove this, keep my open source work credited :) -->
|
<!-- Please don't remove this, keep my open source work credited :) -->
|
||||||
<p class="theme-by text-muted">
|
<p class="theme-by text-muted">
|
||||||
Theme by
|
Theme by
|
||||||
<a href="https://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
|
<a href="https://beautifuljekyll.com">beautiful-jekyll</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
{% if site.gtag %}
|
{% if site.gtag %}
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', '{{ site.gtag }}');
|
gtag('config', '{{ site.gtag }}');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{% if site.gtm %}
|
{% if site.gtm %}
|
||||||
<!-- Google Tag Manager (noscript) -->
|
<!-- Google Tag Manager (noscript) -->
|
||||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
||||||
<!-- End Google Tag Manager (noscript) -->
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
{% if site.gtm %}
|
{% if site.gtm %}
|
||||||
<!-- Google Tag Manager -->
|
<!-- Google Tag Manager -->
|
||||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
<script>
|
||||||
|
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
|
})(window,document,'script','dataLayer','{{ site.gtm }}');
|
||||||
|
</script>
|
||||||
<!-- End Google Tag Manager -->
|
<!-- End Google Tag Manager -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
|
|
||||||
|
|
||||||
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||||
|
|
||||||
<meta name="author" content="{{ site.author.name }}" />
|
{% if site.author %}
|
||||||
|
<meta name="author" content="{{ site.author }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
<meta name="description" content="{{ page.subtitle }}">
|
<meta name="description" content="{{ page.subtitle }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} {{ site.title-separator }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}" />
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}">
|
||||||
|
|
||||||
{% include gtag.html %}
|
{% include gtag.html %}
|
||||||
{% include gtm_head.html %}
|
{% include gtm_head.html %}
|
||||||
@@ -25,13 +26,7 @@
|
|||||||
|
|
||||||
{% if layout.common-css %}
|
{% if layout.common-css %}
|
||||||
{% for css in layout.common-css %}
|
{% for css in layout.common-css %}
|
||||||
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if layout.common-googlefonts %}
|
|
||||||
{% for font in layout.common-googlefonts %}
|
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -43,27 +38,21 @@
|
|||||||
|
|
||||||
{% if page.css %}
|
{% if page.css %}
|
||||||
{% for css in page.css %}
|
{% for css in page.css %}
|
||||||
<link rel="stylesheet" href="{{ css | relative_url }}" />
|
<link rel="stylesheet" href="{{ css | relative_url }}">
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.googlefonts %}
|
|
||||||
{% for font in page.googlefonts %}
|
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Facebook OpenGraph tags -->
|
<!-- Facebook OpenGraph tags -->
|
||||||
{% if site.fb_app_id %}
|
{% if site.fb_app_id %}
|
||||||
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
|
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-title %}
|
{% if page.meta-title %}
|
||||||
<meta property="og:title" content="{{ page.meta-title }}" />
|
<meta property="og:title" content="{{ page.meta-title }}">
|
||||||
{% elsif page.title %}
|
{% elsif page.title %}
|
||||||
<meta property="og:title" content="{{ page.title }}" />
|
<meta property="og:title" content="{{ page.title }}">
|
||||||
{% else %}
|
{% elsif site.title %}
|
||||||
<meta property="og:title" content="{{ site.title }}" />
|
<meta property="og:title" content="{{ site.title }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-description %}
|
{% if page.meta-description %}
|
||||||
@@ -75,34 +64,59 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
|
|
||||||
{% if page.id %}
|
{% if page.id %}
|
||||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
<meta property="og:type" content="article">
|
||||||
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
<meta property="og:article:author" content="{{ site.author }}">
|
||||||
|
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}" />
|
<meta property="og:type" content="website">
|
||||||
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.id %}
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
||||||
|
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
||||||
|
{% else %}
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
|
||||||
|
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{%- capture shareimg -%}
|
||||||
{% if page.share-img %}
|
{% if page.share-img %}
|
||||||
<meta property="og:image" content="{{ page.share-img }}" />
|
{{ page.share-img }}
|
||||||
|
{% elsif page.cover-img %}
|
||||||
|
{% if page.cover-img.first %}
|
||||||
|
{{ page.cover-img[0].first.first }}
|
||||||
|
{% else %}
|
||||||
|
{{ page.cover-img }}
|
||||||
|
{% endif %}
|
||||||
|
{% elsif page.thumbnail-img %}
|
||||||
|
{{ page.thumbnail-img }}
|
||||||
{% elsif site.avatar %}
|
{% elsif site.avatar %}
|
||||||
<meta property="og:image" content="{{ site.avatar | absolute_url }}" />
|
{{ site.avatar }}
|
||||||
|
{% endif %}
|
||||||
|
{% endcapture %}
|
||||||
|
{% assign shareimg=shareimg | strip %}
|
||||||
|
|
||||||
|
{% if shareimg != "" %}
|
||||||
|
<meta property="og:image" content="{{ shareimg | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<!-- Twitter summary cards -->
|
<!-- Twitter summary cards -->
|
||||||
<meta name="twitter:card" content="summary" />
|
{% if shareimg != "" and shareimg != site.avatar %}
|
||||||
<meta name="twitter:site" content="@{{ site.author.twitter }}" />
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:creator" content="@{{ site.author.twitter }}" />
|
{% else %}
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
{% endif %}
|
||||||
|
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
|
||||||
|
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
|
||||||
|
|
||||||
{% if page.meta-title %}
|
{% if page.meta-title %}
|
||||||
<meta name="twitter:title" content="{{ page.meta-title }}" />
|
<meta name="twitter:title" content="{{ page.meta-title }}">
|
||||||
{% elsif page.title %}
|
{% elsif page.title %}
|
||||||
<meta name="twitter:title" content="{{ page.title }}" />
|
<meta name="twitter:title" content="{{ page.title }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:title" content="{{ site.title }}" />
|
<meta name="twitter:title" content="{{ site.title }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.meta-description %}
|
{% if page.meta-description %}
|
||||||
@@ -113,10 +127,8 @@
|
|||||||
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.share-img %}
|
{% if shareimg != "" %}
|
||||||
<meta name="twitter:image" content="{{ page.share-img }}" />
|
<meta name="twitter:image" content="{{ shareimg | absolute_url }}">
|
||||||
{% elsif site.avatar %}
|
|
||||||
<meta name="twitter:image" content="{{ site.avatar | absolute_url }}" />
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.matomo %}
|
{% if site.matomo %}
|
||||||
@@ -125,7 +137,7 @@
|
|||||||
|
|
||||||
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
||||||
<!-- Staticman -->
|
<!-- Staticman -->
|
||||||
<link rel="stylesheet" href="{{ "/css/staticman.css" | relative_url }}" />
|
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,29 +1,31 @@
|
|||||||
<!-- TODO this file has become a mess, refactor it -->
|
<!-- TODO this file has become a mess, refactor it -->
|
||||||
|
|
||||||
{% if page.bigimg or page.title %}
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
|
||||||
{% if page.bigimg %}
|
{% if page.cover-img or page.title %}
|
||||||
<div id="header-big-imgs" data-num-img={% if page.bigimg.first %}{{ page.bigimg.size }}{% else %}1{% endif %}
|
|
||||||
{% for bigimg in page.bigimg %}
|
{% if page.cover-img %}
|
||||||
|
<div id="header-big-imgs" data-num-img={% if page.cover-img.first %}{{ page.cover-img.size }}{% else %}1{% endif %}
|
||||||
|
{% for bigimg in page.cover-img %}
|
||||||
{% assign imgnum = forloop.index %}
|
{% assign imgnum = forloop.index %}
|
||||||
{% for imginfo in bigimg %}
|
{% for imginfo in bigimg %}
|
||||||
{% if imginfo[0] %}
|
{% if imginfo[0] %}
|
||||||
data-img-src-{{ imgnum }}="{{ imginfo[0] | relative_url }}"
|
data-img-src-{{ imgnum }}="{{ imginfo[0] | absolute_url }}"
|
||||||
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
data-img-src-{{ imgnum }}="{{ imginfo | relative_url }}"
|
data-img-src-{{ imgnum }}="{{ imginfo | absolute_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
></div>
|
></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<header class="header-section {% if page.bigimg %}has-img{% endif %}">
|
<header class="header-section {% if page.cover-img %}has-img{% endif %}">
|
||||||
{% if page.bigimg %}
|
{% if page.cover-img %}
|
||||||
<div class="big-img intro-header">
|
<div class="big-img intro-header">
|
||||||
<div class="container">
|
<div class="container-md">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<div class="{{ include.type }}-heading">
|
<div class="{{ include.type }}-heading">
|
||||||
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
@@ -36,7 +38,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.type == "post" %}
|
{% if include.type == "post" %}
|
||||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||||
|
{% if page.readtime %}
|
||||||
|
{% include readtime.html %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -46,9 +51,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="intro-header no-img">
|
<div class="intro-header no-img">
|
||||||
<div class="container">
|
<div class="container-md">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
||||||
<div class="{{ include.type }}-heading">
|
<div class="{{ include.type }}-heading">
|
||||||
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
<h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
|
||||||
{% if page.subtitle %}
|
{% if page.subtitle %}
|
||||||
@@ -61,7 +66,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.type == "post" %}
|
{% if include.type == "post" %}
|
||||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
<span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
|
||||||
|
{% if page.readtime %}
|
||||||
|
{% include readtime.html %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
{%- if site.just-comments -%}
|
|
||||||
<div class="just-comments" data-apikey="{{site.just-comments}}"></div>
|
|
||||||
<script async src="https://just-comments.com/w2.js"></script>
|
|
||||||
{%- endif -%}
|
|
||||||
@@ -1,57 +1,46 @@
|
|||||||
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
|
<nav class="navbar navbar-expand-md navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% endif %}">
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
|
|
||||||
<span class="sr-only">Toggle navigation</span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
{%- if site.title-img -%}
|
{%- if site.title-img -%}
|
||||||
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img src="{{ site.title-img }}"/></a>
|
<a class="navbar-brand navbar-brand-logo" href="{{ '' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img }}"/></a>
|
||||||
{%- else -%}
|
{%- elsif site.title -%}
|
||||||
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
<a class="navbar-brand" href="{{ '' | absolute_url }}">{{ site.title }}</a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</div>
|
|
||||||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="main-navbar">
|
<div class="collapse navbar-collapse" id="main-navbar">
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="navbar-nav ml-auto">
|
||||||
{%- for link in site.navbar-links -%}
|
{%- for link in site.navbar-links -%}
|
||||||
{%- if link[1].first %}
|
{%- if link[1].first %}
|
||||||
<li class="navlinks-container">
|
<li class="nav-item dropdown">
|
||||||
<a class="navlinks-parent" href="javascript:void(0)">{{ link[0] }}</a>
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ link[0] }}</a>
|
||||||
<div class="navlinks-children">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||||
{%- for childlink in link[1] -%}
|
{%- for childlink in link[1] -%}
|
||||||
{%- for linkparts in childlink %}
|
{%- for linkparts in childlink %}
|
||||||
<a href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a>
|
<a class="dropdown-item" href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ link[1] | relative_url }}">{{ link[0] }}</a></li>
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ link[1] | relative_url }}">{{ link[0] }}</a>
|
||||||
|
</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if page.image and (layout.show-avatar or page.show-avatar) %}
|
{% if site.avatar and (layout.show-avatar or page.show-avatar) %}
|
||||||
<div class="avatar-container">
|
<div class="avatar-container">
|
||||||
<div class="avatar-img-border">
|
<div class="avatar-img-border">
|
||||||
<a href="{{ '' | absolute_url }}">
|
<a href="{{ '' | absolute_url }}">
|
||||||
<img class="avatar-img" src="{{ page.image | relative_url }}" />
|
<img alt="Navbar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% elsif site.avatar and (layout.show-avatar or page.show-avatar) %}
|
|
||||||
<div class="avatar-container">
|
|
||||||
<div class="avatar-img-border">
|
|
||||||
<a href="{{ '' | absolute_url }}">
|
|
||||||
<img class="avatar-img" src="{{ site.avatar | relative_url }}" />
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
16
landing.bryanroessler.com/_includes/readtime.html
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<!--- "ReadTime on GitHub Jekyll" (c) 2020 Ruby Griffith Ramirez, MIT License -->
|
||||||
|
|
||||||
|
{% assign ReadTime = page.content | strip_html | number_of_words %}
|
||||||
|
{% assign calcReadTime = ReadTime | float %}
|
||||||
|
{% assign finalReadTime = calcReadTime | divided_by:200 | round: 2 %}
|
||||||
|
{% assign number = finalReadTime | round %}
|
||||||
|
{% if number >= 1 %}
|
||||||
|
{% assign yesReadTime = number | append: " minute read" %}
|
||||||
|
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">·</span> {{ yesReadTime }}</span>
|
||||||
|
{% elsif number < 1 %}
|
||||||
|
{% assign minReadTime = '< 1 minute read' %}
|
||||||
|
<span class="reader-time post-meta"><span class="d-none d-md-inline middot">·</span> {{ minReadTime }}</span>
|
||||||
|
{% else %}
|
||||||
|
{% assign nilReadTime = number | replace:'0',' ' %}
|
||||||
|
{{ nilReadTime }}
|
||||||
|
{% endif %}
|
||||||
267
landing.bryanroessler.com/_includes/social-networks-links.html
Normal file
@@ -0,0 +1,267 @@
|
|||||||
|
<ul class="list-inline text-center footer-links">
|
||||||
|
|
||||||
|
{%- if site.social-network-links.rss -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="{{ '/feed.xml' | relative_url }}" title="RSS">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-rss fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">RSS</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.email -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="mailto:{{ site.social-network-links.email }}" title="Email me">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Email me</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.calendly -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://calendly.com/{{ site.social-network-links.calendly }}" title="Schedule a meeting with me">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-calendar-check fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Schedule a meeting with me</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.facebook -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.facebook.com/{{ site.social-network-links.facebook }}" title="Facebook">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Facebook</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.telegram -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://t.me/{{ site.social-network-links.telegram }}" title="Telegram">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-telegram-plane fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Telegram</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.github -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://github.com/{{ site.social-network-links.github }}" title="GitHub">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">GitHub</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.twitter -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://twitter.com/{{ site.social-network-links.twitter }}" title="Twitter">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Twitter</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.reddit -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://reddit.com/u/{{ site.social-network-links.reddit }}" title="Reddit">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-reddit fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Reddit</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.linkedin -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://linkedin.com/in/{{ site.social-network-links.linkedin }}" title="LinkedIn">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-linkedin fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">LinkedIn</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.xing -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.xing.com/profile/{{ site.social-network-links.xing }}" title="Xing">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-xing fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Xing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.stackoverflow -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://stackoverflow.com/users/{{ site.social-network-links.stackoverflow }}" title="StackOverflow">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-stack-overflow fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">StackOverflow</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.snapchat -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.snapchat.com/add/{{ site.social-network-links.snapchat }}" title="Snapchat">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-snapchat-ghost fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Snapchat</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.instagram -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.instagram.com/{{ site.social-network-links.instagram }}" title="Instagram">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-instagram fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Instagram</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.youtube -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.youtube.com/{{ site.social-network-links.youtube }}" title="YouTube">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-youtube fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">YouTube</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.spotify -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://open.spotify.com/user/{{ site.social-network-links.spotify }}" title="Spotify">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-spotify fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Spotify</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.telephone -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="tel:{{ site.social-network-links.telephone }}" title="Phone">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fas fa-phone fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Phone</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.steam -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://steamcommunity.com/id/{{ site.social-network-links.steam }}" title="Steam">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-steam fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Steam</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.twitch -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://www.twitch.tv/{{ site.social-network-links.twitch }}" title="Twitch">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-twitch fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Twitch</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.yelp -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://{{ site.social-network-links.yelp }}.yelp.com" title="Yelp">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-yelp fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Yelp</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.mastodon -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://{{ site.social-network-links.mastodon }}" title="Mastodon">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-mastodon fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Mastodon</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.ORCID -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://orcid.org/{{ site.social-network-links.ORCID }}" title="ORCID">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">ORCID</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if site.social-network-links.google-scholar -%}
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="https://scholar.google.com/{{ site.social-network-links.google-scholar }}" title="Google Scholar">
|
||||||
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
||||||
|
<i class="fas fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
<span class="sr-only">Google Scholar</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
</ul>
|
||||||
@@ -11,32 +11,37 @@
|
|||||||
<span class="sr-only">Share: </span>
|
<span class="sr-only">Share: </span>
|
||||||
|
|
||||||
{% if site.share-links-active.twitter %}
|
{% if site.share-links-active.twitter %}
|
||||||
<!--- Share on Twitter -->
|
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
<a href="https://twitter.com/intent/tweet?text={{ page.title | url_encode }}&url={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
class="btn btn-social-icon btn-twitter" title="Share on Twitter">
|
||||||
<span class="fa fa-fw fa-twitter" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-twitter" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Twitter</span>
|
<span class="sr-only">Twitter</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.share-links-active.facebook %}
|
{% if site.share-links-active.facebook %}
|
||||||
<!--- Share on Facebook -->
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
class="btn btn-social-icon btn-facebook" title="Share on Facebook">
|
||||||
<span class="fa fa-fw fa-facebook" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-facebook" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Facebook</span>
|
<span class="sr-only">Facebook</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.share-links-active.linkedin %}
|
{% if site.share-links-active.linkedin %}
|
||||||
<!--- Share on LinkedIn -->
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}"
|
||||||
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
class="btn btn-social-icon btn-linkedin" title="Share on LinkedIn">
|
||||||
<span class="fa fa-fw fa-linkedin" aria-hidden="true"></span>
|
<span class="fab fa-fw fa-linkedin" aria-hidden="true"></span>
|
||||||
<span class="sr-only">LinkedIn</span>
|
<span class="sr-only">LinkedIn</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if site.share-links-active.vk %}
|
||||||
|
<a href="https://vk.com/share.php?url={{ page.url | absolute_url | url_encode }}"
|
||||||
|
class="btn btn-social-icon btn-vk" title="Share on VK">
|
||||||
|
<span class="fab fa-fw fa-vk" aria-hidden="true"></span>
|
||||||
|
<span class="sr-only">VK</span>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{% if site.staticman.repository and site.staticman.branch %}
|
{% if site.staticman.repository and site.staticman.branch %}
|
||||||
|
<div class="staticman-comments">
|
||||||
<div class="page__comments">
|
<div class="page__comments">
|
||||||
<!-- Start static comments -->
|
<!-- Start static comments -->
|
||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label><br>
|
||||||
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
<textarea type="text" rows="12" cols="36" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
||||||
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
<div class="small form-text"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
||||||
@@ -38,7 +39,7 @@
|
|||||||
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
||||||
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group hidden" style="display: none;">
|
<div class="form-group d-none" style="display: none;">
|
||||||
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
<input type="hidden" name="options[origin]" value="{{ page.url | absolute_url }}">
|
||||||
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
||||||
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
||||||
@@ -47,9 +48,9 @@
|
|||||||
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
|
{% if site.staticman.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.staticman.reCaptcha.secret }}">{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<!-- Start comment form alert messaging -->
|
<!-- Start comment form alert messaging -->
|
||||||
<p class="hidden js-notice">
|
<p class="d-none js-notice alert">
|
||||||
<strong class="js-notice-text-success hidden">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
|
<strong class="js-notice-text-success d-none">{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}</strong>
|
||||||
<strong class="js-notice-text-failure hidden">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
|
<strong class="js-notice-text-failure d-none">{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}</strong>
|
||||||
</p>
|
</p>
|
||||||
<!-- End comment form alert messaging -->
|
<!-- End comment form alert messaging -->
|
||||||
{% if site.staticman.reCaptcha.siteKey %}
|
{% if site.staticman.reCaptcha.siteKey %}
|
||||||
@@ -58,8 +59,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn-primary btn-lg">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn--primary btn--large hidden" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
|
<button type="submit" id="comment-form-submitted" tabindex="5" class="btn btn-primary btn-lg d-none" disabled>{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,8 +75,9 @@
|
|||||||
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
||||||
<script>
|
<script>
|
||||||
if (typeof jQuery == 'undefined') {
|
if (typeof jQuery == 'undefined') {
|
||||||
document.write('<script src="{{ "/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>');
|
document.write('<script src="{{ "/assets/js/jquery-3.4.1.min.js" | relative_url }}"></scr' + 'ipt>');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="{{ "/js/staticman.js" | relative_url }}"></script>
|
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
13
landing.bryanroessler.com/_includes/utterances-comment.html
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{% if site.utterances.repository and site.utterances.issue-term %}
|
||||||
|
|
||||||
|
<script src="https://utteranc.es/client.js"
|
||||||
|
repo="{{ site.utterances.repository }}"
|
||||||
|
issue-term="{{ site.utterances.issue-term }}"
|
||||||
|
theme="{{ site.utterances.theme}}"
|
||||||
|
label="{{ site.utterances.label}}"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||