Commit Graph

225 Commits

Author SHA1 Message Date
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
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
3cedd387a0 Merge branch 'pilif-github-repositories-plugin' 2011-09-03 10:04:25 -05: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
3a7b581afe Merge pull request #127 from tobym/master
Fixes issue 126, broken line height on "diff" syntax highlighting
2011-09-03 06:20:56 -07: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
Toby Matejovsky
f033475b4a Fix broken line height in diff syntax highlighting 2011-08-30 23:11:32 -04:00
Brandon Mathis
376a22a355 removed right border from #content when sidebar has been removed 2011-08-28 22:44:59 -05:00
Brandon Mathis
599cd4e07c updated date now shows up properly 2011-08-22 17:24:02 -04:00
Brandon Mathis
806d27db13 using @extend for responsive blocks, added shadow-box mixin to utlities for configurable border shadow box styling, moved .left, .right, .center classes to .basic-alignment class for @extending as needed in layouts. Fixes #109 2011-08-22 16:29:08 -04:00
Brandon Mathis
9e5e6f604c Merge pull request #82 from jakemcc/7d6062b5eb3ebd2720fe5b836add73f9c88d2589
minor tweak to _typography.scss to have pp, code, and tt extend style that exists
2011-08-21 14:58:26 -07: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
178a198ea7 updated blog theme to default to left aligned images. To center images, use classname "center" 2011-08-18 15:01:00 -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
Chris Miller
84e2fd5ead Code text works in lists now. 2011-08-12 08:41:49 -06: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
Jake McCrary
7d6062b5eb fixed @extend for pp, code, and tt. The @extend was extending a non-existant entry. 2011-08-06 23:19:00 -05: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
b42a7f87dc changed mdash to unicode character to help some users with encoding errors 2011-08-02 00:55:47 -04: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
Brandon Mathis
d6bed015be improved the default options and instructions on custom/_colors.scss 2011-07-26 12:32:43 -04:00
Brandon Mathis
38e6772260 imrpoved support for light colored solarized theme 2011-07-26 12:08:26 -04:00
Brandon Mathis
3ebe3e5a0e Merge branch 'master' of github.com:imathis/octopress 2011-07-25 20:35:36 -04:00
Brandon Mathis
20764e31ee updated syntax highlighting support for perl and objective c in code_block and include_code plugins 2011-07-25 20:35:24 -04:00
Brandon Mathis
9facd80d90 fixed issue where solarized syntax highlighting colors were not being defaulted appropriately 2011-07-25 11:02:17 -04:00
Brandon Mathis
d10ba20d14 improved consistency of video and image block styling 2011-07-24 17:32:38 -04:00
Brandon Mathis
b4584bd01c improved navigation selection and fixed mobile nav select 2011-07-24 17:22:33 -04:00
Brandon Mathis
16b03308bd improved font-size for pages 2011-07-23 18:47:09 -04:00
Brandon Mathis
3d3781e259 scoped force-wrap to anchor links in articles and sidebar 2011-07-23 09:47:59 -04:00
Brandon Mathis
51b2a36b40 Added a fix for wrapping long lines of text in articles and in the sidebar 2011-07-23 09:06:47 -04:00
Brandon Mathis
da38dbe584 fixed misspelling of exerpt to excerpt for in the Octopress filters 2011-07-23 01:16:55 -04:00
Brandon Mathis
f49b24ac60 improved consistency of margins on code blocks 2011-07-23 00:32:55 -04:00
Brandon Mathis
a2bc6f9762 1. Added image tag plugin
2. Removed figure tag plugin
3. Renamed custom_filters to octopress_filters
4. Added styles to support new image tag plugin
2011-07-23 00:26:00 -04:00
Brandon Mathis
39d56bc988 Finally a nice solution for mapping relative urls 2011-07-22 00:00:18 -04:00
Brandon Mathis
44e1351fc7 1. Added condition to full_url filter to allow it to be used as a root_url appending filter for remapping root "/" urls when octopress is deployed to a subdirectory. Updated _includes/article and _layouts/page to use the filter
2. Added documentation for the include_code plugin
2011-07-21 16:14:23 -04:00
Brandon Mathis
05e4b7951d made bottom margin for code blocks more consistant 2011-07-20 12:20:29 -04:00
Brandon Mathis
f6774b7c2f moved the favicon.png to the root directory for better discoverability 2011-07-19 22:43:29 -04:00
Brandon Mathis
3f2855ac6b fixed logic for showing dates on page layout 2011-07-19 17:28:36 -04:00
Brandon Mathis
e027d82d17 changed post layout so that blog posts default to comments being turned on 2011-07-19 16:34:42 -04:00
Brandon Mathis
17c59fb1d1 Moved plugins to root directory. I'm ditching the idea of shipping plugins with themes until it's more obviously necessary. This way it's easier to merge and update plugins. 2011-07-19 09:06:54 -04:00
Brandon Mathis
873a604e14 Fixed header link 2011-07-18 18:13:28 -04:00
Brandon Mathis
1fd21a6e25 Renamed include_file plugin to render_partial, added documentation to include_code and render_partial 2011-07-18 17:04:56 -04:00
Brandon Mathis
64b23d9f34 Improved variable names for setting footer, sharing, sidebar and metadata diesplay from page configurations 2011-07-18 16:59:59 -04:00
Brandon Mathis
0f2686eff7 Refactored layout styles:
1. Now iPad vertical gets a collapsed sidebar with columns
2. Moved sidebar toggler styles from layout to sidebar/base
3. Added body class .sidebar-footer to support an always collapsed sidebar
4. Added $indented-lists (bool) for easily setting list indent preferences
5. Removed no-sidebar checking from sidebar-toggler, handled it through css.
2011-07-18 15:33:11 -04:00
Brandon Mathis
4dfc5c1d67 scoped titlebar styling to figcaptions under figures with role="code", added an example for overriding a style in sass/custom/styles.scss 2011-07-17 20:28:02 -04:00
Brandon Mathis
790521a44b Added a plugin for easily generating <figure> and <figcaption> with images 2011-07-17 20:23:08 -04:00
Brandon Mathis
e17bb6ebd5 Fixed typo in code_block plugin 2011-07-17 17:27:18 -04:00
Brandon Mathis
fe8150d788 Added plugin for simple code block authoring 2011-07-17 17:25:27 -04:00
Brandon Mathis
e55f5f9ab9 removed unnecessary regex from pullquote plugin 2011-07-17 17:24:35 -04:00
Brandon Mathis
6a6de74aad improved regular expressions in blockquote plugin 2011-07-17 17:23:41 -04:00
Brandon Mathis
a93c959950 fixed blue hover in header link 2011-07-16 23:41:15 -04:00
Stephen Tudor
31b578b067 Fix deprecated Compass transition arguments 2011-07-16 22:18:39 -04:00
Brandon Mathis
ccda3a5656 Minor update to navigation, Updated Copyright, added beginning upgrade
instructions.
2011-07-16 15:21:09 -04:00
Brandon Mathis
1f9b596b82 1. Added rake task for simple configuration of subdirectory deployment.
2. Updated READEME documentation regarding deploying to subdirectories.
3. Fixed related mistake in pagination and header links
2011-07-16 14:52:50 -04:00
Brandon Mathis
f81bdbc1a8 Added support and documentation for deploying to subdirectories (like
with gh-pages)
2011-07-16 09:29:09 -04:00
Brandon Mathis
4855ef5d2f removed cleaned out sass comment 2011-07-15 16:37:05 -04:00
Brandon Mathis
8b6d83ae60 1. Udated category layout
2. Improved scoping and styling for links
3. Sidebar collapse improvements
2011-07-15 15:50:48 -04:00
Brandon Mathis
4443fd4429 Changed archive links from blog/archives/index.html to blog/archives 2011-07-13 22:52:52 -04:00
Brandon Mathis
8d3e0b4a0e Moved some post partials into source/_includes/post/ and updated include
links
2011-07-13 22:47:59 -04:00
Brandon Mathis
87f300b2bc 1. Styled pagination for blog index
2. Fixed Newer pagination link on page 2
3. Improved sidebar section breakdown on collapse
4. Removed sharing links from the blog index page (moved to pages)
5. Improved styling for metadata on the blog index
6. Moved /blog/archives.html to /blog/archives/index.html
7. Improved responsive layout styling bugs
2011-07-13 22:23:19 -04:00
Brandon Mathis
b0921c1e27 Updated default link colors, hovers, sidebar link colors, etc 2011-07-13 11:58:34 -04:00
Brandon Mathis
b0a610095f fixed sidebar columnization 2011-07-13 11:57:44 -04:00
Brandon Mathis
5d1d04c52c 1. Made default layout more generic.
2. Added a page layout and improved html on post layout.
3. Improved flexibility of stylesheets for different layout types.
4. Collapsing sidebar now moves it to the bottom of the page and floats
content into columns.
5. Improved sharing settings, added Google plus one.
2011-07-12 19:40:57 -04:00
Brandon Mathis
67c5edb2f6 added a space in code figcaption title to make it play nicer with RSS or other no CSS views 2011-07-12 08:49:43 -04:00
Brandon Mathis
983dd84a4b fixed unclosed link on category tag 2011-07-12 08:47:40 -04:00
Brandon Mathis
e8b14a1b73 Merge pull request #33 from pw/archives_fix
Archives fix
2011-07-11 08:39:55 -07:00
Brandon Mathis
acd1ba34d3 updated titlecase require on blockquote plugin 2011-07-11 11:37:38 -04:00
Brandon Mathis
ee7b9dd958 Changed _plugins folder to plugins and updated rake tasks accordingly 2011-07-11 11:17:15 -04:00
Patrick White
3ebdd38d25 Fixed broken link to archives.html in index.html 2011-07-10 23:30:27 -06:00
Patrick White
27ba560017 Fixed broken link to archives page. 2011-07-10 21:45:43 -06:00
Brandon Mathis
d4139e394e Updated responsive typography sizing 2011-07-03 18:47:39 -04:00
Brandon Mathis
8e6da4ee38 refactored styling of colors for code blocks, reduced specificty on .feature class for blog posts 2011-07-03 18:11:54 -04:00
Brandon Mathis
e30a298eb9 improved page title generation 2011-07-03 18:09:56 -04:00
Brandon Mathis
252bfd24af improved responsive typography styles 2011-07-03 17:06:38 -04:00
Brandon Mathis
b9ad060b5d 1. Updated config so blog categories get ouput to /blog/categories
2. Increased default pagination to 10 posts per page
3. Explained email address for RSS feed better
2011-07-01 17:13:21 -04:00
Brandon Mathis
ea349cdfbf Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use 2011-06-29 14:01:06 -04:00