Skip to content

Commit 6552c57

Browse files
committed
move demo site to docs/ folder
1 parent bb7d9f8 commit 6552c57

65 files changed

Lines changed: 12900 additions & 0 deletions

Some content is hidden

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

docs/404.html

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

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Beautiful Jekyll source code
2+
3+
This is the source code of Beautiful Jekyll that is responsible for generating [the demo website for this theme](http://deanattali.com/beautiful-jekyll). To learn how to build a similarly awesome looking website in minutes, go to the [main Beautiful Jekyll page](https://github.com/daattali/beautiful-jekyll#readme).

docs/_config.yml

Lines changed: 271 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,271 @@
1+
# --- Basic options --- #
2+
3+
# Name of website
4+
title: Beautiful Jekyll
5+
6+
# Short description of your site
7+
description: Build a beautiful and simple website in minutes
8+
9+
# Your name to show in the footer
10+
author: Dean Attali
11+
12+
# --- List of links in the navigation bar --- #
13+
14+
navbar-links:
15+
Home: ""
16+
Resources:
17+
- Getting started: "getstarted"
18+
- Featured users: "featured-users"
19+
- Project page: "https://github.com/daattali/beautiful-jekyll#readme"
20+
About me: "http://deanattali.com"
21+
Support me: "http://deanattali.com/aboutme/#feed-meeee"
22+
23+
# --- Local development options ---
24+
25+
# If your website is hosted locally rather than on GitHub, then you need to uncomment the next two parameters to set the url and baseurl
26+
# ***If you're not sure what this mean, then leave this section as it is. Only modify the url and baseurl if you know what you're doing!***
27+
28+
# url is the the website domain URL without a trailing slash
29+
url: "https://deanattali.com/beautiful-jekyll/"
30+
31+
# baseurl should be an empty string
32+
baseurl: "/beautiful-jekyll"
33+
34+
# --- Logo --- #
35+
36+
# Image to show in the navigation bar - works best with a square image
37+
# Remove this parameter if you don't want an image in the navbar
38+
avatar: "/assets/img/avatar-icon.png"
39+
40+
# By default, the image is cut into a circle. You can disable this behaviour here.
41+
round-avatar: true
42+
43+
# If you want to have an image logo in the top-left corner instead of the title text,
44+
# then specify the following parameter
45+
#title-img: /path/to/image
46+
47+
48+
# --- Footer options --- #
49+
50+
# Select the social network links that you want to show in the footer.
51+
# Uncomment the links you want to show and add your information to each one.
52+
# If you don't want to show a link to an RSS feed, set rss to "false".
53+
social-network-links:
54+
rss: true
55+
email: "daattali@gmail.com"
56+
facebook: deanattali
57+
github: daattali
58+
twitter: daattali
59+
linkedin: daattali
60+
stackoverflow: "3943160/daattali"
61+
# reddit: yourname
62+
# xing: yourname
63+
# snapchat: deanat78
64+
# instagram: deanat78
65+
# youtube: user/deanat78
66+
# spotify: yourname
67+
# telephone: +14159998888
68+
# steam: deanat78
69+
# twitch: yourname
70+
# yelp: yourname
71+
72+
# --- General options --- #
73+
74+
# Select which social network share links to show in posts
75+
share-links-active:
76+
twitter: true
77+
facebook: true
78+
linkedin: true
79+
80+
# How to display the link to your website in the footer
81+
# Remove this if you don't want a link in the footer
82+
url-pretty: "deanattali.com/beautiful-jekyll"
83+
84+
# Create a "tags" index page and make tags on each post clickable
85+
link-tags: true
86+
87+
# Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page
88+
excerpt_length: 50
89+
90+
# --- Colours / background image --- #
91+
92+
# Personalize the colors in your website. Colour values can be any valid CSS colour
93+
94+
navbar-col: "#F5F5F5"
95+
navbar-text-col: "#404040"
96+
navbar-children-col: "#F5F5F5"
97+
page-col: "#FFFFFF"
98+
link-col: "#008AFF"
99+
hover-col: "#0085A1"
100+
footer-col: "#F5F5F5"
101+
footer-text-col: "#777777"
102+
footer-link-col: "#404040"
103+
104+
# Alternatively, the navbar, footer, and page background can be set to use background images
105+
# instead of colour
106+
107+
#navbar-img: "/assets/img/bgimage.png"
108+
#footer-img: "/assets/img/bgimage.png"
109+
#page-img: "/assets/img/bgimage.png"
110+
111+
# --- Web Statistics Section --- #
112+
113+
# Fill in your Google Analytics gtag.js ID to track your website using gtag
114+
#gtag: ""
115+
116+
# Fill in your Google Analytics ID to track your website using GA
117+
google_analytics: "UA-59820529-1"
118+
119+
# Google Tag Manager ID
120+
#gtm: ""
121+
122+
# Matomo (aka Piwik) Web statistics
123+
# Uncomment the following section to enable Matomo. The opt-out parameter controls
124+
# whether or not you want to allow users to opt out of tracking.
125+
#matomo:
126+
# site_id: "9"
127+
# uri: "demo.wiki.pro"
128+
# opt-out: true
129+
130+
# --- Comments --- #
131+
132+
# Fill in your Disqus shortname (NOT the userid) if you want to support Disqus comments
133+
#disqus: ""
134+
135+
# To use Facebook Comments, fill in a Facebook App ID
136+
#fb_comment_id: ""
137+
138+
# To use Staticman comments, uncomment the following section and fill in
139+
# "repository", "branch", and "endpoint".
140+
# If you want to use reCaptcha for staticman (optional for spam protection), then fill
141+
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`.
142+
# If using remote_theme, you will need to copy the _data/ui-text.yml to your repository.
143+
#staticman:
144+
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
145+
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
146+
# endpoint : # URL of your own deployment, with a trailing slash (will fallback to a public GitLab instance) eg. https://<your-api>/v3/entry/github/
147+
# reCaptcha:
148+
# siteKey : # Use your own site key, you need to apply for one on Google
149+
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
150+
151+
# To use Utterances comments: (0) uncomment the following section, (1) fill in
152+
# "repository" (make sure the repository is public), (2) Enable Issues in your repository,
153+
# (3) Install the Utterances app in your repository https://github.com/apps/utterances
154+
# See more details about the parameters below at https://utteranc.es/
155+
#utterances:
156+
# repository: # GitHub username/repository eg. "daattali/beautiful-jekyll"
157+
# issue-term: title # Mapping between blog posts and GitHub issues
158+
# theme: github-light # Utterances theme
159+
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
160+
161+
162+
# --- Misc --- #
163+
164+
# Character used to separate site title and description in HTML document title
165+
# and RSS feed title
166+
title-separator: "-"
167+
168+
# Ruby Date Format to show dates of posts
169+
date_format: "%B %-d, %Y"
170+
171+
# Facebook App ID
172+
#fb_app_id: ""
173+
174+
175+
# --- You don't need to touch anything below here (but you can if you want) --- #
176+
177+
# Output options (more information on Jekyll's site)
178+
timezone: "America/Toronto"
179+
markdown: kramdown
180+
highlighter: rouge
181+
permalink: /:year-:month-:day-:title/
182+
paginate: 5
183+
184+
kramdown:
185+
input: GFM
186+
187+
# Default YAML values (more information on Jekyll's site)
188+
defaults:
189+
-
190+
scope:
191+
path: ""
192+
type: "posts"
193+
values:
194+
layout: "post"
195+
comments: true # add comments to all blog posts
196+
social-share: true # add social media sharing buttons to all blog posts
197+
readtime: false # add estimated reading time on all blog posts
198+
-
199+
scope:
200+
path: "" # all files
201+
values:
202+
layout: "page"
203+
show-avatar: true
204+
205+
# Exclude these files from production site
206+
exclude:
207+
- CHANGELOG.md
208+
- CNAME
209+
- Dockerfile
210+
- Gemfile
211+
- Gemfile.lock
212+
- LICENSE
213+
- README.md
214+
- Vagrantfile
215+
216+
# prose.io config
217+
prose:
218+
rooturl: '_posts'
219+
media: 'img'
220+
ignore:
221+
- 404.html
222+
- LICENSE
223+
- feed.xml
224+
- _config.yml
225+
- /_layouts
226+
- /_includes
227+
- /assets
228+
metadata:
229+
_posts:
230+
- name: "layout"
231+
field:
232+
element: "hidden"
233+
value: "post"
234+
- name: "title"
235+
field:
236+
element: "text"
237+
label: "Post title"
238+
placeholder: "Title"
239+
alterable: true
240+
- name: "subtitle"
241+
field:
242+
element: "textarea"
243+
label: "Subtitle"
244+
placeholder: "A description of your post."
245+
alterable: true
246+
- name: "date"
247+
field:
248+
element: "text"
249+
label: "Date"
250+
help: "Enter date of post."
251+
placeholder: "yyyy-mm-dd"
252+
alterable: true
253+
- name: "image"
254+
field:
255+
element: "text"
256+
label: "Image"
257+
help: "Add a thumbnail image to your post."
258+
placeholder: "Thumbnail"
259+
alterable: true
260+
- name: "published"
261+
field:
262+
element: "checkbox"
263+
label: "Publish"
264+
help: "Check to publish post, uncheck to hide."
265+
266+
plugins:
267+
- jekyll-paginate
268+
- jekyll-sitemap
269+
270+
# Beautiful Jekyll / Dean Attali
271+
# 2fc73a3a967e97599c9763d05e564189

docs/_includes/comments.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% if page.comments %}
2+
{% include disqus.html %}
3+
{% include fb-comment.html %}
4+
{% include staticman-comments.html %}
5+
{% include utterances-comment.html %}
6+
{% endif %}

docs/_includes/disqus.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{%- if site.disqus -%}
2+
<div class="disqus-comments">
3+
<div class="comments">
4+
<div id="disqus_thread"></div>
5+
<script type="text/javascript">
6+
var disqus_shortname = '{{ site.disqus }}';
7+
/* ensure that pages with query string get the same discussion */
8+
var url_parts = window.location.href.split("?");
9+
var disqus_url = url_parts[0];
10+
(function() {
11+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
12+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
13+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
14+
})();
15+
</script>
16+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17+
</div>
18+
</div>
19+
{%- endif -%}

docs/_includes/ext-css.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% if include.css.sri %}
2+
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
3+
{% elsif include.css.href %}
4+
<link rel="stylesheet" href="{{ include.css.href }}" />
5+
{% else %}
6+
<link rel="stylesheet" href="{{ include.css }}" />
7+
{% endif %}

docs/_includes/ext-js.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% if include.js.sri %}
2+
<script src="{{ include.js.href }}" integrity="{{ include.js.sri }}" crossorigin="anonymous"></script>
3+
{% elsif include.js.href %}
4+
<script src="{{ include.js.href }}"></script>
5+
{% else %}
6+
<script src="{{ include.js }}"></script>
7+
{% endif %}

docs/_includes/fb-comment.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{%- if site.fb_comment_id -%}
2+
<div class="comments">
3+
<div id="fb-root"></div>
4+
<script>(function(d, s, id) {
5+
var js, fjs = d.getElementsByTagName(s)[0];
6+
if (d.getElementById(id)) return;
7+
js = d.createElement(s); js.id = id;
8+
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
9+
fjs.parentNode.insertBefore(js, fjs);
10+
}(document, 'script', 'facebook-jssdk'));</script>
11+
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
12+
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
13+
</div>
14+
{%- endif -%}

docs/_includes/footer-minimal.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<footer class="footer-min">
2+
<div class="text-muted">
3+
{% if site.author %}
4+
{{ site.author }}
5+
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
6+
{% endif %}
7+
{% if page.date %}
8+
{{ page.date }}
9+
{% else %}
10+
{{ site.time | date: '%Y' }}
11+
{% endif %}
12+
13+
{% if site.url-pretty %}
14+
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
15+
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
16+
{% endif %}
17+
</div>
18+
</footer>

0 commit comments

Comments
 (0)