Skip to content

Commit 690ae61

Browse files
committed
Pixyll 테마 추가
1 parent c6b62d6 commit 690ae61

Some content is hidden

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

85 files changed

+2358
-943
lines changed

404.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: center
3+
permalink: /404.html
4+
---
5+
6+
# 404
7+
8+
Sorry, we can't seem to find this page's pixylls.
9+
10+
<div class="mt3">
11+
<a href="{{ site.baseurl }}/" class="button button-blue button-big">Home</a>
12+
<a href="{{ site.baseurl }}/contact/" class="button button-blue button-big">Contact</a>
13+
</div>

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vuejs-kr.github.io

Gemfile

100644100755
+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
source 'https://rubygems.org'
22

3+
# A simple Ruby Gem to bootstrap dependencies for setting up and
4+
# maintaining a local Jekyll environment in sync with GitHub Pages
5+
# https://github.com/github/pages-gem
36
gem 'github-pages'

Gemfile.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ GEM
2222
ffi (1.9.14)
2323
forwardable-extended (2.6.0)
2424
gemoji (2.1.0)
25-
github-pages (112)
25+
github-pages (113)
2626
activesupport (= 4.2.7)
2727
github-pages-health-check (= 1.3.0)
2828
jekyll (= 3.3.1)
@@ -31,7 +31,7 @@ GEM
3131
jekyll-default-layout (= 0.1.4)
3232
jekyll-feed (= 0.8.0)
3333
jekyll-gist (= 1.4.0)
34-
jekyll-github-metadata (= 2.2.0)
34+
jekyll-github-metadata (= 2.3.0)
3535
jekyll-mentions (= 1.2.0)
3636
jekyll-optional-front-matter (= 0.1.2)
3737
jekyll-paginate (= 1.1.0)
@@ -95,7 +95,7 @@ GEM
9595
jekyll (~> 3.3)
9696
jekyll-gist (1.4.0)
9797
octokit (~> 4.2)
98-
jekyll-github-metadata (2.2.0)
98+
jekyll-github-metadata (2.3.0)
9999
jekyll (~> 3.1)
100100
octokit (~> 4.0, != 4.4.0)
101101
jekyll-mentions (1.2.0)
@@ -153,7 +153,7 @@ GEM
153153
gemoji (~> 2.0)
154154
html-pipeline (~> 2.2)
155155
jekyll (>= 3.0)
156-
json (1.8.3)
156+
json (1.8.5)
157157
kramdown (1.11.1)
158158
liquid (3.0.6)
159159
listen (3.0.6)
@@ -165,7 +165,7 @@ GEM
165165
minitest (5.10.1)
166166
multipart-post (2.0.0)
167167
net-dns (0.8.0)
168-
nokogiri (1.7.0)
168+
nokogiri (1.7.0.1)
169169
mini_portile2 (~> 2.1.0)
170170
octokit (4.6.2)
171171
sawyer (~> 0.8.0, >= 0.5.3)

LICENSE.txt

100644100755
+17-19
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
1+
Copyright (c) 2014-2015 John Otander
22

33
MIT License
44

5-
Copyright (c) 2016 Hemang Kumar
6-
7-
Permission is hereby granted, free of charge, to any person obtaining a copy
8-
of this software and associated documentation files (the "Software"), to deal
9-
in the Software without restriction, including without limitation the rights
10-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11-
copies of the Software, and to permit persons to whom the Software is
12-
furnished to do so, subject to the following conditions:
13-
14-
The above copyright notice and this permission notice shall be included in all
15-
copies or substantial portions of the Software.
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
1612

17-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
SOFTWARE.
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
2415

