Move feed link into template
All HTML should be in the templates whenever possible.
This commit is contained in:
@@ -14,4 +14,8 @@
|
||||
<script>window.jQuery || document.write('<script src="<?php echo get_template_directory_uri(); ?>/assets/js/vendor/jquery-1.8.1.min.js"><\/script>')</script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<?php if (has_posts()): ?>
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name') ?> Feed" href="<?php echo home_url() ?>/feed/">
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user