Compare commits

..
110 Commits
Author SHA1 Message Date
Michael Rose 2362f621fb Add basic print styles
- Hide menu, social share buttons, and ads on print
- Close #191
2015-12-03 11:15:23 -05:00
Michael Rose be9722111b Revert "Update README.md"
This reverts commit 6bbbe819c8.
2015-11-30 23:17:06 -05:00
Michael Rose 6bbbe819c8 Update README.md 2015-11-30 23:15:26 -05:00
Michael Rose fd0f10d1a2 Update Font Awesome to 4.5.0 2015-11-30 09:59:24 -05:00
Michael Rose e0a6cc2b4a Merge pull request #199 from kamilszymanski/markup-fix
Fix home markup for link posts
2015-11-30 09:21:18 -05:00
Kamil Szymanski a4527d7e53 Fix home markup for link posts 2015-11-29 15:35:17 +01:00
Michael Rose 07769c89e9 Update gems 2015-11-10 09:55:31 -05:00
Michael Rose bb41054c69 Add note and link to MM-Jekyll 3 branch. 2015-10-30 14:07:22 -04:00
Michael Rose 7ad97aa8d4 Merge pull request #190 from BryceMehring/master
Removed duplicate 'powered by Disqus'
2015-10-07 11:18:45 -04:00
Bryce Mehring c02d05f8e1 Removed duplicate 'powered by Disqus' link.
This also fixes an issue during page load with Disqus comments on them, `comments powered by Disqus` displayed then got pushed down.
2015-10-06 22:13:05 -05:00
Michael Rose 68ddef6543 Add emphasized and bold text with links inside 2015-09-28 14:38:22 -04:00
Michael Rose c110735b7e Underline links wrapped in bolded (strong) text 2015-09-28 14:35:58 -04:00
Michael Rose 56ef95d630 Merge pull request #185 from alexandrnikitin/css-page-underline-links-in-ems
Underline links in emphasized blocks
2015-09-28 14:34:21 -04:00
Alexandr Nikitin ee06a1b20f Underline links in emphasized blocks 2015-09-28 15:15:15 +03:00
Michael Rose 0472218b5a Updated Font Awesome to 4.4
- Fixes #178
2015-09-06 20:59:19 -04:00
Michael Rose d5a0a2e585 Fix typo in menu button class
- .navtoogle should be .navtoggle
- Fixes #175
2015-08-19 12:50:58 -04:00
Michael Rose e7489a139d Merge pull request #166 from andreykurenkov/improve_year_output
Simplify year output logic in post_index
2015-08-07 11:47:53 -04:00
andreykurenkov 985a6fd47d Merged improvement to post-index.html 2015-08-05 19:24:19 -07:00
andreykurenkov 0498eb167c Revised year listing that is more robust to changes- 2015-08-05 19:23:00 -07:00
Michael Rose eddc18ccc0 Merge pull request #141 from cdodd/remove-whitespace
Remove trailing whitespace
2015-07-20 12:58:24 -04:00
Michael Rose d80b49f524 Merge pull request #157 from vlajos/patch-1
Stackoverflow username explanation
2015-07-20 12:52:40 -04:00
Michael Rose 215308a831 Merge pull request #158 from vlajos/patch-2
fix typo
2015-07-20 12:51:31 -04:00
Veres Lajos 8e55544e3e fix typo 2015-07-19 19:09:33 +01:00
Veres Lajos e33b45a7ad Stackoverflow username explanation 2015-07-19 15:12:20 +01:00
Michael Rose 8dafa9a753 Merge pull request #156 from hbarudin/add-codepen-social-option
Add CodePen to owner social options
2015-07-12 12:20:32 -04:00
Hannah Barudin d43aeab685 Add CodePen to owner social options 2015-07-11 22:08:55 -04:00
Michael Rose 09fdd3c5a4 Merge pull request #150 from kishore-mohan/facebook_metataf
facebook sharing image meta tag added related #149 issue
2015-06-11 09:41:34 -04:00
kishore-mohan dda901e46d facebook sharing image meta tag added related #149 issue 2015-06-11 17:54:57 +05:30
Craig Dodd f06b4c163d Remove trailing whitespace 2015-04-17 11:43:36 +01:00
Michael Rose 3d685a192f Show related posts only when there are 1 or more 2015-04-08 14:49:47 -04:00
Michael Rose 3bbb09770d Merge pull request #131 from thoemmi/patch-1
Update _author-bio.html
2015-03-08 17:01:33 -04:00
Thomas Freudenberg cd47e64b12 Update _author-bio.html
I'm sorry about the double slash 😞
2015-03-08 19:57:59 +01:00
Michael Rose 90830fb86f Merge pull request #130 from thoemmi/xing
In Germany XING is more popular than LinkedIn, so I added a link to the XING profile
2015-03-06 08:27:10 -05:00
Thomas Freudenberg 89271dd67d mis-aligment of email address (all other items have an leading whitespace) 2015-03-05 23:43:59 +01:00
Thomas Freudenberg 4bd0345eda added link to XING profile 2015-03-05 23:42:51 +01:00
Michael Rose f9d59eac80 Update gems 2015-03-03 09:50:22 -05:00
Michael Rose 45c6d84133 Remove http protocol from Google search form 2015-02-24 14:57:16 -05:00
Michael Rose 8c78e2f783 Remove feature image 2015-02-24 14:56:10 -05:00
Michael Rose 9698439543 Display custom 404 page
- Fixes #128
2015-02-24 14:54:55 -05:00
Michael Rose 3b2e58c7d8 Move feed footer to an include 2015-01-30 09:37:42 -05:00
Michael Rose 7811c598b0 Fix social share buttons overlapping on small screens 2015-01-22 12:18:35 -05:00
Michael Rose 87b8d0b129 Add optional social sharing buttons
- Social share buttons appear at the end of every post and page unless you add share: false to their YAML Front Matter
- Fixes #42
2015-01-21 11:21:50 -05:00
Michael Rose 9a1c5ff3e6 Improve table of contents
- Replace html snippet with _includes/toc.html
- Add FA icon to table of contents header
- Display table of contents on small screens
- Add hierarchy to toc with indents
2015-01-21 10:16:48 -05:00
Michael Rose 3688b97b3c Clean up comments 2015-01-21 09:32:22 -05:00
Michael Rose e916231560 Clean up comments in Sass partials 2015-01-20 15:25:57 -05:00
Michael Rose 422c0a467d Remove print styles 2015-01-20 15:20:01 -05:00
Michael Rose 1a538f15ac Fix typo 2015-01-20 14:28:03 -05:00
Michael Rose a41af6b53b Remove duplicate author content 2015-01-20 12:43:53 -05:00
Michael Rose 35761b2e8d Remove Google Authorship
- Fixes #120
- Add person microdata in author sidebar
2015-01-20 12:42:37 -05:00
Michael Rose c8919d2418 Merge pull request #119 from kennonkwok/add_flickr_social_button
add Flickr social button to author-bio.html
2015-01-12 14:25:46 -05:00
Kennon Kwok 050d690113 add Flickr social button to author-bio.html 2015-01-12 09:56:39 -08:00
Michael Rose 15a9ca5497 Merge pull request #116 from YuyingWu/master
add social button in author-bio.html
2015-01-05 13:58:59 -05:00
YuyingWu fad3d095a0 add social button in author-bio.html
sina weibo is a widely-used social community in China
2015-01-03 12:15:50 +08:00
Michael Rose f2f00daea4 Optimize images 2014-12-31 12:03:51 -05:00
Michael Rose 4fba65312f Document $paragraph-indent variable 2014-12-31 12:03:43 -05:00
Michael Rose 967190ebf9 Add grunt images task 2014-12-31 12:03:10 -05:00
Michael Rose 1eac280027 Remove http://localhost:4000 from site.url in _config.yml 2014-12-22 12:25:35 -05:00
Michael Rose 2cd25f2ca0 Fix home linke path 2014-12-22 12:25:03 -05:00
Michael Rose 96e60f2467 Update gemfile 2014-12-22 12:23:35 -05:00
Michael Rose 86146d58a0 Merge pull request #112 from clburlison/master
Missing trail </a>
2014-12-17 15:48:31 -05:00
Clayton Burlison 8b3737cf23 Missing trail </a>
The missing </a> willing cause an issue when someone is customizing the order of "Post then Date" to "Date then Post".
2014-12-17 13:56:10 -06:00
Michael Rose 1dabca2574 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# By unknown
# Via unknown
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  rel="nofollow" footer links
2014-11-23 21:52:43 -05:00
unknown 0ac42ec6f7 rel="nofollow" footer links 2014-11-23 21:52:21 -05:00
unknown 7bcb7412c9 rel="nofollow" footer links 2014-11-20 16:26:37 -05:00
unknown b2b54b8ca7 Add note about running Jekyll with bundle exec 2014-11-11 11:30:05 -05:00
unknown ee94c5d71f Update gems 2014-11-11 09:37:18 -05:00
unknown b6edd3592c Add protocol-relative URL example 2014-11-11 09:37:12 -05:00
Michael Rose 4e4944e6cb Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
# By jeremyvoltz
# Via Michael Rose (1) and jeremyvoltz (1)
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Added youtube and soundcloud for site owner
  Added the fixed width class for font awesome icons