16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Rakefile

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
drafts_dir = '_drafts'
2+
posts_dir = '_posts'
3+
4+
# rake post['my new post']
5+
desc 'create a new post with "rake post[\'post title\']"'
6+
task :post, :title do |t, args|
7+
if args.title
8+
title = args.title
9+
else
10+
puts "Please try again. Remember to include the filename."
11+
end
12+
mkdir_p "#{posts_dir}"
13+
filename = "#{posts_dir}/#{Time.now.strftime('%Y-%m-%d')}-#{title.downcase.gsub(/[^\w]+/, '-')}.md"
14+
puts "Creating new post: #{filename}"
15+
File.open(filename, "w") do |f|
16+
f << <<-EOS.gsub(/^ /, '')
17+
---
18+
layout: post
19+
title: #{title}
20+
date: #{Time.new.strftime('%Y-%m-%d %H:%M')}
21+
categories:
22+
---
23+
24+
EOS
25+
end
26+
27+
# Uncomment the line below if you want the post to automatically open in your default text editor
28+
# system ("#{ENV['EDITOR']} #{filename}")
29+
end
30+
31+
# usage: rake draft['my new draft']
32+
desc 'create a new draft post with "rake draft[\'draft title\']"'
33+
task :draft, :title do |t, args|
34+
if args.title
35+
title = args.title
36+
else
37+
puts "Please try again. Remember to include the filename."
38+
end
39+
mkdir_p "#{drafts_dir}"
40+
filename = "#{drafts_dir}/#{title.downcase.gsub(/[^\w]+/, '-')}.md"
41+
puts "Creating new draft: #{filename}"
42+
File.open(filename, "w") do |f|
43+
f << <<-EOS.gsub(/^ /, '')
44+
---
45+
layout: post
46+
title: #{title}
47+
date: #{Time.new.strftime('%Y-%m-%d %H:%M')}
48+
categories:
49+
---
50+
51+
EOS
52+
end
53+
54+
# Uncomment the line below if you want the draft to automatically open in your default text editor
55+
# system ("#{ENV['EDITOR']} #{filename}")
56+
end
57+
58+
desc 'preview the site with drafts'
59+
task :preview do
60+
puts "## Generating site"
61+
puts "## Stop with ^C ( <CTRL>+C )"
62+
system "jekyll serve --watch --drafts"
63+
end
64+
65+
desc 'list tasks'
66+
task :list do
67+
puts "Tasks: #{(Rake::Task.tasks - [Rake::Task[:list]]).join(', ')}"
68+
puts "(type rake -T for more detail)\n\n"
69+
end

_config.yml

