marv 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/.rspec +1 -0
  2. data/CHANGELOG.md +13 -0
  3. data/Gemfile +3 -4
  4. data/Gemfile.lock +70 -28
  5. data/LICENSE +24 -0
  6. data/Rakefile +7 -1
  7. data/VERSION +1 -1
  8. data/layouts/bramble/functions/functions.php.erb +12 -12
  9. data/layouts/bramble/includes/options.php.erb +4 -4
  10. data/layouts/config/{config.tt → project-config.rb} +4 -1
  11. data/layouts/config/rack-config.ru +38 -0
  12. data/layouts/config/wp-config.php.erb +105 -0
  13. data/layouts/default/functions/functions.php.erb +25 -25
  14. data/layouts/default/includes/filters-admin.php.erb +8 -8
  15. data/layouts/default/includes/filters.php.erb +11 -11
  16. data/layouts/default/includes/helpers.php.erb +1 -1
  17. data/layouts/default/templates/404.php.erb +2 -2
  18. data/layouts/default/templates/archive.php.erb +5 -5
  19. data/layouts/default/templates/author.php.erb +1 -1
  20. data/layouts/default/templates/partials/comments.php.erb +8 -8
  21. data/layouts/default/templates/partials/content-none.php.erb +3 -3
  22. data/layouts/default/templates/partials/content.php.erb +2 -2
  23. data/layouts/default/templates/partials/searchform.php.erb +3 -3
  24. data/layouts/default/templates/search.php.erb +2 -2
  25. data/lib/guard/marv/assets.rb +11 -3
  26. data/lib/guard/marv/config.rb +2 -0
  27. data/lib/guard/marv/folders.rb +37 -0
  28. data/lib/guard/marv/functions.rb +13 -9
  29. data/lib/guard/marv/templates.rb +12 -3
  30. data/lib/marv.rb +1 -0
  31. data/lib/marv/builder.rb +49 -15
  32. data/lib/marv/cli.rb +135 -10
  33. data/lib/marv/engines.rb +3 -1
  34. data/lib/marv/generator.rb +13 -8
  35. data/lib/marv/guard.rb +4 -1
  36. data/lib/marv/project.rb +18 -10
  37. data/lib/marv/server.rb +301 -0
  38. data/lib/marv/version.rb +1 -1
  39. data/marv.gemspec +18 -16
  40. data/spec/lib/marv/project_spec.rb +3 -4
  41. metadata +27 -38
