Skip to content

Commit cb6d5d5

Browse files
committed
added questionablecode.org template and first post, reforking to give credit to barryclark
1 parent f35771a commit cb6d5d5

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

+581
-365
lines changed

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
questionablecode.org

LICENSE

-20
This file was deleted.

README.md

+3-110
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,4 @@
1-
# Jekyll Now
2-
3-
**Jekyll** is a static site generator that's perfect for GitHub hosted blogs ([Jekyll Repository](https://github.com/jekyll/jekyll))
4-
5-
**Jekyll Now** makes it easier to create your Jekyll blog, by eliminating a lot of the up front setup.
6-
7-
- You don't need to touch the command line
8-
- You don't need to install/configure ruby, rvm/rbenv, ruby gems :relaxed:
9-
- You don't need to install runtime dependancies like markdown processors, Pygments, etc
10-
- If you're on Windows, this will make setting up Jekyll a lot easier
11-
- It's easy to try out, you can just delete your forked repository if you don't like it
12-
13-
In a few minutes you'll be set up with a minimal, responsive blog like the one below giving you more time to spend on writing epic blog posts!
14-
15-
![Jekyll Now Theme Screenshot](/images/jekyll-now-theme-screenshot.jpg "Jekyll Now Theme Screenshot")
16-
17-
## Quick Start
18-
19-
### Step 1) Fork Jekyll Now to your User Repository
20-
21-
Fork this repo, then rename the repository to yourgithubusername.github.io.
22-
23-
Your Jekyll blog will often be viewable immediately at <http://yourgithubusername.github.io> (if it's not, you can often force it to build by completing step 2)
24-
25-
![Step 1](/images/step1.gif "Step 1")
26-
27-
### Step 2) Customize and view your site
28-
29-
Enter your site name, description, avatar and many other options by editing the _config.yml file. You can easily turn on Google Analytics tracking, Disqus commenting and social icons here too.
30-
31-
Making a change to _config.yml (or any file in your repository) will force GitHub Pages to rebuild your site with jekyll. Your rebuilt site will be viewable a few seconds later at <http://yourgithubusername.github.io> - if not, give it ten minutes as GitHub suggests and it'll appear soon
32-
33-
> There are 3 different ways that you can make changes to your blog's files:
34-
35-
> 1. Edit files within your new username.github.io repository in the browser at GitHub.com (shown below).
36-
> 2. Use a third party GitHub content editor, like [Prose by Development Seed](http://prose.io). It's optimized for use with Jekyll making markdown editing, writing drafts, and uploading images really easy.
37-
> 3. Clone down your repository and make updates locally, then push them to your GitHub repository.
38-
39-
![_config.yml](/images/config.png "_config.yml")
40-
41-
### Step 3) Publish your first blog post
42-
43-
Edit `/_posts/2014-3-3-Hello-World.md` to publish your first blog post. This [Markdown Cheatsheet](http://www.jekyllnow.com/Markdown-Style-Guide/) might come in handy.
44-
45-
![First Post](/images/first-post.png "First Post")
46-
47-
> You can add additional posts in the browser on GitHub.com too! Just hit the + icon in `/_posts/` to create new content. Just make sure to include the [front-matter](http://jekyllrb.com/docs/frontmatter/) block at the top of each new blog post and make sure the post's filename is in this format: year-month-day-title.md
48-
49-
## Local Development
50-
51-
1. Install Jekyll and plug-ins in one fell swoop. `gem install github-pages` This mirrors the plug-ins used by GitHub Pages on your local machine including Jekyll, Sass, etc.
52-
2. Clone down your fork `git clone [email protected]:yourusername/yourusername.github.io.git`
53-
3. Serve the site and watch for markup/sass changes `jekyll serve`
54-
4. View your website at http://0.0.0.0:4000
55-
5. Commit any changes and push everything to the master branch of your GitHub user repository. GitHub Pages will then rebuild and serve your website.
56-
57-
## Moar!
58-
59-
I've created a more detailed walkthrough, [**Build A Blog With Jekyll And GitHub Pages**](http://www.smashingmagazine.com/2014/08/01/build-blog-jekyll-github-pages/) over at the Smashing Magazine website. Check it out if you'd like a more detailed walkthrough and some background on Jekyll. :metal:
60-
61-
It covers:
62-
63-
- A more detailed walkthrough of setting up your Jekyll blog
64-
- Common issues that you might encounter while using Jekyll
65-
- Importing from Wordpress, using your own domain name, and blogging in your favorite editor
66-
- Theming in Jekyll, with Liquid templating examples
67-
- A quick look at Jekyll 2.0’s new features, including Sass/Coffeescript support and Collections
68-
69-
## Jekyll Now Features
70-
71-
✓ Command-line free _fork-first workflow_, using GitHub.com to create, customize and post to your blog
72-
✓ Fully responsive and mobile optimized base theme (**[Theme Demo](http://jekyllnow.com)**)
73-
✓ Sass/Coffeescript support using Jekyll 2.0
74-
✓ Free hosting on your GitHub Pages user site
75-
✓ Markdown blogging
76-
✓ Syntax highlighting
77-
✓ Disqus commenting
78-
✓ Google Analytics integration
79-
✓ SVG social icons for your footer
80-
✓ 3 http requests, including your avatar
81-
82-
✘ No installing dependancies
83-
✘ No need to set up local development
84-
✘ No configuring plugins
85-
✘ No need to spend time on theming
86-
✘ More time to code other things ... wait ✓!
87-
88-
## Questions?
89-
90-
[Open an Issue](https://github.com/barryclark/jekyll-now/issues/new) and let's chat!
91-
92-
## Other forkable themes
93-
94-
You can use the [Quick Start](https://github.com/barryclark/jekyll-now#quick-start) workflow with other themes that are set up to be forked too! Here are some of my favorites:
95-
96-
- [Hyde](https://github.com/poole/hyde) by MDO
97-
- [Lanyon](https://github.com/poole/lanyon) by MDO
98-
- [mojombo.github.io](https://github.com/mojombo/mojombo.github.io) by Tom Preston-Werner
99-
- [Left](https://github.com/holman/left) by Zach Holman
100-
- [Minimal Mistakes](https://github.com/mmistakes/minimal-mistakes) by Michael Rose
101-
- [Skinny Bones](https://github.com/mmistakes/skinny-bones-jekyll) by Michael Rose
102-
103-
## Credits
104-
105-
- [Jekyll](https://github.com/jekyll/jekyll) - Thanks to its creators, contributors and maintainers.
106-
- [SVG icons](https://github.com/neilorangepeel/Free-Social-Icons) - Thanks, Neil Orange Peel. They're beautiful.
107-
- [Solarized Light Pygments](https://gist.github.com/edwardhotchkiss/2005058) - Thanks, Edward.
108-
- [Joel Glovier](http://joelglovier.com/writing/) - Great Jekyll articles. I used Joel's feed.xml in this repository.
109-
- [David Furnes](https://github.com/dfurnes), [Jon Uy](https://github.com/jonuy), [Luke Patton](https://github.com/lkpttn) - Thanks for the design/code reviews.
110-
- [Bart Kiers](https://github.com/bkiers), [Florian Simon](https://github.com/vermluh), [Henry Stanley](https://github.com/henryaj), [Hun Jae Lee](https://github.com/hunjaelee), [Javier Cejudo](https://github.com/javiercejudo), [Peter Etelej](https://github.com/etelej), [Ben Abbott](https://github.com/jaminscript), [Ray Nicholus](https://github.com/rnicholus) - Thanks for your [fantastic contributions](https://github.com/barryclark/jekyll-now/commits/master) to the project!
1+
questionablecode.github.io
2+
==========================
1113

4+
[QuestionableCode.org](https://questionablecode.org) Website

_config.yml

+22-13
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44

55
# Name of your site (displayed in the header)
6-
name: Your Name
6+
name: Questionable Code
77

88
# Short bio or description (displayed in the header)
9-
description: Web Developer from Somewhere
9+
description: Deciphering logic with a skeptical mind
1010

1111
# URL of your avatar or profile pic (you could use your GitHub profile pic)
12-
avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png
12+
avatar: https://raw.githubusercontent.com/questionablecode/questionablecode.github.io/master/images/logo.png
1313

1414
#
1515
# Flags below are optional
@@ -18,38 +18,38 @@ avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/je
1818
# Includes an icon in the footer for each username you enter
1919
footer-links:
2020
dribbble:
21-
email:
21+
2222
facebook:
2323
flickr:
24-
github: barryclark/jekyll-now
24+
github: questionablecode
2525
instagram:
2626
linkedin:
2727
pinterest:
2828
rss: # just type anything here for a working RSS icon, make sure you set the "url" above!
29-
twitter: jekyllrb
29+
twitter:
3030
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers"
3131

3232
# Your disqus shortname, entering this will enable commenting on posts
33-
disqus:
33+
disqus: questionablecode
3434

3535
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
36-
google_analytics:
36+
google_analytics: UA-57857579-1
3737

38-
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
38+
# Your website URL (e.g. https://barryclark.github.io or https://www.barryclark.co)
3939
# Used for Sitemap.xml and your RSS feed
40-
url:
40+
url: https://questionablecode.org
4141

4242
# If you're hosting your site at a Project repository on GitHub pages
43-
# (http://yourusername.github.io/repository-name)
44-
# and NOT your User repository (http://yourusername.github.io)
43+
# (https://yourusername.github.io/repository-name)
44+
# and NOT your User repository (https://yourusername.github.io)
4545
# then add in the baseurl here, like this: "/repository-name"
4646
baseurl: ""
4747

4848
#
4949
# !! You don't need to change any of the configuration flags below !!
5050
#
5151

52-
markdown: redcarpet
52+
markdown: kramdown
5353
highlighter: pygments
5454
permalink: /:title/
5555

@@ -61,8 +61,16 @@ sass:
6161
sass_dir: _scss
6262
style: :expanded # You might prefer to minify using :compressed
6363

64+
asset_pipeline:
65+
bundle: true # Default = true
66+
compress: false # Default = true
67+
output_path: assets # Default = assets
68+
display_path: nil # Default = nil
69+
gzip: false # Default = false
70+
6471
# Use the following plug-ins
6572
gems:
73+
- jemoji # Emoji please!
6674
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
6775

6876
# Exclude these files from your production _site
@@ -71,3 +79,4 @@ exclude:
7179
- Gemfile.lock
7280
- LICENSE
7381
- README.md
82+
- attributions.txt

_includes/analytics.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{% if site.google_analytics %}
2-
<!-- Google Analytics -->
3-
<script>
4-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8-
9-
ga('create', '{{ site.google_analytics }}', 'auto');
10-
ga('send', 'pageview');
11-
</script>
12-
<!-- End Google Analytics -->
2+
<!-- Google Analytics -->
3+
<script>
4+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8+
9+
ga('create', '{{ site.google_analytics }}', 'auto');
10+
ga('send', 'pageview');
11+
</script>
12+
<!-- End Google Analytics -->
1313
{% endif %}

_includes/disqus.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{% if site.disqus %}
22
<div class="comments">
3-
<div id="disqus_thread"></div>
4-
<script type="text/javascript">
3+
<div id="disqus_thread"></div>
4+
<script type="text/javascript">
55

6-
var disqus_shortname = '{{ site.disqus }}';
6+
var disqus_shortname = '{{ site.disqus }}';
77

8-
(function() {
9-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
10-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
11-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
12-
})();
8+
(function() {
9+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
10+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
11+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
12+
})();
1313

14-
</script>
15-
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
14+
</script>
15+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1616
</div>
1717
{% endif %}

_includes/svg-icons.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{% if site.footer-links.dribbble %}<a href="http://dribbble.com/{{ site.footer-links.dribbble }}"><i class="svg-icon dribbble"></i></a>{% endif %}
2-
{% if site.footer-links.email %}<a href="mailto:{{ site.footer-links.email }}"><i class="svg-icon email"></i></a>{% endif %}
3-
{% if site.footer-links.facebook %}<a href="http://facebook.com/{{ site.footer-links.facebook }}"><i class="svg-icon facebook"></i></a>{% endif %}
4-
{% if site.footer-links.flickr %}<a href="http://flickr.com/{{ site.footer-links.flickr }}"><i class="svg-icon flickr"></i></a>{% endif %}
5-
{% if site.footer-links.github %}<a href="http://github.com/{{ site.footer-links.github }}"><i class="svg-icon github"></i></a>{% endif %}
6-
{% if site.footer-links.instagram %}<a href="http://instagram.com/{{ site.footer-links.instagram }}"><i class="svg-icon instagram"></i></a>{% endif %}
7-
{% if site.footer-links.linkedin %}<a href="http://linkedin.com/in/{{ site.footer-links.linkedin }}"><i class="svg-icon linkedin"></i></a>{% endif %}
8-
{% if site.footer-links.pinterest %}<a href="http://pinterest.com/{{ site.footer-links.pinterest }}"><i class="svg-icon pinterest"></i></a>{% endif %}
9-
{% if site.footer-links.rss %}<a href="{{ site.baseurl }}/feed.xml"><i class="svg-icon rss"></i></a>{% endif %}
10-
{% if site.footer-links.twitter %}<a href="http://twitter.com/{{ site.footer-links.twitter }}"><i class="svg-icon twitter"></i></a>{% endif %}
11-
{% if site.footer-links.stackoverflow %}<a href="http://stackoverflow.com/{{ site.footer-links.stackoverflow }}"><i class="svg-icon stackoverflow"></i></a>{% endif %}
1+
{% if site.footer-links.dribbble %}<a href="https://dribbble.com/{{ site.footer-links.dribbble }}">{% include svg-icons/dribbble.html %}</a>{% endif %}
2+
{% if site.footer-links.email %}<a href="mailto:{{ site.footer-links.email }}">{% include svg-icons/email.html %}</a>{% endif %}
3+
{% if site.footer-links.facebook %}<a href="https://facebook.com/{{ site.footer-links.facebook }}">{% include svg-icons/facebook.html %}</a>{% endif %}
4+
{% if site.footer-links.flickr %}<a href="https://flickr.com/{{ site.footer-links.flickr }}">{% include svg-icons/flickr.html %}</a>{% endif %}
5+
{% if site.footer-links.github %}<a href="https://github.com/{{ site.footer-links.github }}">{% include svg-icons/github.html %}</a>{% endif %}
6+
{% if site.footer-links.instagram %}<a href="https://instagram.com/{{ site.footer-links.instagram }}">{% include svg-icons/instagram.html %}</a>{% endif %}
7+
{% if site.footer-links.linkedin %}<a href="https://linkedin.com/in/{{ site.footer-links.linkedin }}">{% include svg-icons/linkedin.html %}</a>{% endif %}
8+
{% if site.footer-links.pinterest %}<a href="https://pinterest.com/{{ site.footer-links.pinterest }}">{% include svg-icons/pinterest.html %}</a>{% endif %}
9+
{% if site.footer-links.rss %}<a href="{{ site.baseurl }}/feed.xml">{% include svg-icons/rss.html %}</a>{% endif %}
10+
{% if site.footer-links.twitter %}<a href="https://twitter.com/{{ site.footer-links.twitter }}">{% include svg-icons/twitter.html %}</a>{% endif %}
11+
{% if site.footer-links.stackoverflow %}<a href="https://stackoverflow.com/{{ site.footer-links.stackoverflow }}">{% include svg-icons/stackoverflow.html %}</a>{% endif %}

0 commit comments

Comments
 (0)