fones 0.1.0

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 (97) hide show
  1. data/.document +5 -0
  2. data/.rspec +1 -0
  3. data/CHANGELOG.md +8 -0
  4. data/Gemfile +28 -0
  5. data/Gemfile.lock +108 -0
  6. data/LICENSE +20 -0
  7. data/README.md +61 -0
  8. data/Rakefile +54 -0
  9. data/VERSION +1 -0
  10. data/bin/fones +12 -0
  11. data/features/step_definitions/fones_steps.rb +38 -0
  12. data/features/support/env.rb +17 -0
  13. data/fones.gemspec +187 -0
  14. data/layouts/config/config.tt +19 -0
  15. data/layouts/default/css/_1030up.scss.erb +8 -0
  16. data/layouts/default/css/_1240up.scss.erb +8 -0
  17. data/layouts/default/css/_2x.scss.erb +40 -0
  18. data/layouts/default/css/_481up.scss.erb +109 -0
  19. data/layouts/default/css/_768up.scss.erb +280 -0
  20. data/layouts/default/css/_base.scss.erb +836 -0
  21. data/layouts/default/css/_grid.scss.erb +48 -0
  22. data/layouts/default/css/_header.scss.erb +18 -0
  23. data/layouts/default/css/_mixins.scss.erb +248 -0
  24. data/layouts/default/css/_normalize.scss.erb +536 -0
  25. data/layouts/default/css/_print.scss.erb +80 -0
  26. data/layouts/default/css/ie.scss.erb +52 -0
  27. data/layouts/default/css/login.scss.erb +65 -0
  28. data/layouts/default/css/style.css.scss.erb +111 -0
  29. data/layouts/default/functions/functions.php.erb +166 -0
  30. data/layouts/default/functions/library/admin.php.erb +131 -0
  31. data/layouts/default/functions/library/bones.php.erb +397 -0
  32. data/layouts/default/functions/library/custom-post-type.php.erb +122 -0
  33. data/layouts/default/functions/library/translation/README +18 -0
  34. data/layouts/default/functions/library/translation/da_DK.po +374 -0
  35. data/layouts/default/functions/library/translation/de_DE.po +385 -0
  36. data/layouts/default/functions/library/translation/default.po +372 -0
  37. data/layouts/default/functions/library/translation/es_ES.po +380 -0
  38. data/layouts/default/functions/library/translation/fr_FR.po +579 -0
  39. data/layouts/default/functions/library/translation/he_IL.po +382 -0
  40. data/layouts/default/functions/library/translation/hr.po +548 -0
  41. data/layouts/default/functions/library/translation/it_IT.po +376 -0
  42. data/layouts/default/functions/library/translation/ja.po +492 -0
  43. data/layouts/default/functions/library/translation/nb_NO.po +380 -0
  44. data/layouts/default/functions/library/translation/nl_NL.po +376 -0
  45. data/layouts/default/functions/library/translation/pl_PL.po +371 -0
  46. data/layouts/default/functions/library/translation/pt_PT.po +376 -0
  47. data/layouts/default/functions/library/translation/ru_RU.po +358 -0
  48. data/layouts/default/functions/library/translation/sv_SE.po +380 -0
  49. data/layouts/default/functions/library/translation/translation.php.erb +18 -0
  50. data/layouts/default/functions/library/translation/zh_CN.po +382 -0
  51. data/layouts/default/img/apple-icon-touch.png +0 -0
  52. data/layouts/default/img/custom-post-icon.png +0 -0
  53. data/layouts/default/img/favicon.ico +0 -0
  54. data/layouts/default/img/favicon.png +0 -0
  55. data/layouts/default/img/login-logo.png +0 -0
  56. data/layouts/default/img/nothing.gif +0 -0
  57. data/layouts/default/img/nothumb.gif +0 -0
  58. data/layouts/default/img/screenshot.png +0 -0
  59. data/layouts/default/img/win8-tile-icon.png +0 -0
  60. data/layouts/default/js/admin.js +1 -0
  61. data/layouts/default/js/libs/modernizr.custom.min.js +4 -0
  62. data/layouts/default/js/scripts.js +108 -0
  63. data/layouts/default/js/theme.js +2 -0
  64. data/layouts/default/templates/404.php.erb +43 -0
  65. data/layouts/default/templates/archive-custom_type.php.erb +73 -0
  66. data/layouts/default/templates/archive.php.erb +108 -0
  67. data/layouts/default/templates/attachment.php.erb +32 -0
  68. data/layouts/default/templates/comments.php.erb +121 -0
  69. data/layouts/default/templates/footer.php.erb +22 -0
  70. data/layouts/default/templates/header.php.erb +63 -0
  71. data/layouts/default/templates/index.php.erb +72 -0
  72. data/layouts/default/templates/page-custom.php.erb +66 -0
  73. data/layouts/default/templates/page.php.erb +60 -0
  74. data/layouts/default/templates/search.php.erb +71 -0
  75. data/layouts/default/templates/sidebar.php.erb +17 -0
  76. data/layouts/default/templates/single-custom_type.php.erb +78 -0
  77. data/layouts/default/templates/single.php.erb +61 -0
  78. data/layouts/default/templates/taxonomy-custom_cat.php.erb +87 -0
  79. data/lib/fones.rb +11 -0
  80. data/lib/forge/builder.rb +269 -0
  81. data/lib/forge/cli.rb +86 -0
  82. data/lib/forge/config.rb +61 -0
  83. data/lib/forge/engines.rb +12 -0
  84. data/lib/forge/error.rb +8 -0
  85. data/lib/forge/generator.rb +144 -0
  86. data/lib/forge/guard.rb +65 -0
  87. data/lib/forge/project.rb +162 -0
  88. data/lib/forge/version.rb +3 -0
  89. data/lib/guard/forge/assets.rb +31 -0
  90. data/lib/guard/forge/config.rb +34 -0
  91. data/lib/guard/forge/functions.rb +33 -0
  92. data/lib/guard/forge/templates.rb +28 -0
  93. data/pkg/fones-0.1.0.gem +0 -0
  94. data/spec/lib/forge/config_spec.rb +79 -0
  95. data/spec/lib/forge/project_spec.rb +34 -0
  96. data/spec/spec_helper.rb +13 -0
  97. metadata +437 -0