@@ -0,0 +1,105 @@
1
+ <?php
2
+ /**
3
+ * The base configurations of the WordPress.
4
+ *
5
+ * This file has the following configurations: MySQL settings, Table Prefix,
6
+ * Secret Keys, WordPress Language, and ABSPATH. You can find more information
7
+ * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
8
+ * wp-config.php} Codex page. You can get the MySQL settings from your web host.
9
+ *
10
+ * This file is used by the wp-config.php creation script during the
11
+ * installation. You don't have to use the web site, you can just copy this file
12
+ * to "wp-config.php" and fill in the values.
13
+ *
14
+ * @package WordPress
15
+ */
16
+
17
+ // ** MySQL settings - You can get this info from your web host ** //
18
+ /** The name of the database for WordPress */
19
+ define('DB_NAME', '<%= db_name %>');
20
+
21
+ /** MySQL database username */
22
+ define('DB_USER', 'root');
23
+
24
+ /** MySQL database password */
25
+ define('DB_PASSWORD', '<%= db_password %>');
26
+
27
+ /** MySQL hostname */
28
+ define('DB_HOST', '<%= db_host %>');
29
+
30
+ /** Database Charset to use in creating database tables. */
31
+ define('DB_CHARSET', 'utf8');
32
+
33
+ /** The Database Collate type. Don't change this if in doubt. */
34
+ define('DB_COLLATE', '');
35
+
36
+ /**#@+
37
+ * Authentication Unique Keys and Salts.
38
+ *
39
+ * Change these to different unique phrases!
40
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
41
+ * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
42
+ *
43
+ * @since 2.6.0
44
+ */
45
+ define('AUTH_KEY', '(z{&LzGfi1hsDj}sP6|d0,6ZMbI5mt]~:LDxeC=H39Q(V`*y_N=y`Cf#M1-?c|)4');
46
+ define('SECURE_AUTH_KEY', 'px&-3I7!,OLR3JgtN=R&Ny*q_f&Q$=z+kXgdzav=m}.*-4678z#/;CeGi<E5:U0w');
47
+ define('LOGGED_IN_KEY', 'lqSDH=vow@61GMpOu |`s8}^Qom(.mqk`f}0ODW7s^Nr|^!+MS<e88+[@}F${3,`');
48
+ define('NONCE_KEY', 'c>|r5SY#p85^rw]9M)R!sg=JXG#l.d)71v4=+x`(Hcb_^1;p4*H#%u++aMI:bwz=');
49
+ define('AUTH_SALT', '=qK|%+m.q[b1Xj92/(,rojsmtAYw]kTxa}HK:VuOfK4vvGo-2jAffi&;7hn-dxY/');
50
+ define('SECURE_AUTH_SALT', '.K-S,l&:Ge[NnaV]Fq1wY aZ]S(+:fdtsXy&&yPCzq-57,XI+TtK/06#x))bgtWV');
51
+ define('LOGGED_IN_SALT', 'W;__p1.Q7$IWs|x^jo5y6{N*%O$TZ)v^b<bg07I}u^D0*VudFwh0Q)[(3i$9UwU@');
52
+ define('NONCE_SALT', 'i9iG)iT=--[SNAD<u,W9)$u2N|fJp6fR3A+:pPcmU8CxWcHNI;qjVPJRf*+Q-!jK');
53
+
54
+ /**#@-*/
55
+
56
+ /**
57
+ * WordPress Database Table prefix.
58
+ *
59
+ * You can have multiple installations in one database if you give each a unique
60
+ * prefix. Only numbers, letters, and underscores please!
61
+ */
62
+ $table_prefix = 'wp_';
63
+
64
+ /**
65
+ * WordPress Localized Language, defaults to English.
66
+ *
67
+ * Change this to localize WordPress. A corresponding MO file for the chosen
68
+ * language must be installed to wp-content/languages. For example, install
69
+ * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
70
+ * language support.
71
+ */
72
+ define('WPLANG', '');
73
+
74
+ /**
75
+ * WordPress default settings
76
+ */
77
+
78
+ $base_path = substr(ABSPATH, strlen($_SERVER['DOCUMENT_ROOT']));
79
+ define('WP_SITEURL', "http://${_SERVER['HTTP_HOST']}${base_path}");
80
+ define('WP_HOME', "http://${_SERVER['HTTP_HOST']}${base_path}");
81
+
82
+ /**
83
+ * For developers: WordPress debugging mode.
84
+ *
85
+ * Change this to true to enable the display of notices during development.
86
+ * It is strongly recommended that plugin and theme developers use WP_DEBUG
87
+ * in their development environments.
88
+ */
89
+ define('WP_DEBUG', true);
90
+
91
+ // Enable Debug logging to the /wp-content/debug.log file
92
+ define('WP_DEBUG_LOG', true);
93
+
94
+ // Disable display of errors and warnings
95
+ define('WP_DEBUG_DISPLAY', false);
96
+ @ini_set('display_errors',0);
97
+
98
+ /* That's all, stop editing! Happy blogging. */
99
+
100
+ /** Absolute path to the WordPress directory. */
101
+ if ( !defined('ABSPATH') )
102
+ define('ABSPATH', dirname(__FILE__) . '/');
103
+
104
+ /** Sets up WordPress vars and included files. */
105
+ require_once(ABSPATH . 'wp-settings.php');
@@ -9,7 +9,7 @@ if ( ! isset( $content_width ) ) {
9
9
  }
10
10
 
11
11
  // Scaffold setup
12
- if( ! function_exists( '<%= theme_id %>_setup' ) ) :
12
+ if( ! function_exists( '<%= project_id %>_setup' ) ) :
13
13
 
14
14
  /**
15
15
  * Sets up theme defaults and registers support for various WordPress features.
@@ -18,11 +18,11 @@ if( ! function_exists( '<%= theme_id %>_setup' ) ) :
18
18
  * runs before the init hook. The init hook is too late for some features, such
19
19
  * as indicating support for post thumbnails.
20
20
  */