100644100755
+115-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,117 @@
1-
# Welcome to Jekyll!
2-
#
3-
# This config file is meant for settings that affect your whole blog, values
4-
# which you are expected to set up once and rarely need to edit after that.
5-
# For technical reasons, this file is *NOT* reloaded automatically when you use
6-
# 'jekyll serve'. If you change this file, please restart the server process.
7-
81
# Site settings
9-
title: vue.js Korea
10-
11-
description: vue.js에 대한 내용을 다룹니다
12-
baseurl: "" # the subpath of your site, e.g. /blog
13-
url: "https://vuejs-kr.github.io" # the base hostname & protocol for your site
14-
twitter_username:
15-
github_username: vuejs-kr
16-
paginate: 5
17-
18-
gems: [jekyll-paginate, kramdown]
2+
title: Pixyll
3+
4+
author: John Otander
5+
description: "A simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff."
6+
baseurl: ""
7+
url: "http://pixyll.com"
8+
date_format: "%b %-d, %Y"
9+
10+
# Google services
11+
google_verification:
12+
# Use either direct GA implementation or set up GTM account
13+
# - using both will skew your data (leave blank to not use at all)
14+
google_analytics:
15+
google_tag_manager:
16+
# Bing services
17+
bing_verification:
18+
19+
# Optional features
20+
animated: true
21+
show_related_posts: false
22+
show_post_footers: false
23+
show_social_icons: false
24+
ajaxify_contact_form: false
25+
enable_mathjax: false
26+
extended_fonts: false
27+
enable_anchorjs: false
28+
29+
# Facebook Page integration
30+
# (for instant articles and other stuff)
31+
fb_page: false
32+
fb_page_id:
33+
34+
# Disqus post comments
35+
# (leave blank to disable Disqus)
36+
disqus_shortname:
37+
38+
# Facebook Comments plugin
39+
# (leave blank to disable Facebook Comments, otherwise set it to true)
40+
facebook_comments:
41+
facebook_appid:
42+
facebook_comments_number: 10
43+
44+
# Social icons
45+
github_username:
46+
bitbucket_username:
47+
stackoverflow_id:
48+
twitter_username:
49+
skype_username:
50+
steam_nickname:
51+
google_plus_id:
52+
linkedin_username:
53+
angellist_username:
54+
medium_id:
55+
bitcoin_url:
56+
paypal_url:
57+
flattr_button:
58+
59+
# Post sharing icons
60+
show_sharing_icons: false
61+
# Change to 'true' to enable individual icons
62+
share_facebook: false
63+
share_twitter: false
64+
share_googleplus: false
65+
share_linkedin: false
66+
share_digg: false
67+
share_tumblr: false
68+
share_reddit: false
69+
share_stumbleupon: false
70+
share_hackernews: false
71+
72+
text:
73+
pagination:
74+
newer: 'Newer'
75+
older: 'Older'
76+
share_buttons:
77+
text: 'Share this post!'
78+
facebook: 'Share on Facebook'
79+
twitter: 'Share on Twitter'
80+
googleplus: 'Share on Google+'
81+
linkedin: 'Share on LinkedIn'
82+
digg: 'Share on Digg'
83+
tumblr: 'Share on Tumblr'
84+
reddit: 'Share on Reddit'
85+
stumbleupon: 'Share on StumbleUpon'
86+
hackernews: 'Share on Hacker News'
87+
post:
88+
updated: 'Updated'
89+
minute_read: 'minute read'
90+
related_posts: 'Related Posts'
91+
index:
92+
coming_soon: 'Coming soon...'
93+
contact:
94+
email: 'Email Address'
95+
content: 'What would you like to say?'
96+
subject: 'New submission!'
97+
submit: 'Say Hello'
98+
ajax:
99+
sending: 'sending..'
100+
sent: 'Message sent!'
101+
error: 'Error!'
102+
thanks: 'Thanks for contacting us. We will reply as soon as possible.'
103+
og_locale: 'en_US'
104+
19105
# Build settings
20-
markdown: kramdown
21-
highlighter: rouge
22-
kramdown.syntax_highlighter_opts.block.line_numbers: true
106+
markdown: kramdown
107+
redcarpet:
108+
extensions: ['smart', 'tables', 'with_toc_data']
109+
permalink: pretty
110+
paginate: 10
111+
sass:
112+
compressed: true
113+
gems:
114+
- jekyll-paginate
115+
- jekyll-sitemap
116+
# https://github.com/jekyll/jekyll/issues/2938
117+
exclude: [vendor]

_includes/ajaxify_content_form.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<script>
2+
var contactForm = document.querySelector('form'),
3+
inputEmail = contactForm.querySelector('[name="email"]'),
4+
textAreaMessage = contactForm.querySelector('[name="content"]'),
5+
sendButton = contactForm.querySelector('button');
6+
7+
sendButton.addEventListener('click', function(event){
8+
event.preventDefault();
9+
10+
sendButton.innerHTML = '{{ site.text.contact.ajax.sending }}';
11+
12+
var xhr = new XMLHttpRequest();
13+
xhr.open('POST', '//formspree.io/{{ site.email }}', true);
14+
xhr.setRequestHeader("Accept", "application/json")
15+
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
16+
17+
xhr.send(
18+
"email=" + inputEmail.value +
19+
"&message=" + textAreaMessage.value);
20+
21+
xhr.onloadend = function (res) {
22+
if (res.target.status === 200){
23+
sendButton.innerHTML = '{{ site.text.contact.ajax.sent }}';
24+
}
25+
else {
26+
sendButton.innerHTML = '{{ site.text.contact.ajax.error }}';
27+
}
28+
}
29+
});
30+
</script>

0 commit comments

Comments
 (0)