<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[38873] trunk/src/wp-content/themes/twentyseventeen: Twenty Seventeen: Renaming of directory structure</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/38873">38873</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/38873","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>karmatosed</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2016-10-23 12:06:10 +0000 (Sun, 23 Oct 2016)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Twenty Seventeen: Renaming of directory structure

This changes components directory to be called template-parts. Changes reflected in all files that call those sections.

Props bronsonquick, dd32

Fixes <a href="https://core.trac.wordpress.org/ticket/38375">#38375</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyseventeenarchivephp">trunk/src/wp-content/themes/twentyseventeen/archive.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeenfooterphp">trunk/src/wp-content/themes/twentyseventeen/footer.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeenfrontpagephp">trunk/src/wp-content/themes/twentyseventeen/front-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeenheaderphp">trunk/src/wp-content/themes/twentyseventeen/header.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeenindexphp">trunk/src/wp-content/themes/twentyseventeen/index.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeenpagephp">trunk/src/wp-content/themes/twentyseventeen/page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeensearchphp">trunk/src/wp-content/themes/twentyseventeen/search.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeensinglephp">trunk/src/wp-content/themes/twentyseventeen/single.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/</li>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/</li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartsfooterfooterwidgetsphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartsfootersiteinfophp">trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php</a></li>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/header/</li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartsheaderheaderimagephp">trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartsheadersitebrandingphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php</a></li>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/</li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartsnavigationnavigationtopphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php</a></li>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/page/</li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentfrontpagepanelsphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentfrontpagephp">trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentpagephp">trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-page.php</a></li>
<li>trunk/src/wp-content/themes/twentyseventeen/template-parts/post/</li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentaudiophp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentexcerptphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentgalleryphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentimagephp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentnonephp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentvideophp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentphp">trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/src/wp-content/themes/twentyseventeen/components/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyseventeenarchivephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/archive.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/archive.php   2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/archive.php     2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,7 +37,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                 * If you want to override this in a child theme, then include a file
</span><span class="cx" style="display: block; padding: 0 10px">                                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
</span><span class="cx" style="display: block; padding: 0 10px">                                 */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                get_template_part( 'components/post/content', get_post_format() );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         get_template_part( 'template-parts/post/content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        endwhile;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                else :
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        get_template_part( 'components/post/content', 'none' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 get_template_part( 'template-parts/post/content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeenfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/footer.php    2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/footer.php      2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        <footer id="colophon" class="site-footer" role="contentinfo">
</span><span class="cx" style="display: block; padding: 0 10px">                <div class="wrap">
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        get_template_part( 'components/footer/footer', 'widgets' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 get_template_part( 'template-parts/footer/footer', 'widgets' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( has_nav_menu( 'social' ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                                <nav class="social-navigation" role="navigation" aria-label="<?php _e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,7 +35,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                </nav><!-- .social-navigation -->
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php endif;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        get_template_part( 'components/footer/site', 'info' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 get_template_part( 'template-parts/footer/site', 'info' );
</ins><span class="cx" style="display: block; padding: 0 10px">                         ?>
</span><span class="cx" style="display: block; padding: 0 10px">                </div><!-- .wrap -->
</span><span class="cx" style="display: block; padding: 0 10px">        </footer><!-- #colophon -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeenfrontpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/front-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/front-page.php        2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/front-page.php  2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,10 +20,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                <?php // Show the selected frontpage content.
</span><span class="cx" style="display: block; padding: 0 10px">                if ( have_posts() ) :
</span><span class="cx" style="display: block; padding: 0 10px">                        while ( have_posts() ) : the_post();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                get_template_part( 'components/page/content', 'front-page' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         get_template_part( 'template-parts/page/content', 'front-page' );
</ins><span class="cx" style="display: block; padding: 0 10px">                         endwhile;
</span><span class="cx" style="display: block; padding: 0 10px">                else : // I'm not sure it's possible to have no posts when this page is shown, but WTH.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        get_template_part( 'components/post/content', 'none' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 get_template_part( 'template-parts/post/content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px">                 endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,7 +31,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $panels = array( '1', '2', '3', '4' );
</span><span class="cx" style="display: block; padding: 0 10px">                $titles = array();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                global $twentyseventeencounter; // Used in components/page/content-front-page-panels.php file.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         global $twentyseventeencounter; // Used in template-parts/page/content-front-page-panels.php file.
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( 0 !== twentyseventeen_panel_count() || is_customize_preview() ) : // If we have pages to show.
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                        set_query_var( 'panel', $panel );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        $titles[] = get_the_title(); // Put page titles in an array for use in navigation.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        get_template_part( 'components/page/content', 'front-page-panels' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 get_template_part( 'template-parts/page/content', 'front-page-panels' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        wp_reset_postdata();
</span><span class="cx" style="display: block; padding: 0 10px">                                else :
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeenheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/header.php    2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/header.php      2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,12 +28,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        <header id="masthead" class="site-header" role="banner">
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <?php get_template_part( 'components/header/header', 'image' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <?php get_template_part( 'template-parts/header/header', 'image' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                <?php if ( has_nav_menu( 'top' ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="navigation-top">
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="wrap">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <?php get_template_part( 'components/navigation/navigation', 'top' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <?php get_template_part( 'template-parts/navigation/navigation', 'top' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 </div><!-- .wrap -->
</span><span class="cx" style="display: block; padding: 0 10px">                        </div><!-- .navigation-top -->
</span><span class="cx" style="display: block; padding: 0 10px">                <?php endif; ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeenindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/index.php     2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/index.php       2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                         * If you want to override this in a child theme, then include a file
</span><span class="cx" style="display: block; padding: 0 10px">                                         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
</span><span class="cx" style="display: block; padding: 0 10px">                                         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        get_template_part( 'components/post/content', get_post_format() );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 get_template_part( 'template-parts/post/content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                endwhile;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,7 +54,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        else :
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                get_template_part( 'components/post/content', 'none' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         get_template_part( 'template-parts/post/content', 'none' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        endif;
</span><span class="cx" style="display: block; padding: 0 10px">                        ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeenpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/page.php      2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/page.php        2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +24,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php
</span><span class="cx" style="display: block; padding: 0 10px">                        while ( have_posts() ) : the_post();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                get_template_part( 'components/page/content', 'page' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         get_template_part( 'template-parts/page/content', 'page' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                // If comments are open or we have at least one comment, load up the comment template.
</span><span class="cx" style="display: block; padding: 0 10px">                                if ( comments_open() || get_comments_number() ) :
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeensearchphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/search.php    2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/search.php      2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,7 +35,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                 * If you want to overload this in a child theme then include a file
</span><span class="cx" style="display: block; padding: 0 10px">                                 * called content-search.php and that will be used instead.
</span><span class="cx" style="display: block; padding: 0 10px">                                 */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                get_template_part( 'components/post/content', 'excerpt' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         get_template_part( 'template-parts/post/content', 'excerpt' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        endwhile; // End of the loop.
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeensinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/single.php    2016-10-23 11:05:14 UTC (rev 38872)
+++ trunk/src/wp-content/themes/twentyseventeen/single.php      2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,7 +20,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                /* Start the Loop */
</span><span class="cx" style="display: block; padding: 0 10px">                                while ( have_posts() ) : the_post();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        get_template_part( 'components/post/content', get_post_format() );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 get_template_part( 'template-parts/post/content', get_post_format() );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        // If comments are open or we have at least one comment, load up the comment template.
</span><span class="cx" style="display: block; padding: 0 10px">                                        if ( comments_open() || get_comments_number() ) :
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartsfooterfooterwidgetsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php                              (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php        2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,32 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays footer widgets if assigned
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<?php
+if ( is_active_sidebar( 'sidebar-2' ) ||
+        is_active_sidebar( 'sidebar-3' ) ) :
+?>
+
+       <aside class="widget-area" role="complementary">
+               <?php
+               if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
+                       <div class="widget-column footer-widget-1">
+                               <?php dynamic_sidebar( 'sidebar-2' ); ?>
+                       </div>
+               <?php }
+               if ( is_active_sidebar( 'sidebar-3' ) ) { ?>
+                       <div class="widget-column footer-widget-2">
+                               <?php dynamic_sidebar( 'sidebar-3' ); ?>
+                       </div>
+               <?php } ?>
+       </aside><!-- .widget-area -->
+
+<?php endif; ?>
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartsfootersiteinfophp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php                           (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/footer/site-info.php     2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,14 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays footer site info
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+<div class="site-info">
+       <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?></a>
+</div><!-- .site-info -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartsheaderheaderimagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php                                (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php  2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,30 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays header image
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+<div class="custom-header">
+       <?php
+       $header_image = get_header_image();
+
+       // Check if Custom Header image has been added.
+       if ( ! empty( $header_image ) ) : ?>
+
+               <div class="custom-header-image" style="background-image: url(<?php echo esc_url( $header_image ); ?>)"></div>
+               <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
+
+       <?php else : ?>
+               <?php // Otherwise, show a blank header. ?>
+               <div class="custom-header-simple">
+                       <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
+               </div><!-- .custom-header-simple -->
+
+       <?php endif; ?>
+
+</div><!-- .custom-header -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartsheadersitebrandingphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php                               (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php 2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,31 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays header site branding
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+<div class="site-branding">
+       <div class="wrap">
+
+               <?php the_custom_logo(); ?>
+
+               <div class="site-branding-text">
+                       <?php if ( is_front_page() ) : ?>
+                               <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+                       <?php else : ?>
+                               <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
+                       <?php endif; ?>
+
+                       <?php $description = get_bloginfo( 'description', 'display' );
+                               if ( $description || is_customize_preview() ) : ?>
+                                       <p class="site-description"><?php echo $description; ?></p>
+                               <?php endif; ?>
+               </div><!-- .site-branding-text -->
+
+       </div><!-- .wrap -->
+</div><!-- .site-branding -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartsnavigationnavigationtopphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php                          (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php    2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays top navigation
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+<nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php _e( 'Top Menu', 'twentyseventeen' ); ?>">
+       <button class="menu-toggle" aria-controls="top-menu" aria-expanded="false"><?php echo twentyseventeen_get_svg( array( 'icon' => 'bars' ) ); echo twentyseventeen_get_svg( array( 'icon' => 'close' ) ); _e( 'Menu', 'twentyseventeen' ); ?></button>
+       <?php wp_nav_menu( array(
+               'theme_location' => 'top',
+               'menu_id'        => 'top-menu',
+       ) ); ?>
+
+       <?php if ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) : ?>
+               <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'next' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll Down', 'twentyseventeen' ); ?></span></a>
+       <?php endif; ?>
+</nav><!-- #site-navigation -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentfrontpagepanelsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php                             (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php       2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,87 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying pages on front page
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+global $twentyseventeencounter;
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class( 'twentyseventeen-panel ' ); ?> >
+
+       <span class="panel twentyseventeen-panel<?php echo esc_attr( $twentyseventeencounter ); ?>" id="panel<?php echo esc_attr( $twentyseventeencounter ); ?>">
+               <span class="twentyseventeen-panel-title"><?php printf( __( 'Panel %1$s', 'twentyseventeen' ), esc_attr( $twentyseventeencounter ) ); ?></span>
+       </span>
+
+       <?php if ( has_post_thumbnail() ) :
+               $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
+
+               $post_thumbnail_id = get_post_thumbnail_id( $post->ID );
+
+               $thumbnail_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
+
+               // Calculate aspect ratio: h / w * 100%.
+               $ratio = $thumbnail_attributes[2] / $thumbnail_attributes[1] * 100;
+               ?>
+
+               <div class="panel-image" style="background-image: url(<?php echo esc_url( $thumbnail[0] ); ?>);">
+                       <div class="panel-image-prop" style="padding-top: <?php echo esc_attr( $ratio ); ?>%"></div>
+               </div><!-- .panel-image -->
+
+       <?php endif; ?>
+
+       <div class="panel-content">
+               <div class="wrap">
+                       <header class="entry-header">
+                               <?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
+
+                               <?php twentyseventeen_edit_link( get_the_ID() ); ?>
+
+                       </header><!-- .entry-header -->
+
+                       <div class="entry-content">
+                               <?php
+                                       /* translators: %s: Name of current post */
+                                       the_content( sprintf(
+                                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                                               get_the_title()
+                                       ) );
+                               ?>
+                       </div><!-- .entry-content -->
+
+                       <?php
+                       // Show recent blog posts if is blog posts page (Note that get_option returns a string, so we're casting the result as an int).
+                       if ( get_the_ID() === (int) get_option( 'page_for_posts' )  ) : ?>
+
+                               <?php // Show four most recent posts.
+                               $recent_posts = new WP_Query( array(
+                                       'posts_per_page'      => 3,
+                                       'post_status'         => 'publish',
+                                       'ignore_sticky_posts' => true,
+                                       'no_found_rows'       => true,
+                               ) );
+                               ?>
+
+                               <?php if ( $recent_posts->have_posts() ) : ?>
+
+                                       <div class="recent-posts">
+
+                                               <?php
+                                               while ( $recent_posts->have_posts() ) : $recent_posts->the_post();
+                                                       get_template_part( 'template-parts/post/content', 'excerpt' );
+                                               endwhile;
+                                               wp_reset_postdata();
+                                               ?>
+                                       </div><!-- .pique-recent-posts -->
+                               <?php endif; ?>
+                       <?php endif; ?>
+
+               </div><!-- .wrap -->
+       </div><!-- .panel-content -->
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentfrontpagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php                            (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-front-page.php      2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,53 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Displays content for front page
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+<article id="post-<?php the_ID(); ?>" <?php post_class( 'twentyseventeen-panel ' ); ?> >
+
+       <?php if ( has_post_thumbnail() ) :
+               $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
+
+               $post_thumbnail_id = get_post_thumbnail_id( $post->ID );
+
+               $thumbnail_attributes = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'twentyseventeen-featured-image' );
+
+               // Calculate aspect ratio: h / w * 100%.
+               $ratio = $thumbnail_attributes[2] / $thumbnail_attributes[1] * 100;
+               ?>
+
+               <div class="panel-image" style="background-image: url(<?php echo esc_url( $thumbnail[0] ); ?>);">
+                       <div class="panel-image-prop" style="padding-top: <?php echo esc_attr( $ratio ); ?>%"></div>
+               </div><!-- .panel-image -->
+
+       <?php endif; ?>
+
+       <div class="panel-content">
+               <div class="wrap">
+                       <header class="entry-header">
+                               <?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
+
+                               <?php twentyseventeen_edit_link( get_the_ID() ); ?>
+
+                       </header><!-- .entry-header -->
+
+                       <div class="entry-content">
+                               <?php
+                                       /* translators: %s: Name of current post */
+                                       the_content( sprintf(
+                                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                                               get_the_title()
+                                       ) );
+                               ?>
+                       </div><!-- .entry-content -->
+
+               </div><!-- .wrap -->
+       </div><!-- .panel-content -->
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspagecontentpagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-page.php                          (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/page/content-page.php    2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,30 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying page content in page.php
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <header class="entry-header">
+               <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
+               <?php twentyseventeen_edit_link( get_the_ID() ); ?>
+       </header><!-- .entry-header -->
+       <div class="entry-content">
+               <?php
+                       the_content();
+
+                       wp_link_pages( array(
+                               'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'  => '</div>',
+                       ) );
+               ?>
+       </div><!-- .entry-content -->
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentaudiophp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php                         (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php   2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,93 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying audio posts
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <?php
+               if ( is_sticky() && is_home() ) :
+                       echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
+               endif;
+       ?>
+       <header class="entry-header">
+               <?php
+                       if ( 'post' === get_post_type() ) :
+                               echo '<div class="entry-meta">';
+                                       if ( is_single() ) :
+                                               twentyseventeen_posted_on();
+                                       else :
+                                               echo twentyseventeen_time_link();
+                                               twentyseventeen_edit_link();
+                                       endif;
+                               echo '</div><!-- .entry-meta -->';
+                       endif;
+
+                       if ( is_single() ) {
+                               the_title( '<h1 class="entry-title">', '</h1>' );
+                       } else {
+                               the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+                       }
+               ?>
+       </header><!-- .entry-header -->
+
+       <?php
+               $content = apply_filters( 'the_content', get_the_content() );
+               $audio = get_media_embedded_in_content( $content, array( 'audio' ) );
+       ?>
+
+       <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?>
+               <div class="post-thumbnail">
+                       <a href="<?php the_permalink(); ?>">
+                               <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
+                       </a>
+               </div><!-- .post-thumbnail -->
+       <?php endif; ?>
+
+       <div class="entry-content">
+
+               <?php if ( ! is_single() ) :
+
+                       // If not a single post, highlight the audio file.
+                       if ( ! empty( $audio ) ) :
+                               foreach ( $audio as $audio_html ) {
+                                       echo '<div class="entry-audio">';
+                                               echo $audio_html;
+                                       echo '</div><!-- .entry-audio -->';
+                               }
+                       endif;
+
+               endif;
+
+               if ( is_single() || empty( $audio ) ) :
+
+                       /* translators: %s: Name of current post */
+                       the_content( sprintf(
+                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                               get_the_title()
+                       ) );
+
+                       wp_link_pages( array(
+                               'before'      => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'       => '</div>',
+                               'link_before' => '<span class="page-number">',
+                               'link_after'  => '</span>',
+                       ) );
+
+               endif; ?>
+
+       </div><!-- .entry-content -->
+
+       <?php if ( is_single() ) : ?>
+               <?php twentyseventeen_entry_footer(); ?>
+       <?php endif; ?>
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentexcerptphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php                               (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php 2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,40 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying posts with excerpts
+ *
+ * Used in Search Results and for Recent Posts in Front Page panels.
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+       <header class="entry-header">
+               <?php if ( 'post' === get_post_type() ) : ?>
+                       <div class="entry-meta">
+                               <?php
+                                       echo twentyseventeen_time_link();
+                                       twentyseventeen_edit_link();
+                               ?>
+                       </div><!-- .entry-meta -->
+               <?php elseif ( 'page' === get_post_type() && get_edit_post_link() ) : ?>
+                       <div class="entry-meta">
+                               <?php twentyseventeen_edit_link(); ?>
+                       </div><!-- .entry-meta -->
+               <?php endif; ?>
+
+               <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
+       </header><!-- .entry-header -->
+
+       <div class="entry-summary">
+               <?php the_excerpt(); ?>
+       </div><!-- .entry-summary -->
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentgalleryphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php                               (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php 2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,85 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying gallery posts
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <?php
+               if ( is_sticky() && is_home() ) :
+                       echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
+               endif;
+       ?>
+       <header class="entry-header">
+               <?php
+                       if ( 'post' === get_post_type() ) :
+                               echo '<div class="entry-meta">';
+                                       if ( is_single() ) :
+                                               twentyseventeen_posted_on();
+                                       else :
+                                               echo twentyseventeen_time_link();
+                                               twentyseventeen_edit_link();
+                                       endif;
+                               echo '</div><!-- .entry-meta -->';
+                       endif;
+
+                       if ( is_single() ) {
+                               the_title( '<h1 class="entry-title">', '</h1>' );
+                       } else {
+                               the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+                       }
+               ?>
+       </header><!-- .entry-header -->
+
+       <?php if ( '' !== get_the_post_thumbnail() && ! is_single() && ! get_post_gallery() ) : ?>
+               <div class="post-thumbnail">
+                       <a href="<?php the_permalink(); ?>">
+                               <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
+                       </a>
+               </div><!-- .post-thumbnail -->
+       <?php endif; ?>
+
+       <div class="entry-content">
+
+               <?php if ( ! is_single() ) :
+
+                       // If not a single post, highlight the gallery.
+                       if ( get_post_gallery() ) :
+                               echo '<div class="entry-gallery">';
+                                       echo get_post_gallery();
+                               echo '</div>';
+                       endif;
+
+               endif;
+
+               if ( is_single() || ! get_post_gallery() ) :
+
+                       /* translators: %s: Name of current post */
+                       the_content( sprintf(
+                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                               get_the_title()
+                       ) );
+
+                       wp_link_pages( array(
+                               'before'      => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'       => '</div>',
+                               'link_before' => '<span class="page-number">',
+                               'link_after'  => '</span>',
+                       ) );
+
+               endif; ?>
+
+       </div><!-- .entry-content -->
+
+       <?php if ( is_single() ) : ?>
+               <?php twentyseventeen_entry_footer(); ?>
+       <?php endif; ?>
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentimagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php                         (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php   2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,75 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying image posts
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <?php
+               if ( is_sticky() && is_home() ) :
+                       echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
+               endif;
+       ?>
+       <header class="entry-header">
+               <?php
+                       if ( 'post' === get_post_type() ) :
+                               echo '<div class="entry-meta">';
+                                       if ( is_single() ) :
+                                               twentyseventeen_posted_on();
+                                       else :
+                                               echo twentyseventeen_time_link();
+                                               twentyseventeen_edit_link();
+                                       endif;
+                               echo '</div><!-- .entry-meta -->';
+                       endif;
+
+                       if ( is_single() ) {
+                               the_title( '<h1 class="entry-title">', '</h1>' );
+                       } else {
+                               the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+                       }
+               ?>
+       </header><!-- .entry-header -->
+
+       <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?>
+               <div class="post-thumbnail">
+                       <a href="<?php the_permalink(); ?>">
+                               <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
+                       </a>
+               </div><!-- .post-thumbnail -->
+       <?php endif; ?>
+
+       <div class="entry-content">
+
+               <?php if ( is_single() || '' === get_the_post_thumbnail() ) :
+
+                       // Only show content if is a single post, or if there's no featured image.
+                       /* translators: %s: Name of current post */
+                       the_content( sprintf(
+                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                               get_the_title()
+                       ) );
+
+                       wp_link_pages( array(
+                               'before'      => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'       => '</div>',
+                               'link_before' => '<span class="page-number">',
+                               'link_after'  => '</span>',
+                       ) );
+
+               endif; ?>
+
+       </div><!-- .entry-content -->
+
+       <?php if ( is_single() ) : ?>
+               <?php twentyseventeen_entry_footer(); ?>
+       <?php endif; ?>
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentnonephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php                          (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-none.php    2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,33 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying a message that posts cannot be found
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<section class="no-results not-found">
+       <header class="page-header">
+               <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyseventeen' ); ?></h1>
+       </header>
+       <div class="page-content">
+               <?php
+               if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+
+                       <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
+
+               <?php else : ?>
+
+                       <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyseventeen' ); ?></p>
+                       <?php
+                               get_search_form();
+
+               endif; ?>
+       </div><!-- .page-content -->
+</section><!-- .no-results -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentvideophp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php                         (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php   2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,92 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying video posts
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <?php
+               if ( is_sticky() && is_home() ) :
+                       echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
+               endif;
+       ?>
+       <header class="entry-header">
+               <?php
+                       if ( 'post' === get_post_type() ) :
+                               echo '<div class="entry-meta">';
+                                       if ( is_single() ) :
+                                               twentyseventeen_posted_on();
+                                       else :
+                                               echo twentyseventeen_time_link();
+                                               twentyseventeen_edit_link();
+                                       endif;
+                               echo '</div><!-- .entry-meta -->';
+                       endif;
+
+                       if ( is_single() ) {
+                               the_title( '<h1 class="entry-title">', '</h1>' );
+                       } else {
+                               the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+                       }
+               ?>
+       </header><!-- .entry-header -->
+
+       <?php
+               $content = apply_filters( 'the_content', get_the_content() );
+               $video = get_media_embedded_in_content( $content, array( 'video', 'object', 'embed', 'iframe' ) );
+       ?>
+
+       <?php if ( '' !== get_the_post_thumbnail() && ! is_single() && empty( $video ) ) : ?>
+               <div class="post-thumbnail">
+                       <a href="<?php the_permalink(); ?>">
+                               <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
+                       </a>
+               </div><!-- .post-thumbnail -->
+       <?php endif; ?>
+
+       <div class="entry-content">
+
+               <?php if ( ! is_single() ) :
+
+                       // If not a single post, highlight the video file.
+                       if ( ! empty( $video ) ) :
+                               foreach ( $video as $video_html ) {
+                                       echo '<div class="entry-video">';
+                                               echo $video_html;
+                                       echo '</div>';
+                               }
+                       endif;
+
+               endif;
+
+               if ( is_single() || empty( $video ) ) :
+
+                       /* translators: %s: Name of current post */
+                       the_content( sprintf(
+                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                               get_the_title()
+                       ) );
+
+                       wp_link_pages( array(
+                               'before'      => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'       => '</div>',
+                               'link_before' => '<span class="page-number">',
+                               'link_after'  => '</span>',
+                       ) );
+
+               endif; ?>
+
+       </div><!-- .entry-content -->
+
+       <?php if ( is_single() ) : ?>
+               <?php twentyseventeen_entry_footer(); ?>
+       <?php endif; ?>
+
+</article><!-- #post-## -->
</ins></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeentemplatepartspostcontentphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php                               (rev 0)
+++ trunk/src/wp-content/themes/twentyseventeen/template-parts/post/content.php 2016-10-23 12:06:10 UTC (rev 38873)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,71 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Template part for displaying posts
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Seventeen
+ * @since 1.0
+ * @version 1.0
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+       <?php
+               if ( is_sticky() && is_home() ) :
+                       echo twentyseventeen_get_svg( array( 'icon' => 'pinned' ) );
+               endif;
+       ?>
+       <header class="entry-header">
+               <?php
+                       if ( 'post' === get_post_type() ) :
+                               echo '<div class="entry-meta">';
+                                       if ( is_single() ) :
+                                               twentyseventeen_posted_on();
+                                       else :
+                                               echo twentyseventeen_time_link();
+                                               twentyseventeen_edit_link();
+                                       endif;
+                               echo '</div><!-- .entry-meta -->';
+                       endif;
+
+                       if ( is_single() ) {
+                               the_title( '<h1 class="entry-title">', '</h1>' );
+                       } else {
+                               the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+                       }
+               ?>
+       </header><!-- .entry-header -->
+
+       <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?>
+               <div class="post-thumbnail">
+                       <a href="<?php the_permalink(); ?>">
+                               <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
+                       </a>
+               </div><!-- .post-thumbnail -->
+       <?php endif; ?>
+
+       <div class="entry-content">
+               <?php
+                       /* translators: %s: Name of current post */
+                       the_content( sprintf(
+                               __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
+                               get_the_title()
+                       ) );
+
+                       wp_link_pages( array(
+                               'before'      => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
+                               'after'       => '</div>',
+                               'link_before' => '<span class="page-number">',
+                               'link_after'  => '</span>',
+                       ) );
+               ?>
+       </div><!-- .entry-content -->
+
+       <?php if ( is_single() ) : ?>
+               <?php twentyseventeen_entry_footer(); ?>
+       <?php endif; ?>
+
+</article><!-- #post-## -->
</ins></span></pre>
</div>
</div>

</body>
</html>