dextery 0.0.3b → 0.0.3c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +8 -8
  2. data/bin/dextery +1 -1
  3. data/dextery.gemspec +1 -1
  4. data/lib/dextery/template/.gitignore +10 -0
  5. data/lib/dextery/template/404.html +1 -0
  6. data/lib/dextery/template/README.md +46 -0
  7. data/lib/dextery/template/Rakefile +309 -0
  8. data/lib/dextery/template/_config.yml +131 -0
  9. data/lib/dextery/template/_drafts/jekyll-introduction-draft.md +412 -0
  10. data/lib/dextery/template/_includes/JB/analytics +16 -0
  11. data/lib/dextery/template/_includes/JB/analytics-providers/getclicky +12 -0
  12. data/lib/dextery/template/_includes/JB/analytics-providers/google +11 -0
  13. data/lib/dextery/template/_includes/JB/analytics-providers/mixpanel +11 -0
  14. data/lib/dextery/template/_includes/JB/categories_list +37 -0
  15. data/lib/dextery/template/_includes/JB/comments +16 -0
  16. data/lib/dextery/template/_includes/JB/comments-providers/disqus +14 -0
  17. data/lib/dextery/template/_includes/JB/comments-providers/facebook +9 -0
  18. data/lib/dextery/template/_includes/JB/comments-providers/intensedebate +6 -0
  19. data/lib/dextery/template/_includes/JB/comments-providers/livefyre +6 -0
  20. data/lib/dextery/template/_includes/JB/liquid_raw +32 -0
  21. data/lib/dextery/template/_includes/JB/pages_list +39 -0
  22. data/lib/dextery/template/_includes/JB/posts_collate +55 -0
  23. data/lib/dextery/template/_includes/JB/setup +22 -0
  24. data/lib/dextery/template/_includes/JB/sharing +8 -0
  25. data/lib/dextery/template/_includes/JB/tags_list +33 -0
  26. data/lib/dextery/template/_includes/themes/twitter/default.html +66 -0
  27. data/lib/dextery/template/_includes/themes/twitter/page.html +9 -0
  28. data/lib/dextery/template/_includes/themes/twitter/post.html +49 -0
  29. data/lib/dextery/template/_includes/themes/twitter/settings.yml +2 -0
  30. data/lib/dextery/template/_layouts/default.html +6 -0
  31. data/lib/dextery/template/_layouts/page.html +5 -0
  32. data/lib/dextery/template/_layouts/post.html +5 -0
  33. data/lib/dextery/template/_plugins/debug.rb +38 -0
  34. data/lib/dextery/template/_posts/core-samples/2011-12-29-jekyll-introduction.md +412 -0
  35. data/lib/dextery/template/archive.html +10 -0
  36. data/lib/dextery/template/assets/themes/twitter/bootstrap/css/bootstrap.2.2.2.min.css +782 -0
  37. data/lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings-white.png +0 -0
  38. data/lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings.png +0 -0
  39. data/lib/dextery/template/assets/themes/twitter/css/style.css +65 -0
  40. data/lib/dextery/template/atom.xml +28 -0
  41. data/lib/dextery/template/categories.html +22 -0
  42. data/lib/dextery/template/changelog.md +70 -0
  43. data/lib/dextery/template/index.md +46 -0
  44. data/lib/dextery/template/pages.html +13 -0
  45. data/lib/dextery/template/rss.xml +28 -0
  46. data/lib/dextery/template/sitemap.txt +8 -0
  47. data/lib/dextery/template/tags.html +21 -0
  48. metadata +45 -1