21
- function <%= theme_id %>_setup()
21
+ function <%= project_id %>_setup()
22
22
  {
23
23
  // Textdomain
24
- load_theme_textdomain( '<%= theme_id %>', get_template_directory() . '/includes/languages' );
25
- load_child_theme_textdomain( '<%= theme_id %>', get_stylesheet_directory() . '/includes/languages' );
24
+ load_theme_textdomain( '<%= project_id %>', get_template_directory() . '/includes/languages' );
25
+ load_child_theme_textdomain( '<%= project_id %>', get_stylesheet_directory() . '/includes/languages' );
26
26
 
27
27
  // Theme support
28
28
  add_theme_support( 'menus' );
@@ -36,49 +36,49 @@ if( ! function_exists( '<%= theme_id %>_setup' ) ) :
36
36
 
37
37
  // Menus
38
38
  register_nav_menus( array(
39
- 'primary-menu' => __( 'Primary', '<%= theme_id %>' ),
40
- 'secondary-menu' => __( 'Secondary', '<%= theme_id %>' ),
41
- 'footer-menu' => __( 'Footer', '<%= theme_id %>' )
39
+ 'primary-menu' => __( 'Primary', '<%= project_id %>' ),
40
+ 'secondary-menu' => __( 'Secondary', '<%= project_id %>' ),
41
+ 'footer-menu' => __( 'Footer', '<%= project_id %>' )
42
42
  ) );
43
43
  }
44
44
 
45
45
  endif;
46
46
 
47
- add_action( 'after_setup_theme', '<%= theme_id %>_setup' );
47
+ add_action( 'after_setup_theme', '<%= project_id %>_setup' );
48
48
 
49
49
  /**
50
50
  * Init for theme child
51
51
  */
