Commit Graph

73 Commits

Author SHA1 Message Date
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
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
fhemberger
2efe11e0eb 'updated' is not a valid attribute for <time>, moved to data attribute 2011-09-04 12:12:27 +02:00
fhemberger
b6f1451b77 datetime must be valid date format, see: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#concept-datetime 2011-09-04 12:06:20 +02:00
fhemberger
104bff64ee use semantic HTML5 element for Google +1 button, see: http://code.google.com/intl/en-US/apis/+1button/#plusonetag 2011-09-04 11:19:07 +02:00
Brandon Mathis
5324fa9e4c Merge branch 'github-repositories-plugin' of https://github.com/pilif/octopress into pilif-github-repositories-plugin 2011-09-03 09:09:15 -05:00
Brandon Mathis
bd44056045 fixed bug with twitter feed where it would sometimes say "undefined" if the post was more than a month old 2011-09-02 16:43:49 -05:00
Brandon Mathis
599cd4e07c updated date now shows up properly 2011-08-22 17:24:02 -04:00
Brandon Mathis
9e8eec332c added excerpt_link to article include. fixes #97 2011-08-20 17:31:22 -04:00
Brandon Mathis
596ec87c37 now only excerpted articles show the "read on" link. Also the text for that link can be set in the _config.yml 2011-08-20 16:02:50 -04:00
Brandon Mathis
ef5b0e8ad7 removed unusable blog_index partial 2011-08-16 00:45:26 -04:00
Brandon Mathis
1c555116be Added support for pagination with a blog index in any directory (helps with landing pages). Added configuration for pagination directory base 2011-08-16 00:43:22 -04:00
Brandon Mathis
33112a65a8 page layout will now accept pages without title metadata 2011-08-14 17:47:46 -04:00
Brigham Brown
648d4cc238 Fix extra subdirectories appearing in category links and atom.xml link. 2011-08-11 21:30:45 -07:00
Brandon Mathis
0e072543da added support for preserving customized source/index.html during template updates. Moved the blog index code to a partial in source/_includes/blog_index.html 2011-08-10 18:15:10 -04:00
Brandon Mathis
3a599d4159 Merge pull request #73 from pilif/twitter-js-scope-fix
correctly scope locals
2011-08-04 16:03:21 -07:00
Philip Hofstetter
1860c23632 corrected fork skipping logic 2011-08-04 21:49:38 +02:00
Philip Hofstetter
16bb7729ec make listing/not listing of forks configurable
some people have more or less taken over projects with their forks, so
it probably makes sense to still list them among the repositories
2011-08-04 21:27:58 +02:00
Philip Hofstetter
2e1f0c0bfc provide an option to show or not show github profile link 2011-08-04 21:21:25 +02:00
Philip Hofstetter
08af7b4e38 allow limiting the amount of repos to display
by setting github_repo_count to someething that's not 0, you can limit
the amount of repositories to render
2011-08-04 21:15:50 +02:00
Philip Hofstetter
f955919348 add github repositories sidebar plugin
if you specify

github_user:

in you _config.yml and once you add asides/github.html to your sidebar
items, this plugin will fetch the specified users github repositories
and order them so the last pushed ones are shown first. Then it'll list
them in the side-bar, including a link and the repository description

The plugin will only list your own repositories, not forks, though this
might need to be configurable later
2011-08-04 21:01:24 +02:00
Stephen Tudor
0fa8732e2a Update atom.xml to use site.title and expand_urls 2011-08-04 09:31:20 -04:00
Philip Hofstetter
81dcb0301b correctly scope locals
having such generic variables as feed and i global is a recipe for
trouble waiting to happen.

These variables aren't used outside of the twitter plugin, so we can
easily make them local to getTwitterFeed
2011-08-04 10:17:09 +02:00
Brandon Mathis
98200038f7 added header to customizable includes 2011-08-01 17:57:29 -04:00
Brandon Mathis
07f4937bfd added custom partials for for footer and navigation 2011-07-31 13:13:11 -04:00
Brandon Mathis
d344a8c7ac added support for custom includes 2011-07-31 12:27:25 -04:00
Brandon Mathis
3525825e90 limited atom feed to 20 most recent items 2011-07-31 12:02:28 -04:00
Brandon Mathis
247105c833 removed unused sidebar include 2011-07-30 12:10:27 -04:00
Brandon Mathis
1db23acd78 added multi sidebar support 2011-07-30 12:06:02 -04:00
Brandon Mathis
ffc730fc0d Merge branch 'master' of https://github.com/woodwardjd/octopress into woodwardjd-master 2011-07-29 20:50:35 -04:00
Brandon Mathis
d6744967fa Improved support for adding author metadata to pages 2011-07-29 16:27:25 -04:00
Brandon Mathis
c779ad7916 Now rss link in head will update correctly with changes to the config 2011-07-28 16:51:55 -04:00
Brandon Mathis
2af038a725 added cannonical link to head 2011-07-28 15:53:39 -04:00
Brandon Mathis
1e2d10c2c5 removed appcache because it was annoying firefox users 2011-07-28 15:42:28 -04:00
Jason Woodward
d8b17814e0 allow select and order of sidebar components to be configurable in jekyll's _config.yml 2011-07-28 12:02:08 -04:00
Brandon Mathis
6e2beaa969 added support for github style backtick code blocks 2011-07-26 23:37:31 -04:00
Brandon Mathis
7b81aab5ac added support for pygments.rb removing dependency on pygments, added support for caching highlighted code from pygments.rb and added default line numbering. Javascript auto line numbering now only occurs for embedded gists 2011-07-26 23:36:42 -04:00
Luke Armstrong
c32516fdb0 Stops the (scary) warning bar in Firefox about storing data for offline usage. 2011-07-26 23:27:44 +02:00