Commit Graph

52 Commits

Author SHA1 Message Date
Brandon Mathis
7bdab0e65c Added javascript asset management and improved Rakefiles and configuration for themes and plugins.
- Added Guard for file watching
- Configs can be automatically reloaded
- Static asset changes do not trigger Jekyll build
- CommonJS modular js support proved by stich-rb
- Javascript is concatenated and uglified
- Environment variables toggle uglify and fingerprinting
- New Jekyll plugin config_tag
- New Jekyll plugin javascript_assets_tag
- Added theme specific configurations
- Custome Jekyll Guard to the rescue
- Install, Generate, Watch, and Preview work with Guard now.
- Now configs are no longer tracked by Octopress, only theme defauts are.
- Console messages can be colorized.
- misc config reorganization and improvements
2013-03-04 01:12:10 -06:00
Parker Moore
f64fa33d69 Using the GitHub API to pre-sort repos based on pushed date. #1031. 2013-02-20 17:44:50 +01:00
Floyd Pink
f674b8e764 Fixed issue with mobile nav choosing the last option by default. Fixes #950. 2013-02-15 02:26:11 +01:00
Brandon Mathis
4b5ffb725a Using https rather than protocol relative urls 2012-10-01 07:26:26 -05:00
Brandon Mathis
9f7425a953 Using protocol relative URLs for Twitter, GitHub and Pinboard feeds 2012-09-29 22:48:11 -05:00
Brandon Mathis
17368e93c4 Added minification and concatenation of Javascript files 2012-06-16 18:36:58 -05:00
Brandon Mathis
2444c2c804 fixed bug with Modernizr classes not being added when a feature is not supported 2012-06-11 00:26:10 -05:00
Brandon Mathis
0bcfd1d8cc Added html escaping GitHub feed. Closes #570 2012-06-11 00:19:18 -05:00
Brandon Mathis
af8591cc4f Improved internal Modernizr testing function 2012-06-07 13:10:56 -05:00
Brandon Mathis
f38ed3ce8d Mobile nav fixed for better IE support. Closes #595 2012-06-07 10:19:48 -05:00
Brandon Mathis
43850a2456 Fixed issue with CSS image mask test failing. Refactored Octopress.js functions into a closure. Added Twitter and GitHub feeds to Octopress.js to reduce http requests. Fixes #596 2012-06-07 00:05:16 -05:00
Brandon Mathis
5528f9acec Added styling for github follow button, improved javascripts for adding GitHub and Twitter sidebars 2012-06-05 16:09:32 -05:00
Brandon Mathis
64b2d2355d Fixed issue where gists wouldn't get line numbers added. Fixed issue where backtick code blocks were getting empty figcaptions 2012-06-05 00:35:50 -05:00
Brandon Mathis
f180feb402 Added video and css masks to modernizer tests. Updated styles to work with new image mask classname 2012-06-05 00:08:45 -05:00
Brandon Mathis
d40eaab07c Switched out ender.js in favor of jQuery. Some small improvements to sidebar feed scripts 2012-05-24 23:03:59 -05:00
Maxwell Swadling
b69e876828 Fixed paths in GitHub api lists from using api urls instead of HTML urls.
Signed-off-by: Brandon Mathis <brandon@imathis.com>
2012-05-24 22:48:51 -05:00
Maxwell Swadling
693fc29572 Updated GitHub repos list to use GitHub Api v3
Signed-off-by: Brandon Mathis <brandon@imathis.com>
2012-05-24 22:48:51 -05:00
Brandon Mathis
47573af6c6 Improved mobile navigation injection script to work when search is not present. Fixes #380 2012-05-22 21:18:55 -05: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
Brandon Mathis
645eb6140b now mobile navigation inlcudes subscription links fixes #299 2011-12-10 12:49:55 -06:00
Frederic Hemberger
029fa9bf31 Add response check, fixes #252 2011-10-28 16:21:02 +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
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
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
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
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
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
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
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
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
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
Brandon Mathis
b4584bd01c improved navigation selection and fixed mobile nav select 2011-07-24 17:22:33 -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
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
b0a610095f fixed sidebar columnization 2011-07-13 11:57:44 -04:00