generated from nicolas-van/bootstrap-4-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1a6d9f3
Showing
119 changed files
with
9,183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
_site | ||
.sass-cache | ||
.jekyll-metadata | ||
node_modules | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="container text-center"> | ||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Contributing to this project | ||
|
||
* [Contributors Agreement](#user-content-contributors-agreement) | ||
* [Introduction](#Introduction) | ||
* [I don't want to read this whole thing I just have a question!!!](#user-content-i-dont-want-to-read-this-whole-thing-i-just-have-a-question) | ||
* [How Can I Contribute?](#user-content-how-can-i-contribute) | ||
* [Reporting Bugs](#user-content-reporting-bugs) | ||
* [Suggesting Enhancements](#user-content-suggesting-enhancements) | ||
* [Creating Pull Requests](#user-content-creating-pull-requests) | ||
|
||
## Contributors Agreement | ||
|
||
By submitting patches to this project you agree to allow them to be redistributed under the project's license, according to the normal forms and usages of the open-source community. | ||
|
||
## Introduction | ||
|
||
First off, thank you for considering contributing to this project. It's people like you that make it such a great tool. | ||
|
||
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests. | ||
|
||
This is an open source project and we love to receive contributions from our community — you! There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into the main project itself. | ||
|
||
### I don't want to read this whole thing I just have a question!!! | ||
|
||
We currently allow our users to use the issue tracker for support questions. But please be wary that maintaining an open source project can take a lot of time from the maintainers. If asking for a support question, state it clearly and take the time to explain your problem properly. Also, if your problem is not strictly related to this project we recommend you to use Stack Overlow instead. | ||
|
||
## How Can I Contribute? | ||
|
||
### Reporting Bugs | ||
|
||
Before creating bug reports, please check the existing bug reports as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible. | ||
|
||
#### How Do I Submit A (Good) Bug Report? | ||
|
||
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue on the project's repository and provide the following information. | ||
|
||
Explain the problem and include additional details to help maintainers reproduce the problem: | ||
|
||
* **Use a clear and descriptive title** for the issue to identify the problem. | ||
* **Describe the exact steps which reproduce the problem** in as many details as possible. For example, start by explaining how you used the project. When listing steps, **don't just say what you did, but explain how you did it**. | ||
* **Provide specific examples to demonstrate the steps**. It's always better to get more information. You can include links to files or GitHub projects, copy/pasteable snippets or even print screens or animated GIFS. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines). | ||
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. | ||
* **Explain which behavior you expected to see instead and why.** | ||
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below. | ||
|
||
Provide more context by answering these questions: | ||
|
||
* **Did the problem start happening recently** (e.g. after updating to a new version) or was this always a problem? | ||
* If the problem started happening recently, **can you reproduce the problem in an older version?** What's the most recent version in which the problem doesn't happen? | ||
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens. | ||
|
||
Include details about your configuration and environment: | ||
|
||
* **Which version of the project are you using?** | ||
* **What's the name and version of the OS you're using**? | ||
* **Any other information that could be useful about you environment** | ||
|
||
### Suggesting Enhancements | ||
|
||
This section guides you through submitting an enhancement suggestion for this project, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions. | ||
|
||
Before creating enhancement suggestions, please check the list of enhancements suggestions in the issue tracker as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please include as many details as possible. | ||
|
||
#### How Do I Submit A (Good) Enhancement Suggestion? | ||
|
||
Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue on the project's repository and provide the following information: | ||
|
||
* **Use a clear and descriptive title** for the issue to identify the suggestion. | ||
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible. | ||
* **Provide specific examples to demonstrate the steps**. It's always better to get more information. You can include links to files or GitHub projects, copy/pasteable snippets or even print screens or animated GIFS. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines). | ||
* **Describe the current behavior** and **explain which behavior you expected to see instead** and why. | ||
* **List some other similar projects where this enhancement exists.** | ||
* **Specify which version of the project you're using.** | ||
* **Specify the current environment you're using.** if this is a useful information. | ||
|
||
### Creating Pull Requests | ||
|
||
#### How Do I Submit A (Good) Pull Request? | ||
|
||
* **Be warned that the contributors agreement displayed on top of this document is applicable as soon as you create a pull request**. | ||
* **Use a clear and descriptive title** for the pull request to state the improvement you made to the code or the bug you solved. | ||
* **Provide a link to the related issue** if the pull request is a follow up of an existing bug report or enhancement suggestion. | ||
* **Comment why this pull request represents an enhancement** and give a rationale explaining why you did it that way and not another way. | ||
* **Use the same coding style than the one used in this project**. | ||
* **Welcome suggestions from the maintainers to improve your pull request**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
source "https://rubygems.org" | ||
|
||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
#gem "jekyll", "~> 3.7.3" | ||
|
||
|
||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
gem "github-pages", group: :jekyll_plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Nicolas Vanhoren | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
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 | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
# Boostrap 4 Github Pages | ||
|
||
A [Bootstrap 4](https://getbootstrap.com/) template project for [Github Pages](https://pages.github.com/) and [Jekyll](https://jekyllrb.com/). | ||
|
||
* A full Bootstrap 4 theme usable both on Github Pages and with a standalone Jekyll. | ||
* Recompiles Bootstrap from SCSS files, which allows to customize Bootstrap's variables and use Bootstrap themes. | ||
* Full support of Bootstrap's JavaScript plugins. | ||
* Supports all features of Github Pages and Jekyll. | ||
|
||
[See the website for demonstration and documentation](https://nicolas-van.github.io/bootstrap-4-github-pages/). | ||
|
||
## Contribution | ||
|
||
[See the contribution guide.](./CONTRIBUTING.md) | ||
|
||
## License | ||
|
||
[See the license file.](./LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely edit after that. If you find | ||
# yourself editing this file very often, consider using Jekyll's data files | ||
# feature for the data you need to update frequently. | ||
# | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process. | ||
|
||
# Site settings | ||
# These are used to personalize your new site. If you look in the HTML files, | ||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. | ||
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
title: Bootstrap 4 Github Pages | ||
email: "" | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
A Bootstrap 4 start up project for Jekyll and Github Pages | ||
#baseurl: "" # the subpath of your site, e.g. /blog | ||
#url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
#twitter_username: jekyllrb | ||
#github_username: jekyll | ||
|
||
repository: "nicolas-van/bootstrap-4-github-pages" | ||
|
||
# Build settings | ||
plugins: | ||
- jekyll-feed | ||
- jekyll-sitemap | ||
|
||
# A list of the pages to display in the navigation bar | ||
header_pages: | ||
|
||
# Exclude from processing. | ||
# The following items will not be processed, by default. Create a custom list | ||
# to override the default setting. | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
- node_modules | ||
- update_boostrap.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
<div class="py-5 border-top"> | ||
<div class="container"> | ||
|
||
<p class="h5 mb-3">{{ site.title | escape }}</p> | ||
|
||
<div class="row"> | ||
|
||
<div class="col-sm"> | ||
<ul class="list-unstyled"> | ||
<li> | ||
{%- if site.author -%} | ||
{{ site.author | escape }} | ||
{%- else -%} | ||
{{ site.title | escape }} | ||
{%- endif -%} | ||
</li> | ||
{%- if site.email -%} | ||
<li> | ||
<a href="mailto:{{ site.email }}"> | ||
{{ site.email }} | ||
</a> | ||
</li> | ||
{%- endif -%} | ||
</ul> | ||
</div> | ||
|
||
|
||
<div class="col-sm text-right"> | ||
<p>{{- site.description | escape -}}</p> | ||
|
||
<p> | ||
<a href="https://nicolas-van.github.io/bootstrap-4-github-pages/">Powered by Bootstrap 4 Github Pages</a> | ||
</p> | ||
<p> | ||
<a href="https://github.com/nicolas-van/bootstrap-4-github-pages"><img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/nicolas-van/bootstrap-4-github-pages?style=social"></a> | ||
<p> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
{%- seo -%} | ||
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> | ||
{%- feed_meta -%} | ||
<script src="{{ "/assets/javascript/bootstrap/jquery.min.js" | relative_url }}"></script> | ||
<script src="{{ "/assets/javascript/bootstrap/bootstrap.bundle.min.js" | relative_url }}"></script> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<div class="container"> | ||
<a class="navbar-brand" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> | ||
|
||
{%- assign page_paths = site.header_pages -%} | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav ml-auto"> | ||
{%- for path in page_paths -%} | ||
{%- assign my_page = site.pages | where: "path", path | first -%} | ||
{%- if my_page.title -%} | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a> | ||
</li> | ||
{%- endif -%} | ||
{% endfor -%} | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ site.github.repository_url }}">Fork me on Github</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> | ||
|
||
{%- include head.html -%} | ||
|
||
<body> | ||
|
||
{%- include header.html -%} | ||
|
||
<div class="py-5"> | ||
<div class="container page-content"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{%- include footer.html -%} | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div> | ||
|
||
{%- if page.title -%} | ||
<header> | ||
<h1>{{ page.title }}</h1> | ||
</header> | ||
{%- endif -%} | ||
|
||
<section> | ||
{{ content }} | ||
</section> | ||
|
||
{%- if site.posts.size > 0 -%} | ||
<p class="h4">{{ page.list_title | default: "Posts" }}</p> | ||
<ul class="list-unstyled"> | ||
{%- for post in site.posts -%} | ||
<li> | ||
<span class="text-muted"> | ||
{%- assign date_format = "%b %-d, %Y" -%} | ||
{{ post.date | date: date_format }} | ||
</span> | ||
<p class="h5"> | ||
<a href="{{ post.url | relative_url }}"> | ||
{{ post.title | escape }} | ||
</a> | ||
</p> | ||
{%- if site.show_excerpts -%} | ||
{{ post.excerpt }} | ||
{%- endif -%} | ||
</li> | ||
{%- endfor -%} | ||
</ul> | ||
|
||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> | ||
{%- endif -%} | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
layout: default | ||
--- | ||
<article> | ||
|
||
<header> | ||
<h1>{{ page.title | escape }}</h1> | ||
</header> | ||
|
||
<section> | ||
{{ content }} | ||
</section> | ||
|
||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: default | ||
--- | ||
<article> | ||
|
||
<header> | ||
<h1>{{ page.title | escape }}</h1> | ||
<p class="text-muted"> | ||
<time datetime="{{ page.date | date_to_xmlschema }}"> | ||
{%- assign date_format = "%b %-d, %Y" -%} | ||
{{ page.date | date: date_format }} | ||
</time> | ||
{%- if page.author -%} | ||
• {{ page.author }} | ||
{%- endif -%} | ||
</p> | ||
</header> | ||
|
||
<section> | ||
{{ content }} | ||
</section> | ||
|
||
</article> |
Oops, something went wrong.