Update conditional feed method
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
### HEAD
|
### HEAD
|
||||||
|
* Update conditional feed method
|
||||||
* Update to Bootstrap 2.2.0
|
* Update to Bootstrap 2.2.0
|
||||||
* Return instead of echo class names in `roots_main_class` and `roots_sidebar_class`
|
* Return instead of echo class names in `roots_main_class` and `roots_sidebar_class`
|
||||||
* Move nav customizations into `lib/nav.php`
|
* Move nav customizations into `lib/nav.php`
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (wp_count_posts()->publish > 0) : ?>
|
||||||
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo home_url() ?>/feed/">
|
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo home_url(); ?>/feed/">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user