Skip to content

Commit fb4828f

Browse files
committed
Beautiful Jekyll
1 parent 8c1f55e commit fb4828f

Some content is hidden

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

50 files changed

+3537
-45
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source "https://rubygems.org"
1111
gem "jekyll", "~> 3.8.5"
1212

1313
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14-
gem "minima", "~> 2.0"
14+
# gem "minima", "~> 2.0"
1515

1616
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
1717
# uncomment the line below. To upgrade, run `bundle update github-pages`.
@@ -20,6 +20,8 @@ gem "minima", "~> 2.0"
2020
# If you have any plugins, put them here!
2121
group :jekyll_plugins do
2222
gem "jekyll-feed", "~> 0.6"
23+
gem "jekyll-paginate"
24+
gem "jekyll-sitemap"
2325
end
2426

2527
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ GEM
2929
safe_yaml (~> 1.0)
3030
jekyll-feed (0.15.1)
3131
jekyll (>= 3.7, < 5.0)
32+
jekyll-paginate (1.1.0)
3233
jekyll-sass-converter (1.5.2)
3334
sass (~> 3.4)
34-
jekyll-seo-tag (2.7.1)
35-
jekyll (>= 3.8, < 5.0)
35+
jekyll-sitemap (1.4.0)
36+
jekyll (>= 3.7, < 5.0)
3637
jekyll-watch (2.2.1)
3738
listen (~> 3.0)
3839
kramdown (1.17.0)
@@ -41,10 +42,6 @@ GEM
4142
rb-fsevent (~> 0.10, >= 0.10.3)
4243
rb-inotify (~> 0.9, >= 0.9.10)
4344
mercenary (0.3.6)
44-
minima (2.5.1)
45-
jekyll (>= 3.5, < 5.0)
46-
jekyll-feed (~> 0.9)
47-
jekyll-seo-tag (~> 2.1)
4845
pathutil (0.16.2)
4946
forwardable-extended (~> 2.6)
5047
public_suffix (4.0.6)
@@ -65,7 +62,8 @@ PLATFORMS
6562
DEPENDENCIES
6663
jekyll (~> 3.8.5)
6764
jekyll-feed (~> 0.6)
68-
minima (~> 2.0)
65+
jekyll-paginate
66+
jekyll-sitemap
6967
tzinfo-data
7068

7169
BUNDLED WITH

_config.yml

Lines changed: 107 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,120 @@
1313
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
1414
# You can create any custom variable you would like, and they will be accessible
1515
# in the templates via {{ site.myvariable }}.
16-
title: iosdevlog
16+
title: https://www.iosdevlog.com
17+
author: Jia Xianhua
1718
email: iosdevlog@iosdevlog.com
1819
description: > # this means to ignore newlines until "baseurl:"
19-
iosdevlog.com
20+
https://www.iosdevlog.com
2021
baseurl: ""
21-
url: "http://iosdevlog.com" # the base hostname & protocol for your site, e.g. http://example.com
22+
url: "https://www.iosdevlog.com" # the base hostname & protocol for your site, e.g. http://example.com
2223
twitter_username: iosdevlog
2324
github_username: iosdevlog
2425

25-
# Build settings
26-
markdown: kramdown
27-
theme: minima
28-
plugins:
29-
- jekyll-feed
26+
# theme: minima
27+
remote_theme: daattali/beautiful-jekyll@5.0.0
28+
29+
navbar-links:
30+
1519: "https://1519.iosdevlog.com"
31+
2019: "https://2019.iosdevlog.com"
32+
2020: "https://2020.iosdevlog.com"
33+
Tgas: "https://www.iosdevlog.com/tags"
34+
Privacy Policy: "privacypolicy"
35+
About Me: "about"
36+
Author's home: "https://www.iosdevlog.com"
37+
38+
# --- Comments --- #
39+
40+
# To use Disqus comments, sign up to https://disqus.com and fill in your Disqus shortname (NOT the userid)
41+
disqus: "iosdevlog"
42+
43+
# How to display the link to your website in the footer
44+
# Remove this if you don't want a link in the footer
45+
url-pretty: "https://www.iosdevlog.com"
46+
47+
# Select which social network share links to show in posts
48+
share-links-active:
49+
twitter: true
50+
facebook: true
51+
linkedin: true
52+
vk: false
53+
54+
# Excerpt word length - Truncate the excerpt of each post on the feed page to the specified number of words
55+
excerpt_length: 50
56+
57+
# Whether or not to show an excerpt for every blog post in the feed page
58+
feed_show_excerpt: true
59+
60+
# Whether or not to show a list of tags below each post preview in the feed page
61+
feed_show_tags: true
62+
63+
# --- Colours / background image --- #
64+
65+
# Personalize the colours in your website. Colour values can be any valid CSS colour
66+
67+
navbar-col: "#EAEAEA"
68+
navbar-text-col: "#404040"
69+
navbar-border-col: "#DDDDDD"
70+
page-col: "#FFFFFF"
71+
text-col: "#404040"
72+
link-col: "#008AFF"
73+
hover-col: "#0085A1"
74+
footer-col: "#EAEAEA"
75+
footer-text-col: "#777777"
76+
footer-link-col: "#404040"
77+
78+
79+
# --- Logo --- #
80+
81+
# Image to show in the navigation bar - works best with a square image
82+
# Remove this parameter if you don't want an image in the navbar
83+
avatar: "/assets/img/avatar-icon.png"
84+
85+
# By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
86+
round-avatar: true
87+
88+
# If you want to have an image logo in the top-left corner instead of having the title of the website,
89+
# then specify the following parameter
90+
#title-img: /path/to/image
91+
92+
93+
# --- Footer social media links --- #
94+
95+
# Select the social network links that you want to show in the footer.
96+
# Uncomment the links you want to show and add your information to each one.
97+
social-network-links:
98+
email: "iosdevlog@iosdevlog.com"
99+
github: jiaxianhua
30100

31101
# Google Analytics
32102
google_analytics: UA-104431384-1
33103

104+
# Build settings
105+
markdown: kramdown
106+
highlighter: rouge
107+
permalink: /:year-:month-:day-:title/
108+
paginate: 20
109+
110+
kramdown:
111+
input: GFM
112+
113+
# Default YAML values (more information on Jekyll's site)
114+
defaults:
115+
-
116+
scope:
117+
path: ""
118+
type: "posts"
119+
values:
120+
layout: "post"
121+
comments: true # add comments to all blog posts
122+
social-share: true # add social media sharing buttons to all blog posts
123+
-
124+
scope:
125+
path: "" # any file that's not a post will be a "page" layout by default
126+
values:
127+
layout: "page"
128+
129+
plugins:
130+
- jekyll-feed
131+
- jekyll-paginate
132+
- jekyll-sitemap

0 commit comments

Comments
 (0)