2014-10-20 23:09:52 -04:00
Michael Rose dc06530dd4 Merge pull request #95 from jeremyvoltz/master
Fixed width fa icons for cleaner stacking, plus youtube and soundcloud
2014-10-20 23:09:13 -04:00
Michael Rose 5525242588 Move .image-wrap triangle down a few pixels to cover small gap 2014-10-20 23:09:05 -04:00
jeremyvoltz 6be4d23dab Added youtube and soundcloud for site owner 2014-10-20 13:06:15 -04:00
jeremyvoltz 9f610952b9 Added the fixed width class for font awesome icons
This will allow cleaner stacking of icons that aren’t square
2014-10-20 13:04:49 -04:00
Michael Rose d0313bd423 Fix broken TOC toggle 2014-10-03 15:14:20 -04:00
Michael Rose 80f6c002f5 Reduce size of sample feature images 2014-10-03 14:58:49 -04:00
Michael Rose fd2b2a15d6 Reduce size of feature image triangle
- On smaller screens reduce size of triangle
2014-10-03 14:29:12 -04:00
Michael Rose 3ba1427cca Fix button border color
- Remove bottom borders on links and use text-decoration: underline instead
- Use sans-serif font for button text
2014-09-30 16:35:45 -04:00
Michael Rose 0f0275010e Include new sample images for features 2014-09-30 16:27:36 -04:00
Michael Rose 99d4eee5bb Wrap all page content in #main div to fix #86
- Adjust article styles to correctly display post indexes
- Remove top margin from page titles
2014-09-30 16:07:20 -04:00
Michael Rose 1a837bbdb5 Remove references to .less
- Add Gist example
2014-09-14 14:55:28 -04:00
Michael Rose 5ec4da089a Merge pull request #81 from muhasturk/master
removed unused <a> tag in _author-bio.html
2014-09-12 16:27:31 -04:00
Mustafa Hasturk 88a22037f5 illegal character in query fixed 2014-09-12 08:14:05 +03:00
Mustafa Hasturk fc7aa8f8b8 removed unused <a> tag in _author-bio.html 2014-09-12 08:08:10 +03:00
Michael Rose 91c30a0bf6 Fix typo 2014-09-09 06:34:18 -04:00
Michael Rose 8803c2d53c Merge pull request #80 from cazzar/patch-1
Fix up small spelling mistake in ad code.
2014-09-09 06:30:56 -04:00
Cayde Dixon 285dad5a92 Fix up small spelling mistake in ad code. 2014-09-09 15:08:58 +10:00
Michael Rose 50f46ab257 Make Google AdSense banner in footer conditional 2014-09-04 20:58:32 -04:00
Michael Rose b5cc7d19a0 Remove "layout: none" from feed.xml 2014-09-04 20:57:00 -04:00
Michael Rose 7b24a02e13 Mention that Octopres is optional
- Used to automate the creation of new posts and pages
2014-09-04 20:54:33 -04:00
Michael Rose 43fb2e5688 Fix Google webfonts to load over http and https 2014-08-23 18:10:31 -04:00
Michael Rose 3c73f33311 Change .less to .scss 2014-08-09 13:50:29 -04:00
Michael Rose faf03b2b3f Remove references to .less files 2014-08-09 13:42:51 -04:00
Michael Rose f5a313f703 Update about page 2014-08-08 20:53:23 -04:00
Michael Rose 83b4fde120 Fix Google+ variable in author sidebar 2014-08-08 20:50:46 -04:00
Michael Rose 2c36474aa1 Include examples for social media links 2014-08-08 20:48:04 -04:00
Michael Rose 10300e3d62 Remove extra + 2014-08-08 20:41:43 -04:00
Michael Rose 161585f6ad Only include email if author has an email address specified 2014-08-08 20:37:57 -04:00
Michael Rose 027176b38f Merge pull request #71 from soxyl/feed-author
Author Override for the Feed
2014-08-08 20:35:45 -04:00
Michael Rose f0d24a56d6 Fix typos and grammar 2014-08-08 15:45:24 -04:00
Samuel Wicky 4bfaa6c82f Merge branch 'master' into feed-author 2014-08-08 17:46:57 +03:00
Samuel Wicky f3a937d08e Fixed wrong author name in feed.xml 2014-08-07 19:39:45 +03:00
Michael Rose dc5a28f1c3 Merge pull request #70 from simathur/patch-1
Delete Gemfile.lock
2014-08-07 08:34:05 -04:00
simathur a0b8dcb838 Delete Gemfile.lock
This file was added to the .gitignore recently, but hasn't been deleted from the code line.
2014-08-07 15:48:35 +05:30
Michael Rose 73d41d7277 Change link name from email address to just "Email"
- Fixes #68
2014-08-06 22:56:37 -04:00
Michael Rose 1c008c25a8 Update license 2014-08-06 08:12:33 -04:00
Michael Rose 644586e6ae Make it generic 2014-07-31 16:15:59 -04:00
Michael Rose aba6002f4e Add alternate bio photo for testing purposes 2014-07-31 15:21:30 -04:00
Michael Rose 0236054d34 Add optional email address to author bio and feed.xml
- Fixes #35
- To add additional social network profiles edit _author-bio.html
- Icons come from the Font Awesome webfont. See http://fontawesome.io/icons/ for a complete list
2014-07-31 15:21:11 -04:00
Michael Rose 5a2d0ed5cf Ignore 2014-07-31 15:08:35 -04:00
Michael Rose efcf3c9bb7 Remove 2014-07-31 15:08:03 -04:00
Michael Rose 59f9a27ee9 Update 2014-07-31 15:07:48 -04:00
17 changed files with 125 additions and 106 deletions
-1
View File
@@ -6,4 +6,3 @@ _site
codekit-config.json
node_modules
_asset_bundler_cache
.jekyll-metadata
+3 -4
View File
@@ -1,6 +1,5 @@
source "https://rubygems.org"
gem "jekyll", "~> 3.0"
gem "jekyll-sitemap"
gem "jekyll-gist"
gem "octopress"
gem 'jekyll', '2.5.3'
gem 'jekyll-sitemap'
gem 'octopress', '~> 3.0'
+48 -32
View File
@@ -1,36 +1,49 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.3.8)
blankslate (2.1.2.4)
classifier-reborn (2.0.4)
fast-stemmer (~> 1.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.9.1.1)
colorator (0.1)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
execjs (2.6.0)
fast-stemmer (1.0.2)
ffi (1.9.10)
jekyll (3.1.1)
ffi (1.9.10-x64-mingw32)
ffi (1.9.10-x86-mingw32)
jekyll (2.5.3)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
rouge (~> 1.7)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-sitemap (0.10.0)
jekyll-watch (1.3.1)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-gist (1.3.5)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-sitemap (0.9.0)
jekyll-watch (1.3.0)
listen (~> 3.0)
kramdown (1.9.0)
liquid (3.0.6)
listen (3.0.5)
liquid (2.6.3)
listen (3.0.4)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
multipart-post (2.0.0)
octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
octopress (3.0.11)
jekyll (>= 2.0)
mercenary (~> 0.3.2)
@@ -41,30 +54,33 @@ GEM
titlecase
octopress-deploy (1.3.0)
colorator
octopress-escape-code (2.1.1)
jekyll (~> 3.0)
octopress-escape-code (2.0.6)
octopress-hooks (~> 2.0)
octopress-hooks (2.6.1)
jekyll (>= 2.0)
rb-fsevent (0.9.7)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.6)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.3.4)
rouge (1.10.1)
redcarpet (3.3.3)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
sass (3.4.19)
titlecase (0.1.1)
toml (0.1.2)
parslet (~> 1.5.0)
yajl-ruby (1.2.1)
PLATFORMS
ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
jekyll (~> 3.0)
jekyll-gist
jekyll (= 2.5.3)
jekyll-sitemap
octopress
BUNDLED WITH
1.11.2
octopress (~> 3.0)
+4 -2
View File
@@ -1,6 +1,8 @@
# Minimal Mistakes
**[Minimal Mistakes](http://mmistakes.github.io/minimal-mistakes)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog built. Compatible with Jekyll 3.0 and up.
**[Minimal Mistakes](http://mmistakes.github.io/minimal-mistakes)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog.
**Jekyll 3 Update:** A version of Minimal Mistakes compatible with Jekyll 3 can be found in the [`jekyll3` branch](https://github.com/mmistakes/minimal-mistakes/tree/jekyll3). GitHub Pages is [locked at version 2.4](https://pages.github.com/versions/) so some keep that in mind if you're trying to use 3.0 features that aren't supported there yet.
## Minimal Mistakes is all about:
@@ -18,6 +20,6 @@ See a [live version of Minimal Mistakes](http://mmistakes.github.io/minimal-mist
## Getting Started
Minimal Mistakes takes advantage of Sass and data files to make customizing easier. These features require [Jekyll 2.x](https://github.com/mmistakes/minimal-mistakes/releases/tag/2.1.3) and will not work with older versions of Jekyll.
Minimal Mistakes takes advantage of Sass and data files to make customizing easier. These features require Jekyll 2.x and will not work with older versions of Jekyll.
To learn how to install and use this theme check out the [Setup Guide](http://mmistakes.github.io/minimal-mistakes/theme-setup/) for more information.
+32 -32
View File
@@ -1,61 +1,61 @@
# Site wide configuration
title: Minimal Mistakes
title: Site Title
locale: en_US
url: //mmistakes.github.io/minimal-mistakes
url:
# Jekyll configuration
permalink: /:categories/:title/
markdown: kramdown
highlighter: rouge
highlighter: pygments
sass:
sass_dir: _sass
style: compressed
gems:
- jekyll-sitemap
- jekyll-gist
kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
enable_coderay: false
# Octopress
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true
use_coderay: false
# Site owner
owner:
name: Michael Rose
name: Your Name
avatar: bio-photo.jpg
bio: "Just another boring, time traveling, tattooed, designer from Buffalo New York."
disqus-shortname: minimalmistakes
twitter: mmistakes
facebook: michaelrose
bio: "Describe your self."
email:
disqus-shortname:
twitter: #username
facebook: #username
google:
plus: MichaelRoseDesign
analytics: UA-2011187-3
verify: UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y
ad-client: ca-pub-7328585512091257
ad-slot: 7855747535
bing-verify: D81F4C18A6CB3018F64D7C827D953DFD
github: mmistakes
instagram: mmistakes
plus: #username
analytics:
verify:
ad-client:
ad-slot:
bing-verify:
github: #username
stackoverflow: #123456/username from a "http://stackoverflow.com/users/123456/username" link
linkedin: #username
xing: #username
instagram: #username
lastfm: #username
tumblr: #username
pinterest: #username
foursquare: #username
steam: #username
dribbble: #username
youtube: #username
soundcloud: #username
weibo: #username
flickr: #username
codepen: #username
include: [".htaccess"]
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
+3
View File
@@ -8,3 +8,6 @@
- title: Theme Setup
url: /theme-setup/
- title: Made Mistakes
url: http://mademistakes.com
+2 -2
View File
@@ -1,7 +1,7 @@
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads">
<!-- 320 x 50 ad -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="{{ site.owner.google.ad-client }}"
@@ -12,4 +12,4 @@
</div><!-- /.google-ads -->
{% endif %}
<span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
<span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="http://mademistakes.com/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a> theme.</span>
+1 -1
View File
@@ -3,7 +3,7 @@
<a href="{{ site.url }}/">{{ site.title }}</a>
</div><!-- /.site-name -->
<div class="top-navigation">
<nav id="site-nav" class="nav">
<nav role="navigation" id="site-nav" class="nav">
<ul>
{% for link in site.data.navigation %}
{% if link.url contains 'http' %}
+10
View File
@@ -0,0 +1,10 @@
# Default extensions
post_ext: md
page_ext: md
# Found in _templates/
post_layout: post
page_layout: page
# Format titles with titlecase?
titlecase: true
+4 -4
View File
@@ -3,7 +3,7 @@ layout: post
title: Syntax Highlighting Post
excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
tags: [sample post, code, highlighting]
modified: 2016-02-01
modified: 2014-09-14
comments: true
---
@@ -11,9 +11,9 @@ Syntax highlighting is a feature that displays source code, in different colors
[^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
### Highlighted Code Blocks
### Pygments Code Blocks
To modify styling and highlight colors edit `/_sass/syntax.scss`.
To modify styling and highlight colors edit `/_sass/_pygments.scss`.
{% highlight css %}
#container {
@@ -73,7 +73,7 @@ end
### Fenced Code Blocks
To modify styling and highlight colors edit `/_sass/coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
To modify styling and highlight colors edit `/_sass/_coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
~~~ css
#container {
+4 -10
View File
@@ -234,15 +234,12 @@ $button-size: 1.5rem;
@include suffix(12,1);
margin-bottom: 2em;
@media #{$small} {
@include grid(12,8);
@include grid(12,6);
@include prefix(12,0);
@include suffix(12,0);
}
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} {
@include grid(12,5);
@include grid(12,4.5);
}
}
}
@@ -255,15 +252,12 @@ $button-size: 1.5rem;
@include suffix(12,1);
margin-bottom: 2em;
@media #{$small} {
@include grid(12,8);
@include grid(12,6);
@include prefix(12,0);
@include suffix(12,0);
}
@media #{$large} {
@include grid(12,6);
}
@media #{$x-large} {
@include grid(12,5);
@include grid(12,4.5);
}
h3 {
margin: 0;
+2 -7
View File
@@ -1,16 +1,11 @@
/* ==========================================================================
Syntax highlighting
Pygments.rb syntax highlighting
========================================================================== */
pre.highlight {
padding: 1em;
}
.highlight {
background-color: #efefef;
font-family: $code-font;
@include font-rem(12);
line-height: 1.5;
@include font(12);
color: #333332;
margin-bottom: 1.5em;
@include rounded(4px);
+1
View File
@@ -3,6 +3,7 @@ layout: page
title: About the Theme
tags: [about, Jekyll, theme, responsive]
modified: 2014-08-08T20:53:07.573882-04:00
comments: true
image:
feature: sample-image-2.jpg
credit: WeGraphics
+1 -1
View File
@@ -18,7 +18,7 @@ sitemap: false
@import "normalize";
@import "site";
@import "typography";
@import "syntax";
@import "pygments";
@import "coderay";
@import "elements";
@import "forms";
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

+5 -5
View File
@@ -1,7 +1,7 @@
---
layout: page
title: Theme Setup
modified: 2016-01-19
modified: 2014-07-31T13:23:02.362000-04:00
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
image:
feature: sample-image-3.jpg
@@ -13,7 +13,7 @@ image:
## Installation
Minimal Mistakes now requires [Jekyll](http://jekyllrb.com/) 3.0. Make sure to run `bundle update` if you aren't on the latest version to update all gem dependencies.
Minimal Mistakes now requires [Jekyll](http://jekyllrb.com/) 2.2+. Make sure to run `gem update jekyll` if you aren't on the latest version or `gem install jekyll` if this is your first time installing it.
If you are creating a new Jekyll site using Minimal Mistakes follow these steps:
@@ -38,7 +38,7 @@ If you want to use Minimal Mistakes with an existing Jekyll site follow these st
## Running Jekyll
The preferred method for running Jekyll is with `bundle exec`, but if you're willing to deal gem conflicts feel free to go cowboy with a `jekyll build` or `jekyll serve`.
If `jekyll build` and `jekyll serve` throw errors you may have to run Jekyll with `bundled exec` instead.
> In some cases, running executables without bundle exec may work, if the executable happens to be installed in your system and does not pull in any gems that conflict with your bundle.
>
@@ -145,7 +145,7 @@ To set what links appear in the top navigation edit `_data/navigation.yml`. Use
While completely optional, I've included Octopress and some starter templates to automate the creation of new posts and pages. To take advantage of it start by installing the [Octopress](https://github.com/octopress/octopress) gem if it isn't already.
{% highlight bash %}
$ gem install octopress
$ gem install octopress --pre
{% endhighlight %}
### New Post
@@ -159,7 +159,7 @@ $ octopress new post "Post Title"
Default works great if you want all your posts in one directory, but if you're like me and want to group them into subfolders like `/posts`, `/portfolio`, etc. Then this is the command for you. By specifying the DIR it will create a new post in that folder and populate the `categories:` YAML with the same value.
{% highlight bash %}
$ octopress new post "New Portfolio Post Title" --dir portfolio
$ octopress new post "New Post Title" --dir posts
{% endhighlight %}
### New Page