Commit Graph

252 Commits

Author SHA1 Message Date
earaya
b9191cc61a optimized order of styles and scripts in header 2012-07-11 18:29:21 -06:00
OGINO Masanori
f3c68bb73f Do not strip trailing slash of canonical URLs.
Usually, links for posts are generated with a trailing slash, but
canonical URLs aren't.  Some services (e.g. http://b.hatena.ne.jp/)
are confused with that behavior.

We can fix it by removing canonical URLs, but then anyone may read
a post with /index.html URL and post the URL to some tool or service.
Therefore rel="canonical" seems useful IMHO.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2012-06-02 11:14:12 +09:00
Brandon Mathis
c9d3b0e288 Merge pull request #499 from lukekarrys/patch-1
Don't display comments link for post excerpts on index page when comments for that post are set to false
2012-05-21 23:13:28 -07:00
Brandon Mathis
d71223c675 updated to latest version of Sass, fixed deprecation warnings 2012-05-19 14:48:37 -05:00
Josep del Rio
79aa4eb4f7 Added robots.txt, with sitemap link 2012-04-19 00:15:05 +02:00
Luke Karrys
8b8fff3b03 Don't display comments link for post excerpts on index page when comments for that post are set to false. 2012-03-23 13:06:01 -07:00
Brandon Mathis
9f40242b1e Merge pull request #376 from robertkowalski/clrf
Fix CRLF, closes #374
2012-03-07 13:40:54 -08:00
Trey Hunner
0996e56f76 Add EditorConfig file for classic theme 2012-02-26 11:08:38 -08:00
Chris Miller
d38f9f8e43 Fix for bottom margin in nested lists. 2012-02-24 12:44:35 -07:00
Brandon Mathis
a8c9fb8d7a Merge pull request #427 from joliss/typo
Fix typo
2012-02-19 11:26:41 -08:00
Fletcher Tomalty
4b8aeb2774 Github -> GitHub (capitalization) 2012-02-19 01:40:53 -05:00
Jo Liss
08bafd61fd Fix typo 2012-02-15 20:19:00 +01:00
Robert Kowalski
6dacdbf3fd Fix CRLF, closes #374 2012-01-14 23:17:59 +01:00
Brandon Mathis
930747f06f Fix for annoying overflow scroll issues caused by facebook and twitter share/follow widgets. 2012-01-08 19:56:55 -06:00
hSATAC
a5a16b4039 Fix delicious widget js error
JS error occured when there's no tags on bookmarks
Check if it's an empty string before join item[i].t
2011-12-21 10:53:32 +08:00
Aditya Shevade
11bdf8ab66 Removed redeclaration of sidebar-border. 2011-12-12 21:31:21 -08:00
Tim Gray
78fd9f48f9 Added !default to noise-bg
This lets us override the noise.png background image in the custom SCSS
files if we choose.
2011-12-12 11:14:15 -05:00
Tim Gray
2c1ec7434b Search box can be toggled off.
By leaving 'simple_search' parameter blank in the _config.yml file, the
search form in the navigation.html include is omitted.  This lets you
put your own custom search form in the custom/navigation.html file.
2011-12-11 16:15:39 -05:00
Brandon Mathis
692c8f3491 removed overflow hidden from <article> to prevent clipping on facebook's send dropdown, and fixed bug with styling on twitter status links 2011-12-10 12:50:04 -06:00
Brandon Mathis
645eb6140b now mobile navigation inlcudes subscription links fixes #299 2011-12-10 12:49:55 -06:00
Brandon Mathis
738a284399 removed size restriction on twitter sidebar follow button 2011-12-10 12:49:29 -06:00
Frederic Hemberger
e8ee5219c3 Merge pull request #271 from simensen/ConfigureFontFamilyForSubtitle
Make font-family for subtitle configurable.
2011-12-10 03:49:26 -08:00
Frederic Hemberger
a34bdf251c Merge pull request #270 from omo/missing-default-variables
Add missing default qualifiers to some sass variables.
2011-12-10 03:46:33 -08:00
Nikolay Sturm
6bf5258f1f nested lists should not have a margin-bottom 2011-12-02 16:04:36 +01:00
Frederic Hemberger
76af6980d4 Remove !default from property values 2011-11-18 11:38:58 +01:00
Frederic Hemberger
9e2d7474ae Add header font size and padding to custom layout 2011-11-18 11:38:15 +01:00
Frederic Hemberger
fe28a3bd05 Add missing $header-padding-top, $header-padding-bottom. 2011-11-18 11:37:08 +01:00
Jake McCrary
c1e6ad5ed3 Make header font size customizable.
Change $header-font-size variable to specify size.
2011-11-17 21:21:26 -06:00
Beau Simensen
9c700f3e46 Provide a way to configure font family for subtitle. 2011-11-13 22:20:20 -06:00
MORITA Hajime
ea8adeaa10 Added missing default qualifiers to some sass variables. 2011-11-12 09:38:51 +09:00
Frederic Hemberger
a11e92b2ae Fix custom colors -bg-back, closes #269 2011-11-11 07:40:45 +01:00
Frederic Hemberger
987dccee76 Add custom date format to pages, add 'updated' field again
Reverts changes of c2a68cc where I accidentally removed support for 'updated' field, see comments of issue #164 for details.
2011-11-03 20:32:38 +01:00
Frederic Hemberger
262eb52bc5 Reverted commit 514e848 (issue #236), should fix Disqus identifier issues.
See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues
2011-11-01 17:29:29 +01:00
Frederic Hemberger
029fa9bf31 Add response check, fixes #252 2011-10-28 16:21:02 +02:00
MORITA Hajime (omo)
20e566f58f Makes font-family names customizable.
This chagne instroduces following variables
that allows authors to customize a font family for each class.
- $serif
- $sans
- $heading-font-family
- $header-title-font-family

This change also adds anotehr custom scss file named "_fonts.scss".
We can use it to override these newly introduced variables.
2011-10-24 03:03:44 -07:00
MORITA Hajime (omo)
633b3389f3 Make the background and the footer gradiations customizable
This change extracts following variables for allowing customizatin:
- nav-bg-back
- nav-bg-front
- footer-bg-back
- footer-bg-front
2011-10-23 06:55:20 -07:00
Aaron Malone
3bba3ed4cf only include facebook js if facebook_like is true 2011-10-23 00:46:00 -05:00
Frederic Hemberger
a81ef5e28b Improve handling of meta description 2011-10-21 15:00:32 +02:00
Frederic Hemberger
514e84831c Use canonical URL for Disqus, fixes #236 2011-10-21 14:04:34 +02:00
Frederic Hemberger
81e814a354 Remove unsupported 'updated' flag from _includes/post/date.html
Jekyll does not support this value for Page or Post classes. The
capture returned an empty Sting, which was always evaluated to true
in '{% if updated %}'.
2011-10-18 17:39:19 +02:00
Frederic Hemberger
c2a68cc2a9 Make post's date output configurable via _config.yml, closes #164
A new config variable 'date_format' is introduced in _config.yml.
It can either be set to "ordinal" to use the current format or it
can be given a string complying to strftime() format identifiers.
2011-10-18 17:25:31 +02:00
Frederic Hemberger
ff7099207b Moves Google Analytics to <head> allowing verification for Google Webmaster Tools, fixes #204 2011-10-17 20:34:13 +02:00
Frederic Hemberger
35a598df03 Adds support for Google+ widget, supports author information in search results, fixes #203 2011-10-17 20:14:29 +02:00
Frederic Hemberger
1362e9d57b Removes <nav> for Pagination links, fixes #216 2011-10-17 18:50:28 +02:00
Jimmy Tang
6d0ee69091 fix typo in scss template 2011-10-16 23:28:37 +01:00
Frederic Hemberger
b1ad2a3d8a Fixes solarized colors, fixes #219 2011-10-16 14:45:35 +02:00
Frederic Hemberger
2812bf7c3e Adds prev/next link below post, fixes #218 2011-10-16 14:27:21 +02:00
Frederic Hemberger
d84daa2a88 Merge pull request #201 from mikl/category-feeds
Adds per-category Atom feeds.
2011-10-16 04:58:14 -07:00
Frederic Hemberger
21803814bc Adds parameter for left aligned pullquotes, fixes #215 2011-10-16 13:37:06 +02:00
Frederic Hemberger
2dedad6176 Merge branch 'master' of https://github.com/strand/octopress into strand/octopress 2011-10-16 13:19:42 +02:00
Frederic Hemberger
d98a4de07e Makes titlecase of page/post titles configurable 2011-10-16 11:57:29 +02:00
B Strand
2e7bc43cf7 Reverted previous commit. 2011-10-13 11:32:58 -07:00
B Strand
5b0486ced1 Separated citation style from the general blockquote style. The general blockquote style is great for nesting and indentation, while the citation is excellent for quote attribution. 2011-10-12 13:28:58 -07:00
B Strand
490b2593ec Renamed has-pullquote and has-pullquoteleft classes to pullquote-right and pullquote-left (I suppose a less stylistic naming convention might pullquote-default and pullquote-alternate.) 2011-10-12 11:17:24 -07:00
strand
ce6604a15e Edited .themes/classic/sass/base/_typography.scss via GitHub 2011-10-11 16:09:38 -07:00
Frederic Hemberger
13babc6d7d Merge pull request #210 from xdworks/294accde545a7213b274c5b625b44a17ed72e0f3
Facebook Like button integration, fixes #176
2011-10-11 05:29:09 -07:00
xdite
294accde54 facebook like option 2011-10-09 16:36:53 +08:00
Drew Wells
734ee1f31e As other things rely on these variables, they need to be global.
Fixes issues with comments not loading on the blog.  
Semicolons non-optional due to SAFE function http://twitter.com/#!/elijahmanor/status/121980870428069890
2011-10-09 04:14:27 -03:00
Frederic Hemberger
e4df98317a Fixes delicious API url after moving from Yahoo! to AVOS, fixes #179 2011-10-06 18:31:49 +02:00
Mikkel Hoegh
e1d680ff11 Fixed duplicate title. 2011-10-06 11:54:03 +02:00
Mikkel Hoegh
66916f57a7 First attempt at creating per-category Atom feeds. 2011-10-05 00:27:17 +02:00
Frederic Hemberger
6315527b2f Adds CDATA sections to atom.xml, fixes #198 2011-10-04 19:18:40 +02:00
Mikkel Hoegh
f4a6bd2a68 Add generator tag to Atom feed.
generator is an optional element, but let's give credit where it's due.
Besides, it can be helpful to feed consumers to know what tool generated the file.
2011-10-04 00:24:16 +02:00
Aleksey Gureiev
63c3ba6514 Proper atom feed xml escaping 2011-10-02 09:05:54 +03:00
Brandon Mathis
ff2009577d improved support for solarized light theme 2011-10-01 15:57:40 -05:00
Frederic Hemberger
2f7d9f3896 Fixes flow for sidebar three column mode 2011-09-30 15:27:06 +02:00
Brandon Mathis
898b149dda removed console.log from twitter.js #facepalm 2011-09-29 19:59:06 -05:00
Brandon Mathis
579142c28b fixed issue with expanded twitter urls, fixed issue where twitter would report seven day old tweets as "false" 2011-09-29 19:55:23 -05:00
Brandon Mathis
d0d1e2a98d updated github.js to use reqwest.js with Ender 2011-09-29 16:06:09 -05:00
Brandon Mathis
b19e7698f6 added support for adding content to the bottom of a page 2011-09-29 14:51:26 -05:00
Brandon Mathis
9cf956cc96 added buffer for mentions in twitter stream 2011-09-28 00:53:54 -05:00
Brandon Mathis
347c954894 updated added reqwest to ender.js, fixed twitter.js url expansion bug 2011-09-27 23:51:01 -05:00
Brandon Mathis
04586299b1 fixed github line numbering issue, fixed a few bugs in code block styling 2011-09-27 00:58:07 -05:00
Brandon Mathis
02433114c5 Merge branch 'master' of github.com:imathis/octopress 2011-09-26 09:12:03 -05:00
Brandon Mathis
7a7825f667 collapse sidebar is now possible site-wide 2011-09-26 09:11:40 -05:00
Frederic Hemberger
ab62bb9355 jsHint'ed octopress.js 2011-09-26 14:41:39 +02:00
Frederic Hemberger
569717abdc jsHint'ed github.js 2011-09-26 14:37:01 +02:00
Frederic Hemberger
40a7809d65 Fixes delicious integration #179 2011-09-26 14:19:47 +02:00
Frederic Hemberger
167db49940 Refactores twitter widget
- Order of code: Define functions first before using them
- Fixed issues found by jsHint (http://jshint.com)
- Switched to Twitter's current API url
- Expand shortened urls, fixes #165
2011-09-26 13:53:12 +02:00
Brandon Mathis
d1e5c45e79 Ender.js is now loaded locally instead of hotlinking 2011-09-25 21:31:22 -05:00
Brandon Mathis
eade4fc0d5 now layouts or pages can specify "sidebar: collapse" in the yaml front matter for an always collapsed sidebar 2011-09-25 21:31:18 -05:00
Brandon Mathis
c26e5c3be9 Merge branch 'master' of github.com:imathis/octopress 2011-09-25 09:15:14 -05:00
Brandon Mathis
9ef928588b mobile nav javascript updated to still work with role='main-navigation' since changes affecting custom partials don't get updated with the standard update script 2011-09-25 09:15:04 -05:00
Frederic Hemberger
2f60361a7b Fixes child selector for param[name=movie], #168 2011-09-24 12:43:44 +02:00
Frederic Hemberger
27c736bff5 Minor fixes 2011-09-21 15:01:23 +02:00
Frederic Hemberger
a9a901c136 Fixed misuse of ARIA roles (see http://dev.opera.com/articles/view/introduction-to-wai-aria/) 2011-09-21 14:48:38 +02:00
Frederic Hemberger
2a30d9a1eb Refactored inclusion of disqus script
- Added ARIA setting `aria-live="polite"` to comment output
- Removed duplicate <div id="disqus_thread"> from page/post templates
- Moved blocking JavaScript loading to the end of the document body.
- Merged JavaScript code for index and pages/posts using conditionals
- Moved global JavaScript disqus variables into the anonymous function to stop pollution of global namespace
2011-09-21 14:09:48 +02:00
Frederic Hemberger
b2828eb039 Added optional comment count for disqus, fixes #88 2011-09-21 11:46:48 +02:00
Frederic Hemberger
111142c5c2 Fixes whitespace, removed unnecessary closing '/' in HTML5 2011-09-21 10:13:23 +02:00
Frederic Hemberger
0b5215c0f5 Adds first 150 chars of content as meta description, if no page.description specified. Fixes #162 2011-09-21 10:08:38 +02:00
Frederic Hemberger
347e855ddc Fixes HTML validation issues with code highlighting 2011-09-18 13:55:35 +02:00
Frederic Hemberger
9e5e3c5d2f Fixes spacing and global variable leaks, JSHint check
octopress.js now almost passes JSHint (http://jshint.com). The only issues left
are due to undefined Modernizr and swfobject objects and the compressed
swfobject code at the end of the file, but those are neglectable.
2011-09-18 13:50:23 +02:00
Brandon Mathis
728bdad5ca removes index.html from canonical urls. closes #153 2011-09-17 09:40:32 -05:00
Brandon Mathis
3d2d1a8be4 1. Vastly improved backtick code blocks and added support for Textile
2. Refactored Octopress filters into Liquid filters and pre/post render filters (using post_filters plugin)
3. Added methods to raw plugin to prevent Markdown and Textile from parsing blocks
4. Updated render partial to invoke the pre_render method of post_filters
5. Moved Rubypants filter out of default.html into Octopress post_render filters
6. Added raw's safe_wrapper method to codeblock and include_code filters
2011-09-07 18:34:21 -05:00
Brandon Mathis
3d05721908 fixed missing date in page headers 2011-09-06 03:18:31 -05:00
Brandon Mathis
4c21e69093 Time metadata for updated pages and posts are now displayed where and when it is appropriate 2011-09-04 14:19:16 -05:00
Brandon Mathis
8c0dd58ee6 changed left angle quote to dash for page titles 2011-09-04 09:21:01 -05:00
Brandon Mathis
ed0c220523 Merge branch 'master' of https://github.com/fhemberger/octopress into fhemberger-master
Conflicts:
	plugins/category_generator.rb
2011-09-04 08:37:22 -05:00
fhemberger
dae6cceec2 show page.title first, best practice for SEO and usability (e.g. bookmarks) 2011-09-04 12:21:58 +02:00
fhemberger
8de095bfa9 move code for Twitter, Google +1 and Google Analytics to bottom of page, as inline <script> tags are always blocking page load 2011-09-04 12:17:44 +02:00