@@ -0,0 +1,2 @@
1
+ // Regular theme JavaScript goes here
2
+ //= require 'scripts'
@@ -0,0 +1,43 @@
1
+ <?php get_header(); ?>
2
+
3
+ <div id="content">
4
+
5
+ <div id="inner-content" class="wrap clearfix">
6
+
7
+ <div id="main" class="eightcol first clearfix" role="main">
8
+
9
+ <article id="post-not-found" class="hentry clearfix">
10
+
11
+ <header class="article-header">
12
+
13
+ <h1><?php _e("Epic 404 - Article Not Found", "<%= theme_id %>theme"); ?></h1>
14
+
15
+ </header> <!-- end article header -->
16
+
17
+ <section class="entry-content">
18
+
19
+ <p><?php _e("The article you were looking for was not found, but maybe try looking again!", "<%= theme_id %>theme"); ?></p>
20
+
21
+ </section> <!-- end article section -->
22
+
23
+ <section class="search">
24
+
25
+ <p><?php get_search_form(); ?></p>
26
+
27
+ </section> <!-- end search section -->
28
+
29
+ <footer class="article-footer">
30
+
31
+ <p><?php _e("This is the 404.php template.", "<%= theme_id %>theme"); ?></p>
32
+
33
+ </footer> <!-- end article footer -->
34
+
35
+ </article> <!-- end article -->
36
+
37
+ </div> <!-- end #main -->
38
+
39
+ </div> <!-- end #inner-content -->
40
+
41
+ </div> <!-- end #content -->
42
+
43
+ <?php get_footer(); ?>
@@ -0,0 +1,73 @@
1
+ <?php get_header(); ?>
2
+
3
+ <div id="content">
4
+
5
+ <div id="inner-content" class="wrap clearfix">
6
+
7
+ <div id="main" class="eightcol first clearfix" role="main">
8
+
9
+ <h1 class="archive-title h2"><?php post_type_archive_title(); ?></h1>
10
+
11
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
12
+
13
+ <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
14
+
15
+ <header class="article-header">
16
+
17
+ <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
18
+ <p class="byline vcard"><?php
19
+ printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span>.', '<%= theme_id %>theme'), get_the_time('Y-m-j'), get_the_time(__('F jS, Y', '<%= theme_id %>theme')), <%= theme_id %>_get_the_author_posts_link());
20
+ ?></p>
21
+
22
+ </header> <!-- end article header -->
23
+
24
+ <section class="entry-content clearfix">
25
+
26
+ <?php the_excerpt(); ?>
27
+
28
+ </section> <!-- end article section -->
29
+
30
+ <footer class="article-footer">
31
+
32
+ </footer> <!-- end article footer -->
33
+
34
+ </article> <!-- end article -->
35
+
36
+ <?php endwhile; ?>
37
+
38
+ <?php if (function_exists('<%= theme_id %>_page_navi')) { ?>
39
+ <?php <%= theme_id %>_page_navi(); ?>
40
+ <?php } else { ?>
41
+ <nav class="wp-prev-next">
42
+ <ul class="clearfix">
43
+ <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "<%= theme_id %>theme")) ?></li>
44
+ <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "<%= theme_id %>theme")) ?></li>
45
+ </ul>
46
+ </nav>
47
+ <?php } ?>
48
+
49
+ <?php else : ?>
50
+
51
+ <article id="post-not-found" class="hentry clearfix">
52
+ <header class="article-header">
53
+ <h1><?php _e("Oops, Post Not Found!", "<%= theme_id %>theme"); ?></h1>
54
+ </header>
55
+ <section class="entry-content">
56
+ <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "<%= theme_id %>theme"); ?></p>
57
+ </section>
58
+ <footer class="article-footer">
59
+ <p><?php _e("This is the error message in the custom posty type archive template.", "<%= theme_id %>theme"); ?></p>
60
+ </footer>
61
+ </article>
62
+
63
+ <?php endif; ?>
64
+
65
+ </div> <!-- end #main -->
66
+
67
+ <?php get_sidebar(); ?>
68
+
69
+ </div> <!-- end #inner-content -->
70
+
71
+ </div> <!-- end #content -->
72
+
73
+ <?php get_footer(); ?>
@@ -0,0 +1,108 @@
1
+ <?php get_header(); ?>
2
+
3
+ <div id="content">
4
+
5
+ <div id="inner-content" class="wrap clearfix">
6
+
7
+ <div id="main" class="eightcol first clearfix" role="main">
8
+
9
+ <?php if (is_category()) { ?>
10
+ <h1 class="archive-title h2">
11
+ <span><?php _e("Posts Categorized:", "<%= theme_id %>theme"); ?></span> <?php single_cat_title(); ?>
12
+ </h1>
13
+
14
+ <?php } elseif (is_tag()) { ?>
15
+ <h1 class="archive-title h2">
16
+ <span><?php _e("Posts Tagged:", "<%= theme_id %>theme"); ?></span> <?php single_tag_title(); ?>
17
+ </h1>
18
+
19
+ <?php } elseif (is_author()) {
20
+ global $post;
21
+ $author_id = $post->post_author;
22
+ ?>
23
+ <h1 class="archive-title h2">
24
+
25
+ <span><?php _e("Posts By:", "<%= theme_id %>theme"); ?></span> <?php the_author_meta('display_name', $author_id); ?>
26
+
27
+ </h1>
28
+ <?php } elseif (is_day()) { ?>
29
+ <h1 class="archive-title h2">
30
+ <span><?php _e("Daily Archives:", "<%= theme_id %>theme"); ?></span> <?php the_time('l, F j, Y'); ?>
31
+ </h1>
32
+
33
+ <?php } elseif (is_month()) { ?>
34
+ <h1 class="archive-title h2">
35
+ <span><?php _e("Monthly Archives:", "<%= theme_id %>theme"); ?></span> <?php the_time('F Y'); ?>
36
+ </h1>
37
+
38
+ <?php } elseif (is_year()) { ?>
39
+ <h1 class="archive-title h2">
40
+ <span><?php _e("Yearly Archives:", "<%= theme_id %>theme"); ?></span> <?php the_time('Y'); ?>
41
+ </h1>
42
+ <?php } ?>
43
+
44
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
45
+
46
+ <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
47
+
48
+ <header class="article-header">
49
+
50
+ <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
51
+ <p class="byline vcard"><?php
52
+ printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', '<%= theme_id %>theme'), get_the_time('Y-m-j'), get_the_time(__('F jS, Y', '<%= theme_id %>theme')), <%= theme_id %>_get_the_author_posts_link(), get_the_category_list(', '));
53
+ ?></p>
54
+
55
+ </header> <!-- end article header -->
56
+
57
+ <section class="entry-content clearfix">
58
+
59
+ <?php the_post_thumbnail( '<%= theme_id %>-thumb-300' ); ?>
60
+
61
+ <?php the_excerpt(); ?>
62
+
63
+ </section> <!-- end article section -->
64
+
65
+ <footer class="article-footer">
66
+
67
+ </footer> <!-- end article footer -->
68
+
69
+ </article> <!-- end article -->
70
+
71
+ <?php endwhile; ?>
72
+
73
+ <?php if (function_exists('<%= theme_id %>_page_navi')) { ?>
74
+ <?php <%= theme_id %>_page_navi(); ?>
75
+ <?php } else { ?>
76
+ <nav class="wp-prev-next">
77
+ <ul class="clearfix">
78
+ <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "<%= theme_id %>theme")) ?></li>
79
+ <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "<%= theme_id %>theme")) ?></li>
80
+ </ul>
81
+ </nav>
82
+ <?php } ?>
83
+
84
+ <?php else : ?>
85
+
86
+ <article id="post-not-found" class="hentry clearfix">
87
+ <header class="article-header">
88
+ <h1><?php _e("Oops, Post Not Found!", "<%= theme_id %>theme"); ?></h1>
89
+ </header>
90
+ <section class="entry-content">
91
+ <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "<%= theme_id %>theme"); ?></p>
92
+ </section>
93
+ <footer class="article-footer">
94
+ <p><?php _e("This is the error message in the archive.php template.", "<%= theme_id %>theme"); ?></p>
95
+ </footer>
96
+ </article>
97
+
98
+ <?php endif; ?>
99
+
100
+ </div> <!-- end #main -->
101
+
102
+ <?php get_sidebar(); ?>
103
+
104
+ </div> <!-- end #inner-content -->
105
+
106
+ </div> <!-- end #content -->
107
+
108
+ <?php get_footer(); ?>
@@ -0,0 +1,32 @@
1
+ <?php get_header(); ?>
2
+ <?php the_post(); ?>
3
+ <h1 class="page-title"><?php the_title(); ?></h1>
4
+ <div>
5
+ <a href="<?php echo wp_get_attachment_url( $post->ID ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment">
6
+ <?php
7
+ if ( wp_attachment_is_image ( $post->ID ) ) {
8
+ $img_src = wp_get_attachment_image_src( $post->ID, 'large' );
9
+ $alt_text = get_post_meta( $post->ID, '_wp_attachment_image_alt', true );
10
+ ?>
11
+ <img src="<?php echo esc_url( $img_src[0] ); ?>" alt="<?php esc_attr_e( $alt_text ); ?>">
12
+ <?php
13
+ } else {
14
+ echo basename( $post->guid );
15
+ }
16
+ ?>
17
+ </a>
18
+ <?php if ( $post->post_content ) : ?>
19
+ <div class="description">
20
+ <?php the_content(); ?>
21
+ </div>
22
+ <?php endif; ?>
23
+ <div class="pagination clear">
24
+ <div class="alignleft"><?php previous_image_link( 0, __( '&larr; Previous image', '<%= theme_id %>' ) ); ?></div>
25
+ <div class="alignright"><?php next_image_link( 0, __( 'Next image &rarr;', '<%= theme_id %>' ) ); ?></div>
26
+ </div>
27
+ <div>
28
+ <a href="<?php echo get_permalink( $post->post_parent ); ?>"><?php _e( 'Return to gallery', '<%= theme_id %>' ); ?></a>
29
+ </div>
30
+ </div>
31
+ <?php get_sidebar(); ?>
32
+ <?php get_footer(); ?>
@@ -0,0 +1,121 @@
1
+ <?php
2
+ /*
3
+ The comments page for Bones
4
+ */
5
+
6
+ // Do not delete these lines
7
+ if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
8
+ die ('Please do not load this page directly. Thanks!');
9
+
10
+ if ( post_password_required() ) { ?>
11
+ <div class="alert alert-help">
12
+ <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments.", "<%= theme_id %>theme"); ?></p>
13
+ </div>
14
+ <?php
15
+ return;
16
+ }
17
+ ?>
18
+
19
+ <!-- You can start editing here. -->
20
+
21
+ <?php if ( have_comments() ) : ?>
22
+ <h3 id="comments" class="h2"><?php comments_number(__('<span>No</span> Responses', '<%= theme_id %>theme'), __('<span>One</span> Response', '<%= theme_id %>theme'), _n('<span>%</span> Response', '<span>%</span> Responses', get_comments_number(),'<%= theme_id %>theme') );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
23
+
24
+ <nav id="comment-nav">
25
+ <ul class="clearfix">
26
+ <li><?php previous_comments_link() ?></li>
27
+ <li><?php next_comments_link() ?></li>
28
+ </ul>
29
+ </nav>
30
+
31
+ <ol class="commentlist">
32
+ <?php wp_list_comments('type=comment&callback=<%= theme_id %>_comments'); ?>
33
+ </ol>
34
+
35
+ <nav id="comment-nav">
36
+ <ul class="clearfix">
37
+ <li><?php previous_comments_link() ?></li>
38
+ <li><?php next_comments_link() ?></li>
39
+ </ul>
40
+ </nav>
41
+
42
+ <?php else : // this is displayed if there are no comments so far ?>
43
+
44
+ <?php if ( comments_open() ) : ?>
45
+ <!-- If comments are open, but there are no comments. -->
46
+
47
+ <?php else : // comments are closed ?>
48
+
49
+ <!-- If comments are closed. -->
50
+ <!--p class="nocomments"><?php _e("Comments are closed.", "<%= theme_id %>theme"); ?></p-->
51
+
52
+ <?php endif; ?>
53
+
54
+ <?php endif; ?>
55
+
56
+
57
+ <?php if ( comments_open() ) : ?>
58
+
59
+ <section id="respond" class="respond-form">
60
+
61
+ <h3 id="comment-form-title" class="h2"><?php comment_form_title( __('Leave a Reply', '<%= theme_id %>theme'), __('Leave a Reply to %s', '<%= theme_id %>theme' )); ?></h3>
62
+
63
+ <div id="cancel-comment-reply">
64
+ <p class="small"><?php cancel_comment_reply_link(); ?></p>
65
+ </div>
66
+
67
+ <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
68
+ <div class="alert alert-help">
69
+ <p><?php printf( __('You must be %1$slogged in%2$s to post a comment.', '<%= theme_id %>theme'), '<a href="<?php echo wp_login_url( get_permalink() ); ?>">', '</a>' ); ?></p>
70
+ </div>
71
+ <?php else : ?>
72
+
73
+ <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
74
+
75
+ <?php if ( is_user_logged_in() ) : ?>
76
+
77
+ <p class="comments-logged-in-as"><?php _e("Logged in as", "<%= theme_id %>theme"); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e("Log out of this account", "<%= theme_id %>theme"); ?>"><?php _e("Log out", "<%= theme_id %>theme"); ?> <?php _e("&raquo;", "<%= theme_id %>theme"); ?></a></p>
78
+
79
+ <?php else : ?>
80
+
81
+ <ul id="comment-form-elements" class="clearfix">
82
+
83
+ <li>
84
+ <label for="author"><?php _e("Name", "<%= theme_id %>theme"); ?> <?php if ($req) _e("(required)"); ?></label>
85
+ <input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" placeholder="<?php _e('Your Name*', '<%= theme_id %>theme'); ?>" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
86
+ </li>
87
+
88
+ <li>
89
+ <label for="email"><?php _e("Mail", "<%= theme_id %>theme"); ?> <?php if ($req) _e("(required)"); ?></label>
90
+ <input type="email" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" placeholder="<?php _e('Your E-Mail*', '<%= theme_id %>theme'); ?>" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
91
+ <small><?php _e("(will not be published)", "<%= theme_id %>theme"); ?></small>
92
+ </li>
93
+
94
+ <li>
95
+ <label for="url"><?php _e("Website", "<%= theme_id %>theme"); ?></label>
96
+ <input type="url" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" placeholder="<?php _e('Got a website?', '<%= theme_id %>theme'); ?>" tabindex="3" />
97
+ </li>
98
+
99
+ </ul>
100
+
101
+ <?php endif; ?>
102
+
103
+ <p><textarea name="comment" id="comment" placeholder="<?php _e('Your Comment here...', '<%= theme_id %>theme'); ?>" tabindex="4"></textarea></p>
104
+
105
+ <p>
106
+ <input name="submit" type="submit" id="submit" class="button" tabindex="5" value="<?php _e('Submit', '<%= theme_id %>theme'); ?>" />
107
+ <?php comment_id_fields(); ?>
108
+ </p>
109
+
110
+ <div class="alert alert-info">
111
+ <p id="allowed_tags" class="small"><strong>XHTML:</strong> <?php _e('You can use these tags', '<%= theme_id %>theme'); ?>: <code><?php echo allowed_tags(); ?></code></p>
112
+ </div>
113
+
114
+ <?php do_action('comment_form', $post->ID); ?>
115
+
116
+ </form>
117
+
118
+ <?php endif; // If registration required and not logged in ?>
119
+ </section>
120
+
121
+ <?php endif; // if you delete this the sky will fall on your head ?>
@@ -0,0 +1,22 @@
1
+ <footer class="footer" role="contentinfo">
2
+
3
+ <div id="inner-footer" class="wrap clearfix">
4
+
5
+ <nav role="navigation">
6
+ <?php <%= theme_id %>_footer_links(); ?>
7
+ </nav>
8
+
9
+ <p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.</p>
10
+
11
+ </div> <!-- end #inner-footer -->
12
+
13
+ </footer> <!-- end footer -->
14
+
15
+ </div> <!-- end #container -->
16
+
17
+ <!-- all js scripts are loaded in library/bones.php -->
18
+ <?php wp_footer(); ?>
19
+
20
+ </body>
21
+
22
+ </html> <!-- end page. what a ride! -->
@@ -0,0 +1,63 @@
1
+ <!doctype html>
2
+
3
+ <!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
4
+ <!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
5
+ <!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
6
+ <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
7
+
8
+ <head>
9
+ <meta charset="utf-8">
10
+
11
+ <!-- Google Chrome Frame for IE -->
12
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
13
+
14
+ <title><?php wp_title(''); ?></title>
15
+
16
+ <!-- mobile meta (hooray!) -->
17
+ <meta name="HandheldFriendly" content="True">
18
+ <meta name="MobileOptimized" content="320">
19
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
20
+
21
+ <!-- icons & favicons (for more: http://www.jonathantneal.com/blog/understand-the-favicon/) -->
22
+ <link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/images/apple-icon-touch.png">
23
+ <link rel="icon" href="<?php echo get_template_directory_uri(); ?>/favicon.png">
24
+ <!--[if IE]>
25
+ <link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
26
+ <![endif]-->
27
+ <!-- or, set /favicon.ico for IE10 win -->
28
+ <meta name="msapplication-TileColor" content="#f01d4f">
29
+ <meta name="msapplication-TileImage" content="<?php echo get_template_directory_uri(); ?>/images/win8-tile-icon.png">
30
+
31
+ <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
32
+
33
+ <!-- wordpress head functions -->
34
+ <?php wp_head(); ?>
35
+ <!-- end of wordpress head -->
36
+
37
+ <!-- drop Google Analytics Here -->
38
+ <!-- end analytics -->
39
+
40
+ </head>
41
+
42
+ <body <?php body_class(); ?>>
43
+
44
+ <div id="container">
45
+
46
+ <header class="header" role="banner">
47
+
48
+ <div id="inner-header" class="wrap clearfix">
49
+
50
+ <!-- to use a image just replace the bloginfo('name') with your img src and remove the surrounding <p> -->
51
+ <p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo('name'); ?></a></p>
52
+
53
+ <!-- if you'd like to use the site description you can un-comment it below -->
54
+ <?php // bloginfo('description'); ?>
55
+
56
+
57
+ <nav role="navigation">
58
+ <?php <%= theme_id %>_main_nav(); ?>
59
+ </nav>
60
+
61
+ </div> <!-- end #inner-header -->
62
+
63
+ </header> <!-- end header -->