52
- function <%= theme_id %>_child_init() {
53
- do_action( '<%= theme_id %>_child_init' );
52
+ function <%= project_id %>_child_init() {
53
+ do_action( '<%= project_id %>_child_init' );
54
54
  }
55
55
 
56
- add_action( 'after_setup_theme', '<%= theme_id %>_child_init' );
56
+ add_action( 'after_setup_theme', '<%= project_id %>_child_init' );
57
57
 
58
58
  /**
59
59
  * Enqueue scripts and styles.
60
60
  */
61
- function <%= theme_id %>_styles_scripts()
61
+ function <%= project_id %>_styles_scripts()
62
62
  {
63
63
  // Styles
64
- add_action( 'wp_enqueue_scripts', '<%= theme_id %>_register_styles' );
65
- add_action( 'wp_enqueue_scripts', '<%= theme_id %>_enqueue_styles' );
64
+ add_action( 'wp_enqueue_scripts', '<%= project_id %>_register_styles' );
65
+ add_action( 'wp_enqueue_scripts', '<%= project_id %>_enqueue_styles' );
66
66
 
67
67
  // Scripts
68
- add_action( 'wp_enqueue_scripts', '<%= theme_id %>_register_scripts' );
69
- add_action( 'wp_enqueue_scripts', '<%= theme_id %>_enqueue_scripts' );
68
+ add_action( 'wp_enqueue_scripts', '<%= project_id %>_register_scripts' );
69
+ add_action( 'wp_enqueue_scripts', '<%= project_id %>_enqueue_scripts' );
70
70
 
71
71
  // Admin scripts
72
- add_action( 'admin_enqueue_scripts', '<%= theme_id %>_register_admin_scripts' );
73
- add_action( 'admin_enqueue_scripts', '<%= theme_id %>_enqueue_admin_scripts' );
72
+ add_action( 'admin_enqueue_scripts', '<%= project_id %>_register_admin_scripts' );
73
+ add_action( 'admin_enqueue_scripts', '<%= project_id %>_enqueue_admin_scripts' );
74
74
  }
75
75
 
76
- add_action( 'init', '<%= theme_id %>_styles_scripts' );
76
+ add_action( 'init', '<%= project_id %>_styles_scripts' );
77
77
 
78
78
  /**
79
79
  * Register styles.
80
80
  */
81
- function <%= theme_id %>_register_styles()
81
+ function <%= project_id %>_register_styles()
82
82
  {
83
83
  // Theme
84
84
  wp_register_style( 'style', get_stylesheet_directory_uri() . '/style.css', '', '', 'screen' );
@@ -87,7 +87,7 @@ function <%= theme_id %>_register_styles()
87
87
  /**
88
88
  * Enqueue styles.
89
89
  */
90
- function <%= theme_id %>_enqueue_styles()
90
+ function <%= project_id %>_enqueue_styles()
91
91
  {
92
92
  wp_enqueue_style( 'style' );
93
93
  }
@@ -95,7 +95,7 @@ function <%= theme_id %>_enqueue_styles()
95
95
  /**
96
96
  * Register scripts
97
97
  */
98
- function <%= theme_id %>_register_scripts()
98
+ function <%= project_id %>_register_scripts()
99
99
  {
100
100
  // Theme
101
101
  wp_register_script( 'theme', get_stylesheet_directory_uri() . '/javascripts/theme.js', array( 'jquery' ), '', true );
@@ -104,7 +104,7 @@ function <%= theme_id %>_register_scripts()
104
104
  /**
105
105
  * Enqueue scripts
106
106
  */
107
- function <%= theme_id %>_enqueue_scripts()
107
+ function <%= project_id %>_enqueue_scripts()
108
108
  {
109
109
  wp_enqueue_script( 'theme' );
110
110
 
@@ -116,7 +116,7 @@ function <%= theme_id %>_enqueue_scripts()
116
116
  /**
117
117
  * Register admin scripts
118
118
  */
119
- function <%= theme_id %>_register_admin_scripts()
119
+ function <%= project_id %>_register_admin_scripts()
120
120
  {
121
121
  // Admin
122
122
  wp_register_script( 'admin', get_stylesheet_directory_uri() . '/javascripts/admin.js', array( 'jquery' ), '', true );
@@ -125,7 +125,7 @@ function <%= theme_id %>_register_admin_scripts()
125
125
  /**
126
126
  * Enqueue admin scripts
127
127
  */
128
- function <%= theme_id %>_enqueue_admin_scripts()
128
+ function <%= project_id %>_enqueue_admin_scripts()
129
129
  {
130
130
  wp_enqueue_script( 'admin' );
131
131
  }
@@ -9,7 +9,7 @@ if( ! is_admin() ) return;
9
9
  /**
10
10
  * Remove contactmethods
11
11
  */
12
- function <%= theme_id %>_edit_contactmethods( $methods )
12
+ function <%= project_id %>_edit_contactmethods( $methods )
13
13
  {
14
14
  unset( $methods['aim'] );
15
15
  unset( $methods['jabber'] );
@@ -18,34 +18,34 @@ function <%= theme_id %>_edit_contactmethods( $methods )
18
18
  return $methods;
19
19
  }
20
20
 
21
- add_filter( 'user_contactmethods', '<%= theme_id %>_edit_contactmethods' );
21
+ add_filter( 'user_contactmethods', '<%= project_id %>_edit_contactmethods' );
22
22
 
23
23
  /**
24
24
  * Add MCE
25
25
  */
26
- function <%= theme_id %>_enable_more_buttons( $buttons )
26
+ function <%= project_id %>_enable_more_buttons( $buttons )
27
27
  {
28
28
  $buttons[] = 'hr';
29
29
 
30
30
  return $buttons;
31
31
  }
32
32
 
33
- add_filter( 'mce_buttons', '<%= theme_id %>_enable_more_buttons' );
33
+ add_filter( 'mce_buttons', '<%= project_id %>_enable_more_buttons' );
34
34
 
35
35
  /**
36
36
  * Remove menu items
37
37
  */
38
- function <%= theme_id %>_remove_menu_pages()
38
+ function <%= project_id %>_remove_menu_pages()
39
39
  {
40
40
  remove_menu_page( 'link-manager.php' );
41
41
  }
42
42
 
43
- add_action( 'admin_menu', '<%= theme_id %>_remove_menu_pages' );
43
+ add_action( 'admin_menu', '<%= project_id %>_remove_menu_pages' );
44
44
 
45
45
  /**
46
46
  * Remove dashboard widgets
47
47
  */
48
- function <%= theme_id %>_remove_dashboard_widgets()
48
+ function <%= project_id %>_remove_dashboard_widgets()
49
49
  {
50
50
  global $wp_meta_boxes;
51
51
 
@@ -59,4 +59,4 @@ function <%= theme_id %>_remove_dashboard_widgets()
59
59
  // unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] );
60
60
  }
61
61
 
62
- add_action( 'wp_dashboard_setup', '<%= theme_id %>_remove_dashboard_widgets' );
62
+ add_action( 'wp_dashboard_setup', '<%= project_id %>_remove_dashboard_widgets' );
@@ -11,7 +11,7 @@ add_filter( 'widget_text', 'do_shortcode' );
11
11
  /**
12
12
  * Body classes
13
13
  */
14
- function <%= theme_id %>_body_class( $classes )
14
+ function <%= project_id %>_body_class( $classes )
15
15
  {
16
16
  global $is_gecko, $is_IE, $is_opera, $is_safari, $is_chrome;
17
17
 
@@ -45,12 +45,12 @@ function <%= theme_id %>_body_class( $classes )
45
45
  return $classes;
46
46
  }
47
47
 
48
- add_filter( 'body_class', '<%= theme_id %>_body_class' );
48
+ add_filter( 'body_class', '<%= project_id %>_body_class' );
49
49
 
50
50
  /**
51
51
  * Remove generator
52
52
  */
53
- function <%= theme_id %>_cleanup_head()
53
+ function <%= project_id %>_cleanup_head()
54
54
  {
55
55
  remove_action('wp_head', 'feed_links', 2);
56
56
  remove_action('wp_head', 'feed_links_extra', 3);
@@ -61,12 +61,12 @@ function <%= theme_id %>_cleanup_head()
61
61
  remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);
62
62
  }
63
63
 
64
- add_action( 'init', '<%= theme_id %>_cleanup_head' );
64
+ add_action( 'init', '<%= project_id %>_cleanup_head' );
65
65
 
66
66
  /**
67
67
  * WP title
68
68
  */
69
- function <%= theme_id %>_wp_title( $title, $sep )
69
+ function <%= project_id %>_wp_title( $title, $sep )
70
70
  {
71
71
  global $paged, $page;
72
72
 
@@ -85,18 +85,18 @@ function <%= theme_id %>_wp_title( $title, $sep )
85
85
 
86
86
  // Add a page number if necessary.
87
87
  if ( $paged >= 2 ) {
88
- $title = "$title $sep " . sprintf( __( 'Page %s', '<%= theme_id %>' ), max( $paged, $page ) );
88
+ $title = "$title $sep " . sprintf( __( 'Page %s', '<%= project_id %>' ), max( $paged, $page ) );
89
89
  }
90
90
 
91
91
  return $title;
92
92
  }
93
93
 
94
- add_filter( 'wp_title', '<%= theme_id %>_wp_title', 10, 2 );
94
+ add_filter( 'wp_title', '<%= project_id %>_wp_title', 10, 2 );
95
95
 
96
96
  /**
97
97
  * Nav object classes
98
98
  */
99
- function <%= theme_id %>_add_extra_menu_classes( $objects )
99
+ function <%= project_id %>_add_extra_menu_classes( $objects )
100
100
  {
101
101
  $objects[1]->classes[] = 'first';
102
102
  $objects[count( $objects )]->classes[] = 'last';
@@ -104,15 +104,15 @@ function <%= theme_id %>_add_extra_menu_classes( $objects )
104
104
  return $objects;
105
105
  }
106
106
 
107
- add_filter( 'wp_nav_menu_objects', '<%= theme_id %>_add_extra_menu_classes' );
107
+ add_filter( 'wp_nav_menu_objects', '<%= project_id %>_add_extra_menu_classes' );
108
108
 
109
109
  /**
110
110
  * Add favicon
111
111
  */
112
- function <%= theme_id %>_favicon()
112
+ function <%= project_id %>_favicon()
113
113
  {
114
114
  echo '<link rel="shortcut icon" href="' . get_stylesheet_directory_uri() . '/images/favicon.png" type="image/png">';
115
115
  }
116
116
 
117
- add_action( 'wp_head', '<%= theme_id %>_favicon' );
117
+ add_action( 'wp_head', '<%= project_id %>_favicon' );
118
118
 
@@ -6,7 +6,7 @@ if( ! defined( 'ABSPATH' ) ) exit;
6
6
  /**
7
7
  * Helper function to generate normal pagination
8
8
  */
9
- function <%= theme_id %>_paging_nav( $pages = '', $range = 2 )
9
+ function <%= project_id %>_paging_nav( $pages = '', $range = 2 )
10
10
  {
11
11
  $showitems = ( $range * 2 ) + 1;
12
12
 
@@ -4,11 +4,11 @@
4
4
  <div class="content content-area">
5
5
 
6
6
  <header class="page-header">
7
- <h1 class="page-title"><?php _e( "Oops! That page can't be found.", '<%= theme_id %>' ); ?></h1>
7
+ <h1 class="page-title"><?php _e( "Oops! That page can't be found.", '<%= project_id %>' ); ?></h1>
8
8
  </header>
9
9
 
10
10
  <div class="page-content">
11
- <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', '<%= theme_id %>' ); ?></p>
11
+ <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', '<%= project_id %>' ); ?></p>
12
12
 
13
13
  <?php get_search_form(); ?>
14
14
  </div>
@@ -8,13 +8,13 @@
8
8
  <h1 class="page-title">
9
9
  <?php
10
10
  if ( is_day() ) :
11
- printf( __( 'Day: %s', '<%= theme_id %>' ), get_the_date() );
11
+ printf( __( 'Day: %s', '<%= project_id %>' ), get_the_date() );
12
12
  elseif ( is_month() ) :
13
- printf( __( 'Month: %s', '<%= theme_id %>' ), get_the_date( 'F Y' ) );
13
+ printf( __( 'Month: %s', '<%= project_id %>' ), get_the_date( 'F Y' ) );
14
14
  elseif ( is_year() ) :
15
- printf( __( 'Year: %s', '<%= theme_id %>' ), get_the_date( 'Y' ) );
15
+ printf( __( 'Year: %s', '<%= project_id %>' ), get_the_date( 'Y' ) );
16
16
  else :
17
- _e( 'Archives', '<%= theme_id %>' );
17
+ _e( 'Archives', '<%= project_id %>' );
18
18
  endif;
19
19
  ?>
20
20
  </h1>
@@ -26,7 +26,7 @@
26
26
 
27
27
  <?php endwhile; ?>
28
28
 
29
- <?php <%= theme_id %>_paging_nav(); ?>
29
+ <?php <%= project_id %>_paging_nav(); ?>
30
30
 
31
31
  <?php else : ?>
32
32
 
@@ -8,7 +8,7 @@
8
8
  <h1 class="page-title">
9
9
  <?php
10
10
  the_post();
11
- printf( __( 'All posts by %s', '<%= theme_id %>' ), sprintf(
11
+ printf( __( 'All posts by %s', '<%= project_id %>' ), sprintf(
12
12
  '<span class="vcard"><a class="url fn n" href="%1$s" rel="me">%2$s</a></span>',
13
13
  esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
14
14
  get_the_author()
@@ -9,16 +9,16 @@
9
9
 
10
10
  <h2 class="comments-title">
11
11
  <?php
12
- printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), '<%= theme_id %>' ),
12
+ printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), '<%= project_id %>' ),
13
13
  number_format_i18n( get_comments_number() ), get_the_title() );
14
14
  ?>
15
15
  </h2>
16
16
 
17
17
  <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
18
18
  <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
19
- <h1 class="screen-reader-text"><?php _e( 'Comment navigation', '<%= theme_id %>' ); ?></h1>
20
- <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '<%= theme_id %>' ) ); ?></div>
21
- <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '<%= theme_id %>' ) ); ?></div>
19
+ <h1 class="screen-reader-text"><?php _e( 'Comment navigation', '<%= project_id %>' ); ?></h1>
20
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '<%= project_id %>' ) ); ?></div>
21
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '<%= project_id %>' ) ); ?></div>
22
22
  </nav>
23
23
  <?php endif; ?>
24
24
 
@@ -34,14 +34,14 @@
34
34
 
35
35
  <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
36
36
  <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
37
- <h1 class="screen-reader-text"><?php _e( 'Comment navigation', '<%= theme_id %>' ); ?></h1>
38
- <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '<%= theme_id %>' ) ); ?></div>
39
- <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '<%= theme_id %>' ) ); ?></div>
37
+ <h1 class="screen-reader-text"><?php _e( 'Comment navigation', '<%= project_id %>' ); ?></h1>
38
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', '<%= project_id %>' ) ); ?></div>
39
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', '<%= project_id %>' ) ); ?></div>
40
40
  </nav>
41
41
  <?php endif; ?>
42
42
 
43
43
  <?php if ( ! comments_open() ) : ?>
44
- <p class="no-comments"><?php _e( 'Comments are closed.', '<%= theme_id %>' ); ?></p>
44
+ <p class="no-comments"><?php _e( 'Comments are closed.', '<%= project_id %>' ); ?></p>
45
45
  <?php endif; ?>
46
46
 
47
47
  <?php endif; ?>