@@ -0,0 +1,65 @@
1
+ /* Custom container */
2
+ .container-narrow {
3
+ margin: 0 auto;
4
+ max-width: 700px; }
5
+
6
+ .container-narrow > hr {
7
+ margin: 30px 0; }
8
+
9
+ .navbar .nav {
10
+ float: right; }
11
+
12
+ /* posts index */
13
+ .post > h3.title {
14
+ position: relative;
15
+ padding-top: 10px; }
16
+
17
+ .post > h3.title span.date {
18
+ position: absolute;
19
+ right: 0;
20
+ font-size: 0.9em; }
21
+
22
+ .post > .more {
23
+ margin: 10px 0;
24
+ text-align: left; }
25
+
26
+ /* post-full*/
27
+ .post-full .date {
28
+ margin-bottom: 20px;
29
+ font-weight: bold; }
30
+
31
+ /* tag_box */
32
+ .tag_box {
33
+ list-style: none;
34
+ margin: 0;
35
+ overflow: hidden; }
36
+
37
+ .tag_box li {
38
+ line-height: 28px; }
39
+
40
+ .tag_box li i {
41
+ opacity: 0.9; }
42
+
43
+ .tag_box.inline li {
44
+ float: left; }
45
+
46
+ .tag_box a {
47
+ padding: 3px 6px;
48
+ margin: 2px;
49
+ background: #eee;
50
+ color: #555;
51
+ border-radius: 3px;
52
+ text-decoration: none;
53
+ border: 1px dashed #cccccc; }
54
+
55
+ .tag_box a span {
56
+ vertical-align: super;
57
+ font-size: 0.8em; }
58
+
59
+ .tag_box a:hover {
60
+ background-color: #e5e5e5; }
61
+
62
+ .tag_box a.active {
63
+ background: #57A957;
64
+ border: 1px solid #4c964d;
65
+ color: #FFF; }
@@ -0,0 +1,28 @@
1
+ ---
2
+ layout: nil
3
+ title : Atom Feed
4
+ ---
5
+ <?xml version="1.0" encoding="utf-8"?>
6
+ <feed xmlns="http://www.w3.org/2005/Atom">
7
+
8
+ <title>{{ site.title }}</title>
9
+ <link href="{{ site.production_url }}/{{ site.atom_path }}" rel="self"/>
10
+ <link href="{{ site.production_url }}"/>
11
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
12
+ <id>{{ site.production_url }}</id>
13
+ <author>
14
+ <name>{{ site.author.name }}</name>
15
+ <email>{{ site.author.email }}</email>
16
+ </author>
17
+
18
+ {% for post in site.posts %}
19
+ <entry>
20
+ <title>{{ post.title }}</title>
21
+ <link href="{{ site.production_url }}{{ post.url }}"/>
22
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
23
+ <id>{{ site.production_url }}{{ post.id }}</id>
24
+ <content type="html">{{ post.content | xml_escape }}</content>
25
+ </entry>
26
+ {% endfor %}
27
+
28
+ </feed>
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: page
3
+ title: Categories
4
+ header: Posts By Category
5
+ group: navigation
6
+ ---
7
+ {% include JB/setup %}
8
+
9
+ <ul class="tag_box inline">
10
+ {% assign categories_list = site.categories %}
11
+ {% include JB/categories_list %}
12
+ </ul>
13
+
14
+
15
+ {% for category in site.categories %}
16
+ <h2 id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
17
+ <ul>
18
+ {% assign pages_list = category[1] %}
19
+ {% include JB/pages_list %}
20
+ </ul>
21
+ {% endfor %}
22
+
@@ -0,0 +1,70 @@
1
+ ## Changelog
2
+
3
+ Public releases are all root nodes.
4
+ Incremental version bumps that were not released publicly are nested where appropriate.
5
+
6
+ P.S. If there is a standard (popular) changelog format, please let me know.
7
+
8
+ - **0.3.0 : 2013.02.24**
9
+ - **Features**
10
+ - Update twitter bootstrap to 2.2.2. Add responsiveness and update design a bit.
11
+ - @techotaku fixes custom tagline support (finally made it in!)
12
+ - @opie4624 adds ability to set tags from the command-line.
13
+ - @lax adds support for RSS feed. Adds rss and atom html links for discovery.
14
+ - Small typo fixes.
15
+
16
+ - **Bug Fixes**
17
+ - @xuhdev fixes theme:install bug which does not overwrite theme even if saying 'yes'.
18
+
19
+ - **0.2.13 : 2012.03.24**
20
+ - **Features**
21
+ - 0.2.13 : @mjpieters Updates pages_list helper to only show pages having a title.
22
+ - 0.2.12 : @sway recommends showing page tagline only if tagline is set.
23
+ - 0.2.11 : @LukasKnuth adds 'description' meta-data field to post/page scaffold.
24
+
25
+ - **Bug Fixes**
26
+ - 0.2.10 : @koriroys fixes typo in atom feed
27
+
28
+ - **0.2.9 : 2012.03.01**
29
+ - **Bug Fixes**
30
+ - 0.2.9 : @alishutc Fixes the error on post creation if date was not specified.
31
+
32
+ - **0.2.8 : 2012.03.01**
33
+ - **Features**
34
+ - 0.2.8 : @metalelf0 Added option to specify a custom date when creating post.
35
+ - 0.2.7 : @daz Updates twitter theme framework to use 2.x while still maintaining core layout. #50
36
+ @philips and @treggats add support for page.tagline metadata. #31 & #48
37
+ - 0.2.6 : @koomar Adds Mixpanel analytics provider. #49
38
+ - 0.2.5 : @nolith Adds ability to load custom rake scripts. #33
39
+ - 0.2.4 : @tommyblue Updated disqus comments provider to be compatible with posts imported from Wordpress. #47
40
+
41
+ - **Bug Fixes**
42
+ - 0.2.3 : @3martini Adds Windows MSYS Support and error checks for git system calls. #40
43
+ - 0.2.2 : @sstar Resolved an issue preventing disabling comments for individual pages #44
44
+ - 0.2.1 : Resolve incorrect HOME\_PATH/BASE\_PATH settings
45
+
46
+ - **0.2.0 : 2012.02.01**
47
+ Features
48
+ - Add Theme Packages v 0.1.0
49
+ All themes should be tracked and maintained outside of JB core.
50
+ Themes get "installed" via the Theme Installer.
51
+ Theme Packages versioning is done separately from JB core with
52
+ the main intent being to make sure theme versions are compatible with the given installer.
53
+
54
+ - 0.1.2 : @jamesFleeting adds facebook comments support
55
+ - 0.1.1 : @SegFaultAX adds tagline as site-wide configuration
56
+
57
+ - **0.1.0 : 2012.01.24**
58
+ First major versioned release.
59
+ Features
60
+ - Standardize Public API
61
+ - Use name-spacing and modulation where possible.
62
+ - Ability to override public methods with custom code.
63
+ - Publish the theme API.
64
+ - Ship with comments, analytics integration.
65
+
66
+ - **0.0.1 : 2011.12.30**
67
+ First public release, lots of updates =p
68
+ Thank you everybody for dealing with the fast changes and helping
69
+ me work out the API to a manageable state.
70
+
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: page
3
+ title: Hello World!
4
+ tagline: Supporting tagline
5
+ ---
6
+ {% include JB/setup %}
7
+
8
+ Read [Jekyll Quick Start](http://jekyllbootstrap.com/usage/jekyll-quick-start.html)
9
+
10
+ Complete usage and documentation available at: [Jekyll Bootstrap](http://jekyllbootstrap.com)
11
+
12
+ ## Update Author Attributes
13
+
14
+ In `_config.yml` remember to specify your own data:
15
+
16
+ title : My Blog =)
17
+
18
+ author :
19
+ name : Name Lastname
20
+ email : blah@email.test
21
+ github : username
22
+ twitter : username
23
+
24
+ The theme should reference these variables whenever needed.
25
+
26
+ ## Sample Posts
27
+
28
+ This blog contains sample posts which help stage pages and blog data.
29
+ When you don't need the samples anymore just delete the `_posts/core-samples` folder.
30
+
31
+ $ rm -rf _posts/core-samples
32
+
33
+ Here's a sample "posts list".
34
+
35
+ <ul class="posts">
36
+ {% for post in site.posts %}
37
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
38
+ {% endfor %}
39
+ </ul>
40
+
41
+ ## To-Do
42
+
43
+ This theme is still unfinished. If you'd like to be added as a contributor, [please fork](http://github.com/plusjade/jekyll-bootstrap)!
44
+ We need to clean up the themes, make theme usage guides with theme-specific markup examples.
45
+
46
+
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: Pages
4
+ header: Pages
5
+ group: navigation
6
+ ---
7
+ {% include JB/setup %}
8
+
9
+ <h2>All Pages</h2>
10
+ <ul>
11
+ {% assign pages_list = site.pages %}
12
+ {% include JB/pages_list %}
13
+ </ul>
@@ -0,0 +1,28 @@
1
+ ---
2
+ layout: nil
3
+ title : RSS Feed
4
+ ---
5
+
6
+ <?xml version="1.0" encoding="UTF-8" ?>
7
+ <rss version="2.0">
8
+ <channel>
9
+ <title>{{ site.title }}</title>
10
+ <description>{{ site.title }} - {{ site.author.name }}</description>
11
+ <link>{{ site.production_url }}{{ site.rss_path }}</link>
12
+ <link>{{ site.production_url }}</link>
13
+ <lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
14
+ <pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
15
+ <ttl>1800</ttl>
16
+
17
+ {% for post in site.posts %}
18
+ <item>
19
+ <title>{{ post.title }}</title>
20
+ <description>{{ post.content | xml_escape }}</description>
21
+ <link>{{ site.production_url }}{{ post.url }}</link>
22
+ <guid>{{ site.production_url }}{{ post.id }}</guid>
23
+ <pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
24
+ </item>
25
+ {% endfor %}
26
+
27
+ </channel>
28
+ </rss>
@@ -0,0 +1,8 @@
1
+ ---
2
+ # Remember to set production_url in your _config.yml file!
3
+ title : Sitemap
4
+ ---
5
+ {% for page in site.pages %}
6
+ {{site.production_url}}{{ page.url }}{% endfor %}
7
+ {% for post in site.posts %}
8
+ {{site.production_url}}{{ post.url }}{% endfor %}
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: page
3
+ title: Tags
4
+ header: Posts By Tag
5
+ group: navigation
6
+ ---
7
+ {% include JB/setup %}
8
+
9
+ <ul class="tag_box inline">
10
+ {% assign tags_list = site.tags %}
11
+ {% include JB/tags_list %}
12
+ </ul>
13
+
14
+
15
+ {% for tag in site.tags %}
16
+ <h2 id="{{ tag[0] }}-ref">{{ tag[0] }}</h2>
17
+ <ul>
18
+ {% assign pages_list = tag[1] %}
19
+ {% include JB/pages_list %}
20
+ </ul>
21
+ {% endfor %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dextery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3b
4
+ version: 0.0.3c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marshall Shen
@@ -83,6 +83,50 @@ files:
83
83
  - dextery.gemspec
84
84
  - lib/dextery.rb
85
85
  - lib/dextery/generator.rb
86
+ - lib/dextery/template/.gitignore
87
+ - lib/dextery/template/404.html
88
+ - lib/dextery/template/README.md
89
+ - lib/dextery/template/Rakefile
90
+ - lib/dextery/template/_config.yml
91
+ - lib/dextery/template/_drafts/jekyll-introduction-draft.md
92
+ - lib/dextery/template/_includes/JB/analytics
93
+ - lib/dextery/template/_includes/JB/analytics-providers/getclicky
94
+ - lib/dextery/template/_includes/JB/analytics-providers/google
95
+ - lib/dextery/template/_includes/JB/analytics-providers/mixpanel
96
+ - lib/dextery/template/_includes/JB/categories_list
97
+ - lib/dextery/template/_includes/JB/comments
98
+ - lib/dextery/template/_includes/JB/comments-providers/disqus
99
+ - lib/dextery/template/_includes/JB/comments-providers/facebook
100
+ - lib/dextery/template/_includes/JB/comments-providers/intensedebate
101
+ - lib/dextery/template/_includes/JB/comments-providers/livefyre
102
+ - lib/dextery/template/_includes/JB/liquid_raw
103
+ - lib/dextery/template/_includes/JB/pages_list
104
+ - lib/dextery/template/_includes/JB/posts_collate
105
+ - lib/dextery/template/_includes/JB/setup
106
+ - lib/dextery/template/_includes/JB/sharing
107
+ - lib/dextery/template/_includes/JB/tags_list
108
+ - lib/dextery/template/_includes/themes/twitter/default.html
109
+ - lib/dextery/template/_includes/themes/twitter/page.html
110
+ - lib/dextery/template/_includes/themes/twitter/post.html
111
+ - lib/dextery/template/_includes/themes/twitter/settings.yml
112
+ - lib/dextery/template/_layouts/default.html
113
+ - lib/dextery/template/_layouts/page.html
114
+ - lib/dextery/template/_layouts/post.html
115
+ - lib/dextery/template/_plugins/debug.rb
116
+ - lib/dextery/template/_posts/core-samples/2011-12-29-jekyll-introduction.md
117
+ - lib/dextery/template/archive.html
118
+ - lib/dextery/template/assets/themes/twitter/bootstrap/css/bootstrap.2.2.2.min.css
119
+ - lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings-white.png
120
+ - lib/dextery/template/assets/themes/twitter/bootstrap/img/glyphicons-halflings.png
121
+ - lib/dextery/template/assets/themes/twitter/css/style.css
122
+ - lib/dextery/template/atom.xml
123
+ - lib/dextery/template/categories.html
124
+ - lib/dextery/template/changelog.md
125
+ - lib/dextery/template/index.md
126
+ - lib/dextery/template/pages.html
127
+ - lib/dextery/template/rss.xml
128
+ - lib/dextery/template/sitemap.txt
129
+ - lib/dextery/template/tags.html
86
130
  homepage: https://github.com/marshallshen/dextery
87
131
  licenses:
88
132
  - MIT