Parker Moore
1b8205245e
Went with @stomar's suggestion
2014-03-19 00:49:50 -04:00
Parker Moore
63e977721a
Add a message and error out when Pygments returns nil.
2014-03-19 00:48:35 -04:00
Parker Moore
d80471c0a3
Merge pull request #994 from stephenmcd/master
2014-03-17 17:45:49 -04:00
Stephen McDonald
de9ce3437d
Protect against nil @lang before fixing for css class names.
2014-03-18 08:41:49 +11:00
Parker Moore
e746b3bd5f
Initialize each command in its own class so we can be *magical*.
2014-03-13 14:07:05 -04:00
Parker Moore
ac37b8acee
Merge pull request #2122 from XhmikosR/whitespace
2014-03-11 11:10:04 -04:00
XhmikosR
553338636b
Trim trailing spaces and convert tabs to spaces.
2014-03-11 07:44:01 +02:00
Matt Rogers
19dc855551
Properly strip drive name from clean path when sanitizing path.
2014-03-10 14:35:19 -04:00
Parker Moore
37c2da5062
Properly clean path for Windows machines which is *nix-compliant.
2014-03-09 21:12:34 -04:00
Parker Moore
7787d64bce
Rename those Utils functions.
2014-03-04 15:52:05 -05:00
Parker Moore
5e8643d855
Add Utils.stringify_hash_keys
2014-03-04 15:44:53 -05:00
Parker Moore
e2af1b547b
Extract core extensions into a Utils module
...
Fixes #2111
2014-03-03 22:13:03 -05:00
Parker Moore
0633cbf8fa
Bring in jekyll-sass-converter
2014-02-28 21:20:20 -05:00
Parker Moore
9ffb984f37
Sass support should be shipped outside core.
2014-02-28 21:12:00 -05:00
Parker Moore
d7598ee9d2
Ensure inputted code is a string.
2014-02-24 17:42:46 -05:00
Parker Moore
77f26d5681
Upgrade to guard/listen 2.x
2014-02-24 17:10:43 -05:00
Parker Moore
8a0d036b87
Greatly simplify Jekyll's gemspec.
2014-02-24 16:15:51 -05:00
Parker Moore
b6f006c152
Merge pull request #2050 from jglovier/master
...
* jglovier-master: (35 commits)
Fix for menu at mobile again
Fix site footer styles on mobile
Fix for menu not working on mobile
dat breathing room tho (expand site width slightly more)
Replace footer github and twitter link text with inline SVG icons
Post content styles for mobile
Replace unicode menu icon with inline SVG
Adds mobile styling for menu at sub 600px viewport widths
🔥 permalink option so default date permalink method is left in tact
For the love of perf, add syntax.css rules to main.css and call only one stylesheet
Adds another placeholder post to illustrate post content styles
Dem new styles tho
Copy tweaks - brevity FTW
Use class instead of id for CSS specificity ❤️
Add link for RSS subscription
Slightly friendlier and personal date formatting; classes for dem styles, yo
Remove to avoid confusion with site.title
demonstrate use of permalink settings
Add site.url for use in head canonical meta and feed.xml template
Add site.description for use in site head document meta, and feed.xml template
...
2014-02-24 16:07:20 -05:00
Joel Glovier
e2c67e0239
Fix for menu at mobile again
2014-02-24 16:03:39 -05:00
Joel Glovier
2c100a8e87
Fix site footer styles on mobile
2014-02-24 15:56:49 -05:00
Joel Glovier
7fbc636824
Fix for menu not working on mobile
2014-02-24 15:42:03 -05:00
Parker Moore
57d07469d3
Sanitize paths uniformly, in a Windows-friendly way.
...
Fixes kinda a #1948 thing.
Related to #1946 .
2014-02-23 20:05:23 -05:00
Corey Ward
f1c4e247a5
Remove unnecessary references to `self`
2014-02-21 16:27:21 -06:00
Joel Glovier
bdd35789db
dat breathing room tho (expand site width slightly more)
2014-02-20 20:34:09 -05:00
Parker Moore
e0166682da
Sort the static files by relative path before sending to liquid
2014-02-19 14:02:03 -05:00
Parker Moore
e3dd908d55
Add StaticFile#to_liquid['extname'] :)
2014-02-19 13:55:58 -05:00
Parker Moore
b5a398bdff
Add StaticFile#to_liquid and StaticFile#relative_path
2014-02-19 13:35:13 -05:00
Parker Moore
949aa3fc32
Test fetching of static files
2014-02-19 13:16:21 -05:00
Parker Moore
6e40338f9e
Expose site.static_files to Liquid
2014-02-19 13:04:33 -05:00
Parker Moore
6a6e66bf9e
Merge pull request #2058 from jekyll/layouts-relative-to-config
2014-02-18 01:53:15 -05:00
Matt Rogers
b68229aa2c
Make LayoutReader#layout_directory public.
...
Since it's being used in a test, let's go ahead and expose it instead of
dealing with using Object#send to send the message along.
2014-02-17 22:13:29 -06:00
Joel Glovier
6bc4776199
Replace footer github and twitter link text with inline SVG icons
2014-02-17 22:23:30 -05:00
Joel Glovier
aa4280904a
Post content styles for mobile
2014-02-17 16:58:12 -05:00
Joel Glovier
1c5ed75e72
Replace unicode menu icon with inline SVG
...
- unicode menu icon doesn’t render pixel crisp (has some
anti-aliasing), whereas SVG renders pixel optimized
- using inline SVG (instead of a referenced, attached file, will save
an http request
2014-02-17 16:52:48 -05:00
Joel Glovier
893b664f34
Adds mobile styling for menu at sub 600px viewport widths
2014-02-17 16:36:21 -05:00
Parker Moore
e5bcddfbe0
Merge pull request #2041 from anthonyjsmith/webrick_index_xml
2014-02-17 16:23:25 -05:00
Joel Glovier
3e6f2d8cef
🔥 permalink option so default date permalink method is left in tact
2014-02-17 12:42:15 -05:00
Parker Moore
1a879a04ab
Add tests for determining source dir
2014-02-16 23:19:03 -05:00
Parker Moore
47babef79a
Make the layouts: config key relative to CWD or to Source
...
Fixes #1576 .
2014-02-16 22:42:38 -05:00
Parker Moore
ab0ebadee3
Merge master into security-vuln-patches
2014-02-16 22:02:03 -05:00
Parker Moore
264dfc164d
When an include cannot be found, only print file path relative to source.
2014-02-16 22:00:33 -05:00
Parker Moore
fb8e562123
Merge pull request #2042 from anthonyjsmith/draft-path
2014-02-16 21:36:00 -05:00
Markus Roth
c47751148c
Remove executable bits of non executable files.
2014-02-17 01:41:12 +01:00
Joel Glovier
28554fd307
For the love of perf, add syntax.css rules to main.css and call only one stylesheet
2014-02-15 23:27:34 -05:00
Joel Glovier
bd80ce4c61
Adds another placeholder post to illustrate post content styles
2014-02-15 23:24:30 -05:00
Joel Glovier
cac15574e7
Dem new styles tho
...
- Uses new typography, including Helvetica light, larger font-sizes,
and px values
- Wider site width, larger margins, and overall more whitespace
- Responsive down to mobile
2014-02-15 23:21:15 -05:00
Joel Glovier
1e28eee0c7
Copy tweaks - brevity FTW
2014-02-15 23:17:05 -05:00
Joel Glovier
6773307237
Use class instead of id for CSS specificity ❤️
2014-02-15 23:16:47 -05:00
Joel Glovier
a11f01784a
Add link for RSS subscription
2014-02-15 23:16:23 -05:00
Joel Glovier
e5cf3cbbc1
Slightly friendlier and personal date formatting; classes for dem styles, yo
2014-02-15 23:16:11 -05:00
Joel Glovier
3d464688fc
Remove to avoid confusion with site.title
2014-02-15 23:15:37 -05:00
Joel Glovier
8d05a54590
demonstrate use of permalink settings
2014-02-15 23:14:20 -05:00
Joel Glovier
e398c3b16c
Add site.url for use in head canonical meta and feed.xml template
2014-02-15 23:14:01 -05:00
Joel Glovier
287851ebb4
Add site.description for use in site head document meta, and feed.xml template
2014-02-15 23:13:43 -05:00
Joel Glovier
b3a2ea4e3e
Software with Personality™
2014-02-15 23:12:42 -05:00
Joel Glovier
240bbf4abb
Adds feed.xml file for generating an RSS feed
2014-02-15 23:10:25 -05:00
Joel Glovier
53ae5a7b0f
Add placeholder About page
2014-02-15 23:09:28 -05:00
Joel Glovier
1687f0855d
Add placeholder Projects page
2014-02-15 23:09:19 -05:00
Joel Glovier
16d8d05172
Adds a basic page template
...
Many users moving to Jekyll from other popular blogging options (like
Wordpress) will be used to thinking in terms of pages/posts. Having a
page template like this will be convenient for those users.
2014-02-15 23:07:10 -05:00
Joel Glovier
fcd2383de3
Refactor post template
...
- add article tags around post content
- creates post header
- add conditionals for extra options in meta
2014-02-15 23:04:44 -05:00
Joel Glovier
1b54afe67a
remove extra line
2014-02-15 23:03:13 -05:00
Joel Glovier
d5ea6e47dd
Restructure default template to include page content wrap
2014-02-15 23:02:41 -05:00
Joel Glovier
8fa48b492e
Footer markup restructuring
...
- rework footer to use columns
- add additional area for generic text
2014-02-15 23:02:04 -05:00
Joel Glovier
6d4e3f8c72
Refactor header markup
...
- use anchor instead of h1 for site title, for semantic accuracy, and
because post h1’s should be the post title
- implement nav wrapper for nav links
- use div.wrap for design structure
2014-02-15 23:00:37 -05:00
Joel Glovier
d52b9b7e5b
Remove redundant home link
2014-02-15 22:57:10 -05:00
Joel Glovier
a1b60430d6
Add canonical meta set with config params for more google ❤️
2014-02-15 22:56:30 -05:00
Joel Glovier
b9875b7bc8
Add description meta set in config, for teh google ❤️
2014-02-15 22:56:04 -05:00
Joel Glovier
7b0bf0d85c
Add conditional to default to site.name if no page.title is set
2014-02-15 22:55:14 -05:00
Joel Glovier
3b97799837
Separate global components into includes for convenience, and to familiarize users with includes structure
2014-02-15 22:53:48 -05:00
Zlatan Vasović
699066ef85
Add `.mkdown` as valid Markdown extension
...
GitHub Linguist recognizes `.mkdown` as Markdown, so Jekyll should support it as Jekyll is used on GitHub pages.
2014-02-15 22:01:37 +01:00
Anthony Smith
86208d8c33
Add index.xml to WEBrick DirectoryIndex
...
Resolves #2040
2014-02-13 23:12:36 +00:00
Parker Moore
88e35f0852
Release 2.0.0.alpha.1
2014-02-13 18:02:49 -05:00
Matt Rogers
ac7bed335a
Merge pull request #1976 from jekyll/fix-pagination-issue
...
Relative posts should never fail to build, even if @dir or @name is nil
2014-02-13 12:39:23 -06:00
Parker Moore
83f5b4d93b
Merge pull request #2031 from jekyll/utf8-heart
2014-02-13 12:53:58 -05:00
Josh Brown
69dc96dc9f
Removed accidental linebreak
2014-02-13 13:28:11 +00:00
Josh Brown
933590b6ba
Added a breakpoint for .site to make it responsive
2014-02-13 13:27:34 +00:00
Parker Moore
c58c5b8782
Default to using the UTF-8 encoding when reading files.
...
Fixes #2029 .
2014-02-11 17:48:52 -05:00
Anthony Smith
18279558da
Update #relative_path for _drafts and add tests.
...
Resolves #2019 . Add new tests for drafts. Also check path variable in
test for posts.
2014-02-11 12:48:34 +00:00
Parker Moore
56a633ae95
Update Jekyll version to latest released.
...
Latest release can be found on the v1-stable branch.
2014-02-09 18:44:30 -05:00
Parker Moore
dd3018ce02
Merge pull request #1988 from jekyll/maruku-to-kramdown
2014-02-08 17:07:54 -05:00
Parker Moore
22f2001ff5
Set default markdown converter to Kramdown
...
- Update default markdown converter in docs for configuration
- Update tests so they are in line with Kramdown output
- Add deprecation message to when config is built
2014-02-08 13:17:46 -05:00
Parker Moore
1176fc6f57
Give File.join the strings from the array
2014-02-08 00:38:59 -05:00
Matt Rogers & Persa Zula
c36a6d3e0d
Wrap the LayoutReader in the Jekyll module
2014-02-06 23:07:38 -06:00
Matt Rogers & Persa Zula
833b40095f
Rename `with` to `within`
...
Thanks @parkr
2014-02-06 23:07:11 -06:00
Matt Rogers & Persa Zula
fd92820b03
Remove Site#read_layouts
2014-02-06 22:46:09 -06:00
Matt Rogers
70ecef0094
Sort methods from most important to least important
...
This idea is based on the concept of a newspaper. The most important
things such as the headlines and the major details of the story at the
top. This translates to code in that the public API and the more
important private methods are at the top of the file. The more detailed
information (or methods, in the code) are further down, so that if
you've gotten all you need out of the code up to a certain point, you
don't need to keep reading anymore.
2014-02-06 22:22:06 -06:00
Matt Rogers
c5b81d580b
Refactor the LayoutReader class
2014-02-06 22:22:06 -06:00
Matt Rogers
f581940c71
Create a LayoutReader class to read layouts
2014-02-06 22:22:06 -06:00
Parker Moore
f638fb1784
Merge master into security-vuln-patches
2014-02-06 17:21:54 -05:00
Matt Rogers
5edb4c6bfd
Merge pull request #1982 from dtao/safe-yaml-no-clobber
2014-01-31 06:48:16 -08:00
Parker Moore
baabe7eb7e
DRY up code, props @tamouse
2014-01-30 22:03:10 -05:00
Matt Rogers
2b973468bf
Merge pull request #1991 from jekyll/coffeescript
2014-01-30 18:39:40 -08:00
Aziz Shamim
509e2181de
sync mime types to GitHub
2014-01-26 12:15:15 -06:00
Parker Moore
fdbfd719ca
Add CoffeeScript converter.
2014-01-25 20:38:51 -05:00
John Firebaugh
4a769dbf5f
Optimize Post#{next,previous}
...
Use object equality for comparisons rather than Comparable#==,
which in turn uses Post#<=>, which is slow.
This yielded a 3x performance improvement for `jekyll build`
on a large site (1m6.467s -> 0m19.532s).
2014-01-24 17:17:41 -08:00
Matt Rogers
5b7a53b543
Merge pull request #1932 from jekyll/sass
2014-01-24 15:18:06 -08:00
Parker Moore
c9a3c40f83
fixes based on @mattr-'s notes
2014-01-24 12:19:19 -05:00
Parker Moore
774bf96c61
Merge master into sass
2014-01-24 12:17:35 -05:00
Dan Tao
4f0b1bdf6d
switched from YAML.safe_load* to SafeYAML.load*
2014-01-23 17:25:17 -08:00
Matt Rogers
98857832cd
Merge pull request #1931 from liufengyun/published
2014-01-22 05:38:04 -08:00