Commit graph

78 commits

Author SHA1 Message Date
Jade Dominguez
5b2cc52c18 Themes are tracked and installed via the packager.
Detach themes from core JB framework.
2012-02-01 17:32:18 -08:00
Jade Dominguez
fdfb9c4c6f Fix prompt complaining that directories already exist
When installing from a theme package we create an array of all files to be mirrored. We need to omit directories from this array since directories are recursively created for a given file. This needlessly raised 'directory already exist' errors which was annoying. - Also make error output friendlier
2012-02-01 17:26:01 -08:00
Jade Dominguez
533d840a75 Namespace 'switch_theme'
Make sure to maintain backwards compatibility
2012-02-01 15:15:35 -08:00
Jade Dominguez
d25b40e9ea don't track _theme_packages directory
This should be treated as a staging directory
2012-02-01 15:08:02 -08:00
Jade Dominguez
21b64c2b1c Update theme packager methods
Allow users to pass git url for a given theme to be installed. Use manifest to maintain compatibility. Add TomDoc comments
2012-02-01 15:03:57 -08:00
Jade Dominguez
53a801b0e2 Implement theme installer v 0.1.0 2012-02-01 15:02:11 -08:00
James Fleeting
683d1bec4d Adding Facebook Comments 2012-01-30 20:17:27 -06:00
Jade
e99e752a27 Merge pull request #25 from SegFaultAX/tagline-option
Site-wide configuration option for tagline
2012-01-29 18:13:26 -08:00
Michael-Keith Bernard
9ba7f1b3eb Adding a site-wide configuration option for tagline. The twitter theme will
still explicitly require a per-page tagline. Adding rvmrc to gitignore for those
of us still using Ruby Version Manager.
2012-01-29 17:54:37 -08:00
Jade Dominguez
266475ee79 Remove BASE_PATH setting
Had this set for testing purposes. Not a good idea to ship with it
2012-01-24 05:58:16 -08:00
Jade Dominguez
c1972379f3 version 0.1.0 2012-01-24 05:46:21 -08:00
Jade Dominguez
065e6edbed 'Provider' is more correct than 'engine' 2012-01-24 03:26:18 -08:00
Jade Dominguez
9bd0deabd4 Use ENV variables for switch_theme 2012-01-24 02:11:01 -08:00
Jade Dominguez
240271634d production url should be close to JB 2012-01-23 05:29:18 -08:00
Jade Dominguez
9b3a325a72 Document and reorganize _config.yml 2012-01-23 05:11:59 -08:00
Jade Dominguez
3f0579cc7c Place paths to main pages in JB hash 2012-01-23 05:00:46 -08:00
Jade Dominguez
6c0b6c1a1b Provide custom overrides to all helpers
Now all helpers can be overridden by custom implementations without editing JB source. Just define a helper's 'engine' as 'custom' in the _config.yml file and provide a helper file of the same name in _includes/custom/. This helps users cleanly upgrade JB versions since they no longer need to edit the files directly.
2012-01-23 04:18:22 -08:00
Jade Dominguez
08d59a6b60 Remove all filename extenstions from JB files 2012-01-23 03:47:38 -08:00
Jade Dominguez
5c0a7a6dcd Update helper calls
Use 'JB/[HELPER]' format
2012-01-23 03:28:28 -08:00
Jade Dominguez
8b7998695b Move helpers to namespaced system
Also do away with .html extension
2012-01-23 03:20:58 -08:00
Jade Dominguez
6d0e38b365 Add rake task to create pages
Usage: rake page name='about.md'
2012-01-23 02:34:21 -08:00
Jade Dominguez
f52ff5aa62 Refactor new post rake task
Rename from 'rake new_post' to 'rake post'. Also use environment variables over rake arguments
2012-01-23 02:31:42 -08:00
Jade Dominguez
0fec345989 rename HOME_URL to HOME_PATH 2012-01-23 01:00:58 -08:00
Jade Dominguez
a1a7efaf71 Include 'JB/setup' in all posts and pages
This is the only way we can have global access to dynamic liquid variables. Using site configuration is too convulated since switching themes and runing in development vs. production relies on being able to dynamically define variables
2012-01-23 00:52:44 -08:00
Jade Dominguez
7ef7288a33 Rename set_paths to more generic 'setup'
This is because 'setup' will need to be included in every post/page file if we want to have access to BASE_PATH. So I figure 'setup' will be a good access path for any future inclusions we need to make
2012-01-23 00:48:40 -08:00
Jade Dominguez
779afdd016 Regenerate 'twitter' theme 2012-01-21 18:15:38 -08:00
Jade Dominguez
b01624b217 Update themes and pages to new paths api 2012-01-21 18:15:00 -08:00
Jade Dominguez
71278b8a3a Need to provide theme name via settings.yml 2012-01-21 18:13:39 -08:00
Jade Dominguez
3f7fd7b4f2 Provide path configuration in _config.yml 2012-01-21 18:11:37 -08:00
Jade Dominguez
fe33e5180c Provide set_paths to all layouts 2012-01-21 18:10:43 -08:00
Jade Dominguez
75fa188fa7 Add ability to dynamically set url paths
This makes GitHub Pages for projects support possible as all urls will need to call on the project's subfolder. The other important piece is that urls should resolve to root locally but be able to change when in production. LLastly this gives themes clear integration points for working with paths. (the jbcache hack just makes it so there is not unnecessary whitespace output in the source.
2012-01-21 18:08:35 -08:00
Jade Dominguez
61cdb7a803 Themes can define configuration data
Themes can define a 'settings.yml' file which will get injected into the root default.html layout YAML Front Matter which can be accessed through the 'page' variable.
2012-01-20 23:37:40 -08:00
Jade Dominguez
45b894f0af Update themes to use new integration methods 2012-01-20 23:32:32 -08:00
Jade Dominguez
df5bedb424 Add JB configuration hash to site config 2012-01-20 23:20:22 -08:00
Jade Dominguez
7a0b1ed689 Add new Integration points for themes
The new system will try to namespace all framework integrations with 'JB'. Integration points added in this comment are 'analytics', 'comments', and 'sharing'.
2012-01-20 23:19:17 -08:00
Jade Dominguez
241a512053 fix typo 2012-01-20 22:38:56 -08:00
Jade Dominguez
3802b6cf34 Merge remote-tracking branch 'origin/master' 2012-01-20 22:37:27 -08:00
Jade
b7a353c7bc Merge pull request #18 from jogjayr/master
Another broken link in index.md
2012-01-20 22:34:01 -08:00
jayraj
5efb7228ce fixed broken link for jekyll quick start on index.md. checked and made sure there are no more broken links on that page 2012-01-20 22:41:29 -05:00
Jade
dad96fb115 Merge pull request #16 from xtine/patch-1
Fixed typo: title should be "Jekyll Bootstrap"
2012-01-19 16:12:59 -08:00
christine
bb8ec4c8bc Fixed typo: title should be "Jekyll Bootstrap" 2012-01-19 16:02:38 -08:00
Jade
df13158c21 Merge pull request #13 from jogjayr/master
Broken link in index.md
2012-01-19 13:48:48 -08:00
jayraj
80595af54f fixed incorrect link to jekyll bootstrap homepage 2012-01-19 09:49:56 -05:00
Jade Dominguez
07eb4d166a don't process rakefile, readme 2012-01-19 04:06:04 -08:00
Jade Dominguez
e70aa41d12 remove samples
I guess only one sample post file will do. Also if users leave this content up, Google may not like the duplicate content =/
2012-01-18 16:45:24 -08:00
Jade Dominguez
bbf4212768 Add atom title and inline tag list 2012-01-18 16:43:52 -08:00
Jade Dominguez
2a5c2751eb Hello world 2012-01-18 16:42:26 -08:00
Jade Dominguez
9d7d4eb4f9 reorganize rakefile
Namely standardized some logic and put config variables in hash
2012-01-18 15:54:34 -08:00
Jade
246e91a749 Merge pull request #11 from pradeep1288/master
Created a new rake task : new_post
2012-01-18 14:42:39 -08:00
Jade
e26b5f7fb3 Merge pull request #12 from jcn/patch-1
Change directory tests in switch_theme task for ruby 1.8.7 compatibility
2012-01-18 14:39:35 -08:00