<!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>[6304] sites/trunk/wordpress.org/public_html/wp-content/themes/pub: Gutenberg theme: Initial commit of a fork from https://github.com/WordPress/gutenberg-theme.</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="http://meta.trac.wordpress.org/changeset/6304">6304</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/6304","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>pento</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2017-12-22 04:37:43 +0000 (Fri, 22 Dec 2017)</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'>Gutenberg theme: Initial commit of a fork from https://github.com/WordPress/gutenberg-theme.</pre>
<h3>Added Paths</h3>
<ul>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberg404php">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergLICENSE">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/LICENSE</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergREADMEmd">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/README.md</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergarchivephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/archive.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/</li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/images/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergassetsimagesgithubmarksvg">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/images/github-mark.svg</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergblockscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/blocks.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergcommentsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/comments.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergfooterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/header.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincclassgutenberghandbookphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/class-gutenberg-handbook.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginccustomheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/custom-header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginccustomizerphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/customizer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincdocsimporterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/docs-importer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincfooterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincjetpackphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/jetpack.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginctemplatefunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginctemplatetagsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-tags.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/index.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjscustomizerjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/customizer.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjshandbookjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/handbook.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsnavigationjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/navigation.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsprismjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/prism.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsskiplinkfocusfixjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/skip-link-focus-fix.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberglanguagesgutenthemepot">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/gutentheme.pot</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberglanguagesreadmetxt">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/readme.txt</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergreadmetxt">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/readme.txt</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergscreenshotpng">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsearchphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/search.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsidebarhandbookphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/sidebar-handbook.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergstylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentnonephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-none.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentsearchphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-search.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberg404php"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,60 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying 404 pages (not found)
+ *
+ * @link https://codex.wordpress.org/Creating_an_Error_404_Page
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <section class="error-404 not-found">
+ <header class="page-header">
+ <h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'gutenbergtheme' ); ?></h1>
+ </header><!-- .page-header -->
+
+ <div class="page-content">
+ <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'gutenbergtheme' ); ?></p>
+
+ <?php
+ get_search_form();
+
+ the_widget( 'WP_Widget_Recent_Posts' );
+ ?>
+
+ <div class="widget widget_categories">
+ <h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'gutenbergtheme' ); ?></h2>
+ <ul>
+ <?php
+ wp_list_categories( array(
+ 'orderby' => 'count',
+ 'order' => 'DESC',
+ 'show_count' => 1,
+ 'title_li' => '',
+ 'number' => 10,
+ ) );
+ ?>
+ </ul>
+ </div><!-- .widget -->
+
+ <?php
+
+ /* translators: %1$s: smiley */
+ $archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'gutenbergtheme' ), convert_smilies( ':)' ) ) . '</p>';
+ the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
+
+ the_widget( 'WP_Widget_Tag_Cloud' );
+ ?>
+
+ </div><!-- .page-content -->
+ </section><!-- .error-404 -->
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/404.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergLICENSE"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/LICENSE</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/LICENSE (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/LICENSE 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,339 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ {description}
+ Copyright (C) {year} {fullname}
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ {signature of Ty Coon}, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergREADMEmd"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/README.md</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/README.md (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/README.md 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,8 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Gutenberg theme
+This theme is designed to showcase what Gutenberg can do with regards to themes. It is intended as a work in progress, at least until v1 of the new editor (and maybe beyond).
+
+# Block focused
+If something isn't a block yet, this theme will not have it. As each block happens, the theme will gain that functionality.
+
+# Styling just like Gutenberg
+The idea of the default look for this theme is to as closely replicate that of the Gutenberg editor output as possible. As a result the focus is on that styling not creating a new look.. yet. As things grow, we may have styles and go further into what the theme can have... who knows.
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergarchivephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/archive.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/archive.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/archive.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,50 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying archive pages
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+ if ( have_posts() ) : ?>
+
+ <header class="page-header">
+ <?php
+ the_archive_title( '<h1 class="page-title">', '</h1>' );
+ the_archive_description( '<div class="archive-description">', '</div>' );
+ ?>
+ </header><!-- .page-header -->
+
+ <?php
+ /* Start the Loop */
+ while ( have_posts() ) : the_post();
+
+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'template-parts/content', get_post_format() );
+
+ endwhile;
+
+ the_posts_navigation();
+
+ else :
+
+ get_template_part( 'template-parts/content', 'none' );
+
+ endif; ?>
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/archive.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergassetsimagesgithubmarksvg"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/images/github-mark.svg</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/images/github-mark.svg (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/assets/images/github-mark.svg 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,3 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<svg height="1024" width="1024" xmlns="http://www.w3.org/2000/svg">
+ <path class="github-mark" d="M512 0C229.25 0 0 229.25 0 512c0 226.25 146.688 418.125 350.156 485.812 25.594 4.688 34.938-11.125 34.938-24.625 0-12.188-0.469-52.562-0.719-95.312C242 908.812 211.906 817.5 211.906 817.5c-23.312-59.125-56.844-74.875-56.844-74.875-46.531-31.75 3.53-31.125 3.53-31.125 51.406 3.562 78.47 52.75 78.47 52.75 45.688 78.25 119.875 55.625 149 42.5 4.654-33 17.904-55.625 32.5-68.375C304.906 725.438 185.344 681.5 185.344 485.312c0-55.938 19.969-101.562 52.656-137.406-5.219-13-22.844-65.094 5.062-135.562 0 0 42.938-13.75 140.812 52.5 40.812-11.406 84.594-17.031 128.125-17.219 43.5 0.188 87.312 5.875 128.188 17.281 97.688-66.312 140.688-52.5 140.688-52.5 28 70.531 10.375 122.562 5.125 135.5 32.812 35.844 52.625 81.469 52.625 137.406 0 196.688-119.75 240-233.812 252.688 18.438 15.875 34.75 47 34.75 94.75 0 68.438-0.688 123.625-0.688 140.5 0 13.625 9.312 29.562 35.25 24.562C877.438 930 1024 738.125 1024 512 1024 229.25 794.75 0 512 0z" />
+</svg>
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergblockscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/blocks.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/blocks.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/blocks.css 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,36 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content p,
+.entry-content h1,
+.entry-content h2,
+.entry-content h3,
+.entry-content h4,
+.wp-block-image,
+.wp-block-gallery,
+.wp-block-video,
+.wp-block-quote,
+.wp-block-text-columns,
+.entry-content ul,
+.entry-content ol,
+.wp-block-cover-text{
+ margin: 1.5em auto;
+ max-width: 700px;
+}
+
+.wp-block-video video {
+ max-width: 700px;
+}
+
+.wp-block-cover-text.alignwide,
+.wp-block-image.alignwide,
+.wp-block-gallery.alignwide,
+.wp-block-text-columns.alignwide{
+ margin: 1.5em auto;
+ max-width: 1100px;
+}
+
+.wp-block-cover-text.alignfull,
+.wp-block-image.alignfull,
+.wp-block-gallery.alignfull,
+.wp-block-text-columns.alignfull{
+ margin: 1.5em 0;
+ max-width: 100%;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/blocks.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergcommentsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/comments.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/comments.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,72 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying comments
+ *
+ * This is the template that displays the area of the page that contains both the current comments
+ * and the comment form.
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package Gutenbergtheme
+ */
+
+/*
+ * If the current post is protected by a password and
+ * the visitor has not yet entered the password we will
+ * return early without loading the comments.
+ */
+if ( post_password_required() ) {
+ return;
+}
+?>
+
+<div id="comments" class="comments-area">
+
+ <?php
+ // You can start editing here -- including this comment!
+ if ( have_comments() ) : ?>
+ <h2 class="comments-title">
+ <?php
+ $comment_count = get_comments_number();
+ if ( 1 === $comment_count ) {
+ printf(
+ /* translators: 1: title. */
+ esc_html_e( 'One thought on “%1$s”', 'gutenbergtheme' ),
+ '<span>' . get_the_title() . '</span>'
+ );
+ } else {
+ printf( // WPCS: XSS OK.
+ /* translators: 1: comment count number, 2: title. */
+ esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'gutenbergtheme' ) ),
+ number_format_i18n( $comment_count ),
+ '<span>' . get_the_title() . '</span>'
+ );
+ }
+ ?>
+ </h2><!-- .comments-title -->
+
+ <?php the_comments_navigation(); ?>
+
+ <ol class="comment-list">
+ <?php
+ wp_list_comments( array(
+ 'style' => 'ol',
+ 'short_ping' => true,
+ ) );
+ ?>
+ </ol><!-- .comment-list -->
+
+ <?php the_comments_navigation();
+
+ // If comments are closed and there are comments, let's leave a little note, shall we?
+ if ( ! comments_open() ) : ?>
+ <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'gutenbergtheme' ); ?></p>
+ <?php
+ endif;
+
+ endif; // Check for have_comments().
+
+ comment_form();
+ ?>
+
+</div><!-- #comments -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/comments.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergfooterphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/footer.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/footer.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying the footer
+ *
+ * Contains the closing of the #content div and all content after.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package Gutenbergtheme
+ */
+
+?>
+
+ </div><!-- #content -->
+
+<?php
+require WPORGPATH . 'footer.php';
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/footer.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergfunctionsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,186 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * gutenbergtheme functions and definitions
+ *
+ * @link https://developer.wordpress.org/themes/basics/theme-functions/
+ *
+ * @package Gutenbergtheme
+ */
+
+if ( ! defined( 'WPORGPATH' ) ) {
+ define( 'WPORGPATH', get_theme_file_path( '/inc/' ) );
+}
+
+if ( ! function_exists( 'gutenbergtheme_setup' ) ) :
+ /**
+ * Sets up theme defaults and registers support for various WordPress features.
+ *
+ * Note that this function is hooked into the after_setup_theme hook, which
+ * runs before the init hook. The init hook is too late for some features, such
+ * as indicating support for post thumbnails.
+ */
+ function gutenbergtheme_setup() {
+ /*
+ * Make theme available for translation.
+ * Translations can be filed in the /languages/ directory.
+ * If you're building a theme based on gutenbergtheme, use a find and replace
+ * to change 'gutenbergtheme' to the name of your theme in all the template files.
+ */
+ load_theme_textdomain( 'gutenbergtheme', get_template_directory() . '/languages' );
+
+ // Add default posts and comments RSS feed links to head.
+ add_theme_support( 'automatic-feed-links' );
+
+ /*
+ * Let WordPress manage the document title.
+ * By adding theme support, we declare that this theme does not use a
+ * hard-coded <title> tag in the document head, and expect WordPress to
+ * provide it for us.
+ */
+ add_theme_support( 'title-tag' );
+
+ /*
+ * Enable support for Post Thumbnails on posts and pages.
+ *
+ * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
+ */
+ add_theme_support( 'post-thumbnails' );
+
+ // This theme uses wp_nav_menu() in one location.
+ register_nav_menus( array(
+ 'menu-1' => esc_html__( 'Primary', 'gutenbergtheme' ),
+ ) );
+
+ /*
+ * Switch default core markup for search form, comment form, and comments
+ * to output valid HTML5.
+ */
+ add_theme_support( 'html5', array(
+ 'search-form',
+ 'comment-form',
+ 'comment-list',
+ 'gallery',
+ 'caption',
+ ) );
+
+ add_theme_support( 'gutenberg', array(
+ 'wide-images' => true,
+ 'colors' => array(
+ '#0073aa',
+ '#229fd8',
+ '#eee',
+ '#444',
+ ),
+ ) );
+ }
+endif;
+add_action( 'after_setup_theme', 'gutenbergtheme_setup' );
+
+/**
+ * Set the content width in pixels, based on the theme's design and stylesheet.
+ *
+ * Priority 0 to make it available to lower priority callbacks.
+ *
+ * @global int $content_width
+ */
+function gutenbergtheme_content_width() {
+ $GLOBALS['content_width'] = apply_filters( 'gutenbergtheme_content_width', 640 );
+}
+add_action( 'after_setup_theme', 'gutenbergtheme_content_width', 0 );
+
+/**
+ * Register Google Fonts
+ */
+function gutenbergtheme_fonts_url() {
+ $fonts_url = '';
+
+ /* Translators: If there are characters in your language that are not
+ * supported by Karla, translate this to 'off'. Do not translate
+ * into your own language.
+ */
+ $notoserif = esc_html_x( 'on', 'Noto Serif font: on or off', 'gutenbergtheme' );
+
+ if ( 'off' !== $notoserif ) {
+ $font_families = array();
+ $font_families[] = 'Noto Serif:400,400italic,700,700italic';
+
+ $query_args = array(
+ 'family' => urlencode( implode( '|', $font_families ) ),
+ 'subset' => urlencode( 'latin,latin-ext' ),
+ );
+
+ $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
+ }
+
+ return $fonts_url;
+
+}
+
+/**
+ * Enqueue scripts and styles.
+ */
+function gutenbergtheme_scripts() {
+ wp_enqueue_style( 'gutenbergtheme-style', get_stylesheet_uri() );
+
+ wp_enqueue_style( 'gutenbergthemeblocks-style', get_template_directory_uri() . '/blocks.css');
+
+ wp_enqueue_style( 'gutenbergtheme-prism', gutenbergtheme_fonts_url(), array(), null );
+
+ wp_enqueue_script( 'gutenbergtheme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
+
+ wp_enqueue_script( 'gutenbergtheme-prism', get_template_directory_uri() . '/js/prism.js', array(), null );
+
+ wp_enqueue_script( 'gutenbergtheme-handbook', get_template_directory_uri() . '/js/handbook.js', array( 'jquery' ), null );
+
+ wp_enqueue_script( 'gutenbergtheme-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
+
+ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
+ wp_enqueue_script( 'comment-reply' );
+ }
+}
+add_action( 'wp_enqueue_scripts', 'gutenbergtheme_scripts' );
+
+/**
+ * Implement the Custom Header feature.
+ */
+require get_template_directory() . '/inc/custom-header.php';
+
+/**
+ * Custom template tags for this theme.
+ */
+require get_template_directory() . '/inc/template-tags.php';
+
+/**
+ * Functions which enhance the theme by hooking into WordPress.
+ */
+require get_template_directory() . '/inc/template-functions.php';
+
+/**
+ * Customizer additions.
+ */
+require get_template_directory() . '/inc/customizer.php';
+
+/**
+ * Load Jetpack compatibility file.
+ */
+if ( defined( 'JETPACK__VERSION' ) ) {
+ require get_template_directory() . '/inc/jetpack.php';
+}
+
+/**
+ * Gutenberg documentation
+ */
+require __DIR__ . '/inc/docs-importer.php';
+require __DIR__ . '/inc/class-gutenberg-handbook.php';
+
+add_action( 'load-post.php', array( 'Import_Gutendocs', 'action_load_post_php' ) );
+add_action( 'edit_form_after_title', array( 'Import_Gutendocs', 'action_edit_form_after_title' ) );
+add_action( 'save_post', array( 'Import_Gutendocs', 'action_save_post' ) );
+add_filter( 'cron_schedules', array( 'Import_Gutendocs', 'filter_cron_schedules' ) );
+add_action( 'init', array( 'Import_Gutendocs', 'action_init' ) );
+add_action( 'wporg_gutenberg_manifest_import', array( 'Import_Gutendocs', 'action_wporg_gutenberg_manifest_import' ) );
+add_action( 'wporg_gutenberg_markdown_import', array( 'Import_Gutendocs', 'action_wporg_gutenberg_markdown_import' ) );
+
+add_filter( 'the_title', array( 'Gutenberg_Handbook', 'filter_the_title_edit_link' ), 10, 2 );
+add_filter( 'get_edit_post_link', array( 'Gutenberg_Handbook', 'redirect_edit_link_to_github' ), 10, 3 );
+add_filter( 'o2_filter_post_actions', array( 'Gutenberg_Handbook', 'redirect_o2_edit_link_to_github' ), 11, 2 );
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergheaderphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/header.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/header.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,45 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The header for our theme
+ *
+ * This is the template that displays all of the <head> section and everything up until <div id="content">
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package Gutenbergtheme
+ */
+
+require WPORGPATH . 'header.php';
+?>
+
+<div id="page" class="site">
+ <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'gutenbergtheme' ); ?></a>
+ <header id="masthead" class="site-header">
+ <div class="site-branding">
+ <?php
+ the_custom_logo();
+ if ( is_front_page() && is_home() ) : ?>
+ <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;
+
+ $description = get_bloginfo( 'description', 'display' );
+ if ( $description || is_customize_preview() ) : ?>
+ <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
+ <?php
+ endif; ?>
+ </div><!-- .site-branding -->
+
+ <nav id="site-navigation" class="main-navigation">
+ <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', 'theme' ); ?></button>
+ <?php
+ wp_nav_menu( array(
+ 'theme_location' => 'menu-1',
+ 'menu_id' => 'primary-menu',
+ ) );
+ ?>
+ </nav><!-- #site-navigation -->
+ </header><!-- #masthead -->
+ <div id="content" class="site-content">
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/header.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincclassgutenberghandbookphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/class-gutenberg-handbook.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/class-gutenberg-handbook.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/class-gutenberg-handbook.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,122 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+class Gutenberg_Handbook {
+
+ /**
+ * Append a "Edit on GitHub" link to Handbook document titles
+ */
+ public static function filter_the_title_edit_link( $title, $id = null ) {
+ // Only apply to the main title for the document
+ if ( ! is_singular( 'handbook' )
+ || ! is_main_query()
+ || ! in_the_loop()
+ || $id !== get_queried_object_id() ) {
+ return $title;
+ }
+
+ $markdown_source = self::get_markdown_edit_link( get_the_ID() );
+ if ( ! $markdown_source ) {
+ return $title;
+ }
+
+ return $title . ' <a class="github-edit" href="' . esc_url( $markdown_source ) . '"><img src="' . esc_url( get_template_directory_uri() . '/assets/images/github-mark.svg?20171212' ) . '"> <span>Edit</span></a>';
+ }
+
+ /**
+ * WP-CLI Handbook pages are maintained in the GitHub repo, so the edit
+ * link should ridirect to there.
+ */
+ public static function redirect_edit_link_to_github( $link, $post_id, $context ) {
+ if ( is_admin() ) {
+ return $link;
+ }
+ $post = get_post( $post_id );
+ if ( ! $post ) {
+ return $link;
+ }
+
+ if ( 'handbook' !== $post->post_type ) {
+ return $link;
+ }
+
+ $markdown_source = self::get_markdown_edit_link( $post_id );
+ if ( ! $markdown_source ) {
+ return $link;
+ }
+
+ if ( 'display' === $context ) {
+ $markdown_source = esc_url( $markdown_source );
+ }
+
+ return $markdown_source;
+ }
+
+ /**
+ * o2 does inline editing, so we also need to remove the class name that it looks for.
+ *
+ * o2 obeys the edit_post capability for displaying the edit link, so we also need to manually
+ * add the edit link if it isn't there - it always redirects to GitHub, so it doesn't need to
+ * obey the edit_post capability in this instance.
+ */
+ public static function redirect_o2_edit_link_to_github( $actions, $post_id ) {
+ $post = get_post( $post_id );
+ if ( ! $post ) {
+ return $actions;
+ }
+
+ if ( 'handbook' !== $post->post_type ) {
+ return $actions;
+ }
+
+ $markdown_source = self::get_markdown_edit_link( $post_id );
+ if ( ! $markdown_source ) {
+ return $actions;
+ }
+
+ /*
+ * Define our own edit post action for o2.
+ *
+ * Notable differences from the original are:
+ * - the 'href' parameter always goes to the GitHub source.
+ * - the 'o2-edit' class is missing, so inline editing is disabled.
+ */
+ $edit_action = array(
+ 'action' => 'edit',
+ 'href' => $markdown_source,
+ 'classes' => array( 'edit-post-link' ),
+ 'rel' => $post_id,
+ 'initialState' => 'default'
+ );
+
+ // Find and replace the existing edit action.
+ $replaced = false;
+ foreach( $actions as &$action ) {
+ if ( 'edit' === $action['action'] ) {
+ $action = $edit_action;
+ $replaced = true;
+ break;
+ }
+ }
+ unset( $action );
+
+ // If there was no edit action replaced, add it in manually.
+ if ( ! $replaced ) {
+ $actions[30] = $edit_action;
+ }
+
+ return $actions;
+ }
+
+ private static function get_markdown_edit_link( $post_id ) {
+ $markdown_source = Import_Gutendocs::get_markdown_source( $post_id );
+ if ( is_wp_error( $markdown_source ) ) {
+ return '';
+ }
+ if ( 'raw.githubusercontent.com' !== parse_url( $markdown_source, PHP_URL_HOST )
+ || false !== stripos( $markdown_source, '/edit/master/' ) ) {
+ return $markdown_source;
+ }
+ $markdown_source = preg_replace( '#https?://raw\.githubusercontent\.com/([^/]+/[^/]+)/(.+)#', 'https://github.com/$1/edit/$2', $markdown_source );
+ return $markdown_source;
+ }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/class-gutenberg-handbook.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginccustomheaderphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/custom-header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/custom-header.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/custom-header.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,72 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Sample implementation of the Custom Header feature
+ *
+ * You can add an optional custom header image to header.php like so ...
+ *
+ <?php the_header_image_tag(); ?>
+ *
+ * @link https://developer.wordpress.org/themes/functionality/custom-headers/
+ *
+ * @package Gutenbergtheme
+ */
+
+/**
+ * Set up the WordPress core custom header feature.
+ *
+ * @uses gutenbergtheme_header_style()
+ */
+function gutenbergtheme_custom_header_setup() {
+ add_theme_support( 'custom-header', apply_filters( 'gutenbergtheme_custom_header_args', array(
+ 'default-image' => '',
+ 'default-text-color' => '000000',
+ 'width' => 1000,
+ 'height' => 250,
+ 'flex-height' => true,
+ 'wp-head-callback' => 'gutenbergtheme_header_style',
+ ) ) );
+}
+add_action( 'after_setup_theme', 'gutenbergtheme_custom_header_setup' );
+
+if ( ! function_exists( 'gutenbergtheme_header_style' ) ) :
+ /**
+ * Styles the header image and text displayed on the blog.
+ *
+ * @see gutenbergtheme_custom_header_setup().
+ */
+ function gutenbergtheme_header_style() {
+ $header_text_color = get_header_textcolor();
+
+ /*
+ * If no custom options for text are set, let's bail.
+ * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ).
+ */
+ if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) {
+ return;
+ }
+
+ // If we get this far, we have custom styles. Let's do this.
+ ?>
+ <style type="text/css">
+ <?php
+ // Has the text been hidden?
+ if ( ! display_header_text() ) :
+ ?>
+ .site-title,
+ .site-description {
+ position: absolute;
+ clip: rect(1px, 1px, 1px, 1px);
+ }
+ <?php
+ // If the user has set a custom color for the text use that.
+ else :
+ ?>
+ .site-title a,
+ .site-description {
+ color: #<?php echo esc_attr( $header_text_color ); ?>;
+ }
+ <?php endif; ?>
+ </style>
+ <?php
+ }
+endif;
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/custom-header.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginccustomizerphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/customizer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/customizer.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/customizer.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,55 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * gutenbergtheme Theme Customizer
+ *
+ * @package Gutenbergtheme
+ */
+
+/**
+ * Add postMessage support for site title and description for the Theme Customizer.
+ *
+ * @param WP_Customize_Manager $wp_customize Theme Customizer object.
+ */
+function gutenbergtheme_customize_register( $wp_customize ) {
+ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
+ $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
+ $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
+
+ if ( isset( $wp_customize->selective_refresh ) ) {
+ $wp_customize->selective_refresh->add_partial( 'blogname', array(
+ 'selector' => '.site-title a',
+ 'render_callback' => 'gutenbergtheme_customize_partial_blogname',
+ ) );
+ $wp_customize->selective_refresh->add_partial( 'blogdescription', array(
+ 'selector' => '.site-description',
+ 'render_callback' => 'gutenbergtheme_customize_partial_blogdescription',
+ ) );
+ }
+}
+add_action( 'customize_register', 'gutenbergtheme_customize_register' );
+
+/**
+ * Render the site title for the selective refresh partial.
+ *
+ * @return void
+ */
+function gutenbergtheme_customize_partial_blogname() {
+ bloginfo( 'name' );
+}
+
+/**
+ * Render the site tagline for the selective refresh partial.
+ *
+ * @return void
+ */
+function gutenbergtheme_customize_partial_blogdescription() {
+ bloginfo( 'description' );
+}
+
+/**
+ * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+function gutenbergtheme_customize_preview_js() {
+ wp_enqueue_script( 'gutenbergtheme-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true );
+}
+add_action( 'customize_preview_init', 'gutenbergtheme_customize_preview_js' );
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/customizer.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincdocsimporterphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/docs-importer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/docs-importer.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/docs-importer.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,341 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+class Import_Gutendocs {
+
+ private static $handbook_manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest.json';
+ private static $input_name = 'wporg-gutenberg-markdown-source';
+ private static $meta_key = 'wporg_gutenberg_markdown_source';
+ private static $nonce_name = 'wporg-gutenberg-markdown-source-nonce';
+ private static $submit_name = 'wporg-gutenberg-markdown-import';
+ private static $supported_post_types = array( 'handbook' );
+ private static $posts_per_page = 100;
+
+ /**
+ * Register our cron task if it doesn't already exist
+ */
+ public static function action_init() {
+ if ( ! wp_next_scheduled( 'wporg_gutenberg_manifest_import' ) ) {
+ wp_schedule_event( time(), '15_minutes', 'wporg_gutenberg_manifest_import' );
+ }
+ if ( ! wp_next_scheduled( 'wporg_gutenberg_markdown_import' ) ) {
+ wp_schedule_event( time(), '15_minutes', 'wporg_gutenberg_markdown_import' );
+ }
+ }
+
+ public static function action_wporg_gutenberg_manifest_import() {
+ $response = wp_remote_get( self::$handbook_manifest . '?' . uniqid() );
+ if ( is_wp_error( $response ) ) {
+ return $response;
+ } elseif ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'invalid-http-code', 'Markdown source returned non-200 http code.' );
+ }
+ $manifest = json_decode( wp_remote_retrieve_body( $response ), true );
+ if ( ! $manifest ) {
+ return new WP_Error( 'invalid-manifest', 'Manifest did not unfurl properly.' );
+ }
+ // Fetch all handbook posts for comparison
+ $q = new WP_Query( array(
+ 'post_type' => self::$supported_post_types,
+ 'post_status' => 'publish',
+ 'posts_per_page' => self::$posts_per_page,
+ ) );
+ $existing = $q->posts;
+ $created = $updated = 0;
+ foreach( $manifest as $id => $doc ) {
+ $doc['order'] = $id;
+ $post_parent = null;
+ if ( ! empty( $doc['parent'] ) ) {
+ // Find the parent in the existing set
+ $parents = wp_filter_object_list( $existing, array( 'post_name' => $doc['parent'] ) );
+ if ( ! empty( $parents ) ) {
+ $parent = array_shift( $parents );
+ } else {
+ // Create the parent and add it to the stack
+ if ( isset( $manifest[ $doc['parent'] ] ) ) {
+ $parent_doc = $manifest[ $doc['parent'] ];
+ $parent = self::create_post_from_manifest_doc( $parent_doc );
+ if ( $parent ) {
+ $created++;
+ $existing[] = $parent;
+ } else {
+ continue;
+ }
+ } else {
+ continue;
+ }
+ }
+ $post_parent = $parent->ID;
+ }
+ $existing_post = wp_filter_object_list( $existing, array( 'post_name' => $doc['slug'] ) );
+ if ( $existing_post ) {
+ $existing_post = array_shift( $existing_post );
+ $doc['ID'] = $existing_post->ID;
+ $post = self::update_post_from_manifest_doc( $doc, $post_parent );
+ if ( $post ) {
+ $updated++;
+ $existing[] = $post;
+ }
+ } else {
+ $post = self::create_post_from_manifest_doc( $doc, $post_parent );
+ if ( $post ) {
+ $created++;
+ $existing[] = $post;
+ }
+ }
+ }
+ if ( class_exists( 'WP_CLI' ) ) {
+ \WP_CLI::success( "Successfully created {$created} handbook pages, updated {$updated} handbook pages." );
+ }
+ }
+
+ /**
+ * Create a new handbook page from the manifest document
+ */
+ private static function create_post_from_manifest_doc( $doc, $post_parent = null ) {
+ $post_data = array(
+ 'post_type' => 'handbook',
+ 'post_status' => 'publish',
+ 'post_parent' => $post_parent,
+ 'post_title' => sanitize_text_field( wp_slash( $doc['title'] ) ),
+ 'post_name' => sanitize_title_with_dashes( $doc['slug'] ),
+ 'menu_order' => $doc['order'],
+ );
+ $post_id = wp_insert_post( $post_data );
+ if ( ! $post_id ) {
+ return false;
+ }
+ if ( class_exists( 'WP_CLI' ) ) {
+ \WP_CLI::log( "Created post {$post_id} for {$doc['title']}." );
+ }
+ update_post_meta( $post_id, self::$meta_key, esc_url_raw( $doc['markdown_source'] ) );
+ return get_post( $post_id );
+ }
+
+ /**
+ * Update an existing handbook page from the manifest document
+ */
+ private static function update_post_from_manifest_doc( $doc, $post_parent = null ) {
+ $post_data = array(
+ 'ID' => $doc['ID'],
+ 'post_parent' => $post_parent,
+ 'post_title' => sanitize_text_field( wp_slash( $doc['title'] ) ),
+ 'menu_order' => $doc['order'],
+ );
+ $post_id = wp_update_post( $post_data );
+ if ( ! $post_id ) {
+ return false;
+ }
+ if ( class_exists( 'WP_CLI' ) ) {
+ \WP_CLI::log( "Updated post {$post_id}: {$doc['title']}." );
+ }
+ update_post_meta( $post_id, self::$meta_key, esc_url_raw( $doc['markdown_source'] ) );
+ return get_post( $post_id );
+ }
+
+ public static function action_wporg_gutenberg_markdown_import() {
+ $q = new WP_Query( array(
+ 'post_type' => self::$supported_post_types,
+ 'post_status' => 'publish',
+ 'fields' => 'ids',
+ 'posts_per_page' => self::$posts_per_page,
+ ) );
+ $ids = $q->posts;
+ $success = 0;
+ foreach( $ids as $id ) {
+ $ret = self::update_post_from_markdown_source( $id );
+ if ( class_exists( 'WP_CLI' ) ) {
+ if ( is_wp_error( $ret ) ) {
+ \WP_CLI::warning( $ret->get_error_message() );
+ } else {
+ \WP_CLI::log( "Updated {$id} from markdown source" );
+ $success++;
+ }
+ }
+ }
+ if ( class_exists( 'WP_CLI' ) ) {
+ $total = count( $ids );
+ \WP_CLI::success( "Successfully updated {$success} of {$total} handbook pages." );
+ }
+ }
+
+ /**
+ * Handle a request to import from the markdown source
+ */
+ public static function action_load_post_php() {
+ if ( ! isset( $_GET[ self::$submit_name ] )
+ || ! isset( $_GET[ self::$nonce_name ] )
+ || ! isset( $_GET['post'] ) ) {
+ return;
+ }
+ $post_id = (int) $_GET['post'];
+ if ( ! current_user_can( 'edit_post', $post_id )
+ || ! wp_verify_nonce( $_GET[ self::$nonce_name ], self::$input_name )
+ || ! in_array( get_post_type( $post_id ), self::$supported_post_types, true ) ) {
+ return;
+ }
+
+ $response = self::update_post_from_markdown_source( $post_id );
+ if ( is_wp_error( $response ) ) {
+ wp_die( $response->get_error_message() );
+ }
+
+ wp_safe_redirect( get_edit_post_link( $post_id, 'raw' ) );
+ exit;
+ }
+
+ /**
+ * Add an input field for specifying Markdown source
+ */
+ public static function action_edit_form_after_title( $post ) {
+ if ( ! in_array( $post->post_type, self::$supported_post_types, true ) ) {
+ return;
+ }
+ $markdown_source = get_post_meta( $post->ID, self::$meta_key, true );
+ ?>
+ <label>Markdown source: <input
+ type="text"
+ name="<?php echo esc_attr( self::$input_name ); ?>"
+ value="<?php echo esc_attr( $markdown_source ); ?>"
+ placeholder="Enter a URL representing a markdown file to import"
+ size="50" />
+ </label> <?php
+ if ( $markdown_source ) :
+ $update_link = add_query_arg( array(
+ self::$submit_name => 'import',
+ self::$nonce_name => wp_create_nonce( self::$input_name ),
+ ), get_edit_post_link( $post->ID, 'raw' ) );
+ ?>
+ <a class="button button-small button-primary" href="<?php echo esc_url( $update_link ); ?>">Import</a>
+ <?php endif; ?>
+ <?php wp_nonce_field( self::$input_name, self::$nonce_name ); ?>
+ <?php
+ }
+
+ /**
+ * Save the Markdown source input field
+ */
+ public static function action_save_post( $post_id ) {
+
+ if ( ! isset( $_POST[ self::$input_name ] )
+ || ! isset( $_POST[ self::$nonce_name ] )
+ || ! in_array( get_post_type( $post_id ), self::$supported_post_types, true ) ) {
+ return;
+ }
+
+ if ( ! wp_verify_nonce( $_POST[ self::$nonce_name ], self::$input_name ) ) {
+ return;
+ }
+
+ $markdown_source = '';
+ if ( ! empty( $_POST[ self::$input_name ] ) ) {
+ $markdown_source = esc_url_raw( $_POST[ self::$input_name ] );
+ }
+ update_post_meta( $post_id, self::$meta_key, $markdown_source );
+ }
+
+ /**
+ * Filter cron schedules to add a 15 minute schedule
+ */
+ public static function filter_cron_schedules( $schedules ) {
+ $schedules['15_minutes'] = array(
+ 'interval' => 15 * MINUTE_IN_SECONDS,
+ 'display' => '15 minutes'
+ );
+ return $schedules;
+ }
+
+ /**
+ * Update a post from its Markdown source
+ */
+ private static function update_post_from_markdown_source( $post_id ) {
+ $markdown_source = self::get_markdown_source( $post_id );
+ if ( is_wp_error( $markdown_source ) ) {
+ return $markdown_source;
+ }
+ if ( ! function_exists( 'jetpack_require_lib' ) ) {
+ return new WP_Error( 'missing-jetpack-require-lib', 'jetpack_require_lib() is missing on system.' );
+ }
+
+ // Transform GitHub repo HTML pages into their raw equivalents
+ $markdown_source = preg_replace( '#https?://github\.com/([^/]+/[^/]+)/blob/(.+)#', 'https://raw.githubusercontent.com/$1/$2', $markdown_source );
+ $markdown_source = add_query_arg( 'v', time(), $markdown_source );
+ $response = wp_remote_get( $markdown_source );
+ if ( is_wp_error( $response ) ) {
+ return $response;
+ } elseif ( 200 !== wp_remote_retrieve_response_code( $response ) ) {
+ return new WP_Error( 'invalid-http-code', 'Markdown source returned non-200 http code.' );
+ }
+
+ $markdown = wp_remote_retrieve_body( $response );
+ // Strip YAML doc from the header
+ $markdown = preg_replace( '#^---(.+)---#Us', '', $markdown );
+
+ $title = null;
+ if ( preg_match( '/^#\s(.+)/', $markdown, $matches ) ) {
+ $title = $matches[1];
+ $markdown = preg_replace( '/^#\s(.+)/', '', $markdown );
+ }
+
+ // Transform to HTML
+ jetpack_require_lib( 'markdown' );
+ $parser = new \WPCom_GHF_Markdown_Parser;
+ $html = $parser->transform( $markdown );
+
+ // Turn the code blocks into tabs
+ $html = preg_replace_callback( '/{%\s+codetabs\s+%}(.*?){%\s+end\s+%}/ms', array( 'Import_Gutendocs', 'parse_code_blocks' ), $html );
+ $html = str_replace( 'class="php"', 'class="language-php"', $html );
+ $html = str_replace( 'class="js"', 'class="language-javascript"', $html );
+ $html = str_replace( 'class="css"', 'class="language-css"', $html );
+
+ // Save the post
+ $post_data = array(
+ 'ID' => $post_id,
+ 'post_content' => wp_filter_post_kses( wp_slash( $html ) ),
+ );
+ if ( ! is_null( $title ) ) {
+ $post_data['post_title'] = sanitize_text_field( wp_slash( $title ) );
+ }
+ wp_update_post( $post_data );
+ return true;
+ }
+
+ /**
+ * Callback for the preg_replace_callback() in ::update_post_from_markdown_source(),
+ * to transform a block of code tabs into HTML.
+ */
+ public static function parse_code_blocks( $matches ) {
+ $splitted_tabs = preg_split( '/{%\s+([\w]+)\s+%}/', trim( $matches[1] ), -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE );
+
+ $html = '<div class="code-tabs">';
+ $code_blocks = '';
+
+ for ( $ii = 0; $ii < count( $splitted_tabs ); $ii += 2 ) {
+ $classes = 'code-tab ' . $splitted_tabs[ $ii ];
+ $code_classes = 'code-tab-block ' . $splitted_tabs[ $ii ];
+
+ if ( 0 === $ii ) {
+ $classes .= ' is-active';
+ $code_classes .= ' is-active';
+ }
+
+ $html .= "<button data-language='{$splitted_tabs[ $ii ]}' class='$classes'>{$splitted_tabs[ $ii ]}</button>";
+ $code_blocks .= "<div class='$code_classes'>{$splitted_tabs[ $ii + 1 ]}</div>";
+ }
+
+ $html .= "$code_blocks</div>";
+
+ return $html;
+ }
+
+ /**
+ * Retrieve the markdown source URL for a given post.
+ */
+ public static function get_markdown_source( $post_id ) {
+ $markdown_source = get_post_meta( $post_id, self::$meta_key, true );
+ if ( ! $markdown_source ) {
+ return new WP_Error( 'missing-markdown-source', "Markdown source is missing for post $post_id." );
+ }
+
+ return $markdown_source;
+ }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/docs-importer.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincfooterphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/footer.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/footer.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,27 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying the footer
+ *
+ * Contains the closing of the #content div and all content after.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package Gutenbergtheme
+ */
+?>
+
+
+ <footer id="colophon" class="site-footer">
+ <div class="site-info">
+ <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'gutenbergtheme' ) ); ?>"><?php
+ /* translators: %s: CMS name, i.e. WordPress. */
+ printf( esc_html__( 'Proudly powered by %s', 'gutenbergtheme' ), 'WordPress' );
+ ?></a>
+ </div><!-- .site-info -->
+ </footer><!-- #colophon -->
+</div><!-- #page -->
+
+<?php wp_footer(); ?>
+
+</body>
+</html>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/footer.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincheaderphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/header.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/header.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,23 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+<?php
+/**
+ * The header for our theme
+ *
+ * This is the template that displays all of the <head> section and everything up until <div id="content">
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package Gutenbergtheme
+ */
+?>
+<!doctype html>
+<html <?php language_attributes(); ?>>
+<head>
+ <meta charset="<?php bloginfo( 'charset' ); ?>">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="profile" href="http://gmpg.org/xfn/11">
+
+ <?php wp_head(); ?>
+</head>
+
+<body <?php body_class(); ?>>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/header.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergincjetpackphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/jetpack.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/jetpack.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/jetpack.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,54 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Jetpack Compatibility File
+ *
+ * @link https://jetpack.com/
+ *
+ * @package Gutenbergtheme
+ */
+
+/**
+ * Jetpack setup function.
+ *
+ * See: https://jetpack.com/support/infinite-scroll/
+ * See: https://jetpack.com/support/responsive-videos/
+ * See: https://jetpack.com/support/content-options/
+ */
+function gutenbergtheme_jetpack_setup() {
+ // Add theme support for Infinite Scroll.
+ add_theme_support( 'infinite-scroll', array(
+ 'container' => 'main',
+ 'render' => 'gutenbergtheme_infinite_scroll_render',
+ 'footer' => 'page',
+ ) );
+
+ // Add theme support for Responsive Videos.
+ add_theme_support( 'jetpack-responsive-videos' );
+
+ // Add theme support for Content Options.
+ add_theme_support( 'jetpack-content-options', array(
+ 'post-details' => array(
+ 'stylesheet' => 'gutenbergtheme-style',
+ 'date' => '.posted-on',
+ 'categories' => '.cat-links',
+ 'tags' => '.tags-links',
+ 'author' => '.byline',
+ 'comment' => '.comments-link',
+ ),
+ ) );
+}
+add_action( 'after_setup_theme', 'gutenbergtheme_jetpack_setup' );
+
+/**
+ * Custom render function for Infinite Scroll.
+ */
+function gutenbergtheme_infinite_scroll_render() {
+ while ( have_posts() ) {
+ the_post();
+ if ( is_search() ) :
+ get_template_part( 'template-parts/content', 'search' );
+ else :
+ get_template_part( 'template-parts/content', get_post_format() );
+ endif;
+ }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/jetpack.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginctemplatefunctionsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-functions.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-functions.php 2017-12-22 04:37:43 UTC (rev 6304)
</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
+/**
+ * Functions which enhance the theme by hooking into WordPress
+ *
+ * @package Gutenbergtheme
+ */
+
+/**
+ * Adds custom classes to the array of body classes.
+ *
+ * @param array $classes Classes for the body element.
+ * @return array
+ */
+function gutenbergtheme_body_classes( $classes ) {
+ // Adds a class of hfeed to non-singular pages.
+ if ( ! is_singular() ) {
+ $classes[] = 'hfeed';
+ }
+
+ return $classes;
+}
+add_filter( 'body_class', 'gutenbergtheme_body_classes' );
+
+/**
+ * Add a pingback url auto-discovery header for singularly identifiable articles.
+ */
+function gutenbergtheme_pingback_header() {
+ if ( is_singular() && pings_open() ) {
+ echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">';
+ }
+}
+add_action( 'wp_head', 'gutenbergtheme_pingback_header' );
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-functions.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberginctemplatetagsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-tags.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-tags.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,102 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Custom template tags for this theme
+ *
+ * Eventually, some of the functionality here could be replaced by core features.
+ *
+ * @package Gutenbergtheme
+ */
+
+if ( ! function_exists( 'gutenbergtheme_posted_on' ) ) :
+ /**
+ * Prints HTML with meta information for the current post-date/time and author.
+ */
+ function gutenbergtheme_posted_on() {
+ $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
+ if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
+ $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
+ }
+
+ $time_string = sprintf( $time_string,
+ esc_attr( get_the_date( 'c' ) ),
+ esc_html( get_the_date() ),
+ esc_attr( get_the_modified_date( 'c' ) ),
+ esc_html( get_the_modified_date() )
+ );
+
+ $posted_on = sprintf(
+ /* translators: %s: post date. */
+ esc_html_x( 'Posted on %s', 'post date', 'gutenbergtheme' ),
+ '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
+ );
+
+ $byline = sprintf(
+ /* translators: %s: post author. */
+ esc_html_x( 'by %s', 'post author', 'gutenbergtheme' ),
+ '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
+ );
+
+ echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK.
+
+ }
+endif;
+
+if ( ! function_exists( 'gutenbergtheme_entry_footer' ) ) :
+ /**
+ * Prints HTML with meta information for the categories, tags and comments.
+ */
+ function gutenbergtheme_entry_footer() {
+ // Hide category and tag text for pages.
+ if ( 'post' === get_post_type() ) {
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( esc_html__( ', ', 'gutenbergtheme' ) );
+ if ( $categories_list ) {
+ /* translators: 1: list of categories. */
+ printf( '<span class="cat-links">' . esc_html__( 'Posted in %1$s', 'gutenbergtheme' ) . '</span>', $categories_list ); // WPCS: XSS OK.
+ }
+
+ /* translators: used between list items, there is a space after the comma */
+ $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'gutenbergtheme' ) );
+ if ( $tags_list ) {
+ /* translators: 1: list of tags. */
+ printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'gutenbergtheme' ) . '</span>', $tags_list ); // WPCS: XSS OK.
+ }
+ }
+
+ if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
+ echo '<span class="comments-link">';
+ comments_popup_link(
+ sprintf(
+ wp_kses(
+ /* translators: %s: post title */
+ __( 'Leave a Comment<span class="screen-reader-text"> on %s</span>', 'gutenbergtheme' ),
+ array(
+ 'span' => array(
+ 'class' => array(),
+ ),
+ )
+ ),
+ get_the_title()
+ )
+ );
+ echo '</span>';
+ }
+
+ edit_post_link(
+ sprintf(
+ wp_kses(
+ /* translators: %s: Name of current post. Only visible to screen readers */
+ __( 'Edit <span class="screen-reader-text">%s</span>', 'gutenbergtheme' ),
+ array(
+ 'span' => array(
+ 'class' => array(),
+ ),
+ )
+ ),
+ get_the_title()
+ ),
+ '<span class="edit-link">',
+ '</span>'
+ );
+ }
+endif;
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/inc/template-tags.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergindexphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/index.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,55 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The main template file
+ *
+ * This is the most generic template file in a WordPress theme
+ * and one of the two required files for a theme (the other being style.css).
+ * It is used to display a page when nothing more specific matches a query.
+ * E.g., it puts together the home page when no home.php file exists.
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+ if ( have_posts() ) :
+
+ if ( is_home() && ! is_front_page() ) : ?>
+ <header>
+ <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
+ </header>
+
+ <?php
+ endif;
+
+ /* Start the Loop */
+ while ( have_posts() ) : the_post();
+
+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'template-parts/content', get_post_format() );
+
+ endwhile;
+
+ the_posts_navigation();
+
+ else :
+
+ get_template_part( 'template-parts/content', 'none' );
+
+ endif; ?>
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/index.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjscustomizerjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/customizer.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/customizer.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/customizer.js 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,42 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * File customizer.js.
+ *
+ * Theme Customizer enhancements for a better user experience.
+ *
+ * Contains handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+
+( function( $ ) {
+
+ // Site title and description.
+ wp.customize( 'blogname', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-title a' ).text( to );
+ } );
+ } );
+ wp.customize( 'blogdescription', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-description' ).text( to );
+ } );
+ } );
+
+ // Header text color.
+ wp.customize( 'header_textcolor', function( value ) {
+ value.bind( function( to ) {
+ if ( 'blank' === to ) {
+ $( '.site-title, .site-description' ).css( {
+ 'clip': 'rect(1px, 1px, 1px, 1px)',
+ 'position': 'absolute'
+ } );
+ } else {
+ $( '.site-title, .site-description' ).css( {
+ 'clip': 'auto',
+ 'position': 'relative'
+ } );
+ $( '.site-title a, .site-description' ).css( {
+ 'color': to
+ } );
+ }
+ } );
+ } );
+} )( jQuery );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjshandbookjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/handbook.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/handbook.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/handbook.js 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,45 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * File handbook.js.
+ *
+ * Handbook enhancements.
+ */
+
+jQuery( document ).ready( function() {
+ jQuery( document ).on( 'click', '.code-tab', function ( e ) {
+ var $tab = jQuery( e.target );
+ if ( $tab.hasClass( 'is-active' ) ) {
+ return;
+ }
+
+ var lang = $tab.text();
+
+ $tab.parent().find( '.is-active, .' + lang ).toggleClass( 'is-active' );
+ } );
+
+
+ // Add our expandable button
+ jQuery( '.menu-table-of-contents-container > ul > .menu-item-has-children > a' )
+ .wrap( '<div class="expandable"></div>' )
+ .after( '<button class="dashicons dashicons-arrow-down-alt2" aria-expanded="false"></button>' );
+
+ // Invisibly open all of the submenus
+ jQuery( '.menu-item-has-children > ul ul' ).addClass( 'default-open' );
+
+ // Open the current menu
+ jQuery( '.menu-table-of-contents-container .current-menu-item a' ).first()
+ .addClass( 'active' )
+ .parents( '.menu-item-has-children' )
+ .toggleClass( 'open' )
+ .find( '> div > .dashicons' )
+ .attr( 'aria-expanded', true );
+
+ // Or if wrapped in a div.expandable
+ jQuery( '.menu-item-has-children > div > .dashicons' ).click( function() {
+ var menuToggle = jQuery( this ).closest( '.menu-item-has-children' );
+
+ jQuery( this ).parent().siblings( '.children' ).slideToggle();
+
+ menuToggle.toggleClass( 'open' );
+ jQuery( this ).attr( 'aria-expanded', menuToggle.hasClass( 'open' ) );
+ } );
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsnavigationjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/navigation.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/navigation.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/navigation.js 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,106 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * File navigation.js.
+ *
+ * Handles toggling the navigation menu for small screens and enables TAB key
+ * navigation support for dropdown menus.
+ */
+( function() {
+ var container, button, menu, links, i, len;
+
+ container = document.getElementById( 'site-navigation' );
+ if ( ! container ) {
+ return;
+ }
+
+ button = container.getElementsByTagName( 'button' )[0];
+ if ( 'undefined' === typeof button ) {
+ return;
+ }
+
+ menu = container.getElementsByTagName( 'ul' )[0];
+
+ // Hide menu toggle button if menu is empty and return early.
+ if ( 'undefined' === typeof menu ) {
+ button.style.display = 'none';
+ return;
+ }
+
+ menu.setAttribute( 'aria-expanded', 'false' );
+ if ( -1 === menu.className.indexOf( 'nav-menu' ) ) {
+ menu.className += ' nav-menu';
+ }
+
+ button.onclick = function() {
+ if ( -1 !== container.className.indexOf( 'toggled' ) ) {
+ container.className = container.className.replace( ' toggled', '' );
+ button.setAttribute( 'aria-expanded', 'false' );
+ menu.setAttribute( 'aria-expanded', 'false' );
+ } else {
+ container.className += ' toggled';
+ button.setAttribute( 'aria-expanded', 'true' );
+ menu.setAttribute( 'aria-expanded', 'true' );
+ }
+ };
+
+ // Get all the link elements within the menu.
+ links = menu.getElementsByTagName( 'a' );
+
+ // Each time a menu link is focused or blurred, toggle focus.
+ for ( i = 0, len = links.length; i < len; i++ ) {
+ links[i].addEventListener( 'focus', toggleFocus, true );
+ links[i].addEventListener( 'blur', toggleFocus, true );
+ }
+
+ /**
+ * Sets or removes .focus class on an element.
+ */
+ function toggleFocus() {
+ var self = this;
+
+ // Move up through the ancestors of the current link until we hit .nav-menu.
+ while ( -1 === self.className.indexOf( 'nav-menu' ) ) {
+
+ // On li elements toggle the class .focus.
+ if ( 'li' === self.tagName.toLowerCase() ) {
+ if ( -1 !== self.className.indexOf( 'focus' ) ) {
+ self.className = self.className.replace( ' focus', '' );
+ } else {
+ self.className += ' focus';
+ }
+ }
+
+ self = self.parentElement;
+ }
+ }
+
+ /**
+ * Toggles `focus` class to allow submenu access on tablets.
+ */
+ ( function( container ) {
+ var touchStartFn, i,
+ parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' );
+
+ if ( 'ontouchstart' in window ) {
+ touchStartFn = function( e ) {
+ var menuItem = this.parentNode, i;
+
+ if ( ! menuItem.classList.contains( 'focus' ) ) {
+ e.preventDefault();
+ for ( i = 0; i < menuItem.parentNode.children.length; ++i ) {
+ if ( menuItem === menuItem.parentNode.children[i] ) {
+ continue;
+ }
+ menuItem.parentNode.children[i].classList.remove( 'focus' );
+ }
+ menuItem.classList.add( 'focus' );
+ } else {
+ menuItem.classList.remove( 'focus' );
+ }
+ };
+
+ for ( i = 0; i < parentLink.length; ++i ) {
+ parentLink[i].addEventListener( 'touchstart', touchStartFn, false );
+ }
+ }
+ }( container ) );
+} )();
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsprismjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/prism.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/prism.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/prism.js 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+php */
+var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=
n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var i=r[e];if(2==arguments.length){a=arguments[1];for(var l in a)a.hasOwnProperty(l)&&(i[l]=a[l]);return i}var o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in a)a.hasOwnProperty(l)&&(o[l]=a[l]);o[s]=i[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var i in e)e.hasOwnProperty(i)&&(t.call(e,i,e[i],a||i),"Object"!==n.util.type(e[i])||r[n.util.objId(e[i])]?"Array"!==n.util.type(e[i])||r[n.util.objId(e[i])]||(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,i,r)):(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.h
ooks.run("before-highlightall",a);for(var r,i=a.elements||document.querySelectorAll(a.selector),l=0;r=i[l++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var i,l,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(i=(o.className.match(e)||[,""])[1].toLowerCase(),l=n.languages[i]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+i,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,"").replace(/\s+/g," ")+" language-"+i);var s=t.textContent,u={element:t,language:i,grammar:l,code:s};if(n.hooks.run("before-sanity-check",u),!u.code||!u.grammar)return u.code&&(n.hooks.run("before-highlight",u),u.element.textContent=u.code,n.hooks.run("after-highlight",u)),n.hooks.run("complete",u),void 0;if(n.hooks.run("before-highlight",u),a&&_self.Worker){var g=
new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,r){var i=n.tokenize(e,t);return a.stringify(n.util.encode(i),r)},matchGrammar:function(e,t,a,r,i,l,o){var s=n.Token;for(var u in a)if(a.hasOwnProperty(u)&&a[u]){if(u==o)return;var g=a[u];g="Array"===n.util.type(g)?g:[g];for(var c=0;c<g.length;++c){var h=g[c],f=h.inside,d=!!h.lookbehind,m=!!h.greedy,p=0,y=h.alias;if(m&&!h.pattern.global){var v=h.pattern.toS
tring().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+"g")}h=h.pattern||h;for(var b=r,k=i;b<t.length;k+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof s)){h.lastIndex=0;var _=h.exec(w),P=1;if(!_&&m&&b!=t.length-1){if(h.lastIndex=k,_=h.exec(e),!_)break;for(var A=_.index+(d?_[1].length:0),j=_.index+_[0].length,x=b,O=k,S=t.length;S>x&&(j>O||!t[x].type&&!t[x-1].greedy);++x)O+=t[x].length,A>=O&&(++b,k=O);if(t[b]instanceof s||t[x-1].greedy)continue;P=x-b,w=e.slice(k,O),_.index-=k}if(_){d&&(p=_[1].length);var A=_.index+p,_=_[0].slice(p),j=A+_.length,N=w.slice(0,A),C=w.slice(j),E=[b,P];N&&(++b,k+=N.length,E.push(N));var I=new s(u,f?n.tokenize(_,f):_,y,_,m);if(E.push(I),C&&E.push(C),Array.prototype.splice.apply(t,E),1!=P&&n.matchGrammar(e,t,a,b,k,!0,u),l)break}else if(l)break}}}}},tokenize:function(e,t){var a=[e],r=t.rest;if(r){for(var i in r)t[i]=r[i];delete
t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var i={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if(e.alias){var l="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}n.hooks.run("wrap",i);var o=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");retu
rn"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(o?" "+o:"")+">"+i.content+"</"+i.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,i=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),i&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,n.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined&qu
ot;!=typeof global&&(global.Prism=Prism);
+Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml
=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
+Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},p
unctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag));
+Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(?:true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};
+Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|\d*\.?\d+(?:[Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*
(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)\s*=>))/i,alias:"function"}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript;
+Prism.languages.php=Prism.languages.extend("clike",{keyword:/\b(?:and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,constant:/\b[A-Z0-9_]{2,}\b/,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),Prism.languages.insertBefore("php","class-name",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),Prism.languages.insertBefore("php","keyword",{delimiter:{pattern:/\?>|<\?(?:php|=)?/i,alias:"important"},variable:/\$\w+\b/i,"package":{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:
!0,inside:{punctuation:/\\/}}}),Prism.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add("before-highlight",function(e){"php"===e.language&&/(?:<\?php|<\?)/gi.test(e.code)&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\?php|<\?)[\s\S]*?(?:\?>|$)/gi,function(a){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf("___PHP"+n+"___");)++n;return e.tokenStack[n]=a,"___PHP"+n+"___"}),e.grammar=Prism.languages.markup)}),Prism.hooks.add("before-insert",function(e){"php"===e.language&&e.backupCode&&(e.code=e.backupCode,delete e.backupCode)}),Prism.hooks.add("after-highlight",function(e){if("php"===e.language&&e.tokenStack){e.grammar=Prism.languages.php;for(var a=0,n=Object.keys(e.tokenStack);a<n.length;++a){
var t=n[a],r=e.tokenStack[t];e.highlightedCode=e.highlightedCode.replace("___PHP"+t+"___",'<span class="token php language-php">'+Prism.highlight(r,e.grammar,"php").replace(/\$/g,"$$$$")+"</span>")}e.element.innerHTML=e.highlightedCode}}));
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergjsskiplinkfocusfixjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/skip-link-focus-fix.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/skip-link-focus-fix.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/skip-link-focus-fix.js 2017-12-22 04:37:43 UTC (rev 6304)
</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">+/**
+ * File skip-link-focus-fix.js.
+ *
+ * Helps with accessibility for keyboard only users.
+ *
+ * Learn more: https://git.io/vWdr2
+ */
+( function() {
+ var isIe = /(trident|msie)/i.test( navigator.userAgent );
+
+ if ( isIe && document.getElementById && window.addEventListener ) {
+ window.addEventListener( 'hashchange', function() {
+ var id = location.hash.substring( 1 ),
+ element;
+
+ if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
+ return;
+ }
+
+ element = document.getElementById( id );
+
+ if ( element ) {
+ if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
+ element.tabIndex = -1;
+ }
+
+ element.focus();
+ }
+ }, false );
+ }
+} )();
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberglanguagesgutenthemepot"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/gutentheme.pot</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/gutentheme.pot (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/gutentheme.pot 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,186 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Copyright (C) 2017 Automattic
+# This file is distributed under the GNU General Public License v2 or later.
+msgid ""
+msgstr ""
+"Project-Id-Version: _s 1.0.0\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
+"POT-Creation-Date: 2016-12-23 16:00+0100\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
+"Last-Translator:\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"X-Generator: grunt-wp-i18n 0.5.4\n"
+
+#: 404.php:17
+msgid "Oops! That page can’t be found."
+msgstr ""
+
+#: 404.php:21
+msgid ""
+"It looks like nothing was found at this location. Maybe try one of the "
+"links below or a search?"
+msgstr ""
+
+#: 404.php:30
+msgid "Most Used Categories"
+msgstr ""
+
+#: 404.php:47
+#. translators: %1$s: smiley
+msgid "Try looking in the monthly archives. %1$s"
+msgstr ""
+
+#: comments.php:34
+#. translators: 1: title.
+msgid "One thought on “%1$s”"
+msgstr ""
+
+#: comments.php:67
+msgid "Comments are closed."
+msgstr ""
+
+#: footer.php:18
+msgid "https://wordpress.org/"
+msgstr ""
+
+#: footer.php:20
+#. translators: %s: CMS name, i.e. WordPress.
+msgid "Proudly powered by %s"
+msgstr ""
+
+#: footer.php:25
+#. translators: 1: Theme name, 2: Theme author.
+msgid "Theme: %1$s by %2$s."
+msgstr ""
+
+#: functions.php:47
+msgid "Primary"
+msgstr ""
+
+#: functions.php:105
+msgid "Sidebar"
+msgstr ""
+
+#: functions.php:107
+msgid "Add widgets here."
+msgstr ""
+
+#: header.php:24
+msgid "Skip to content"
+msgstr ""
+
+#: header.php:45
+msgid "Primary Menu"
+msgstr ""
+
+#: inc/template-tags.php:52
+#. translators: used between list items, there is a space after the comma
+msgid ", "
+msgstr ""
+
+#: inc/template-tags.php:55
+#. translators: 1: list of categories.
+msgid "Posted in %1$s"
+msgstr ""
+
+#: inc/template-tags.php:62
+#. translators: 1: list of tags.
+msgid "Tagged %1$s"
+msgstr ""
+
+#: inc/template-tags.php:72
+#. translators: %s: post title
+msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
+msgstr ""
+
+#: inc/template-tags.php:89 template-parts/content-page.php:35
+#. translators: %s: Name of current post. Only visible to screen readers
+msgid "Edit <span class=\"screen-reader-text\">%s</span>"
+msgstr ""
+
+#: search.php:21
+#. translators: %s: search query.
+msgid "Search Results for: %s"
+msgstr ""
+
+#: template-parts/content-none.php:14
+msgid "Nothing Found"
+msgstr ""
+
+#: template-parts/content-none.php:25
+#. translators: 1: link to WP admin new post page.
+msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
+msgstr ""
+
+#: template-parts/content-none.php:38
+msgid ""
+"Sorry, but nothing matched your search terms. Please try again with some "
+"different keywords."
+msgstr ""
+
+#: template-parts/content-none.php:44
+msgid ""
+"It seems we can’t find what you’re looking for. Perhaps "
+"searching can help."
+msgstr ""
+
+#: template-parts/content-page.php:22 template-parts/content.php:45
+msgid "Pages:"
+msgstr ""
+
+#: template-parts/content.php:34
+#. translators: %s: Name of current post. Only visible to screen readers
+msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
+msgstr ""
+
+#. Theme Name of the plugin/theme
+msgid "_s"
+msgstr ""
+
+#. Theme URI of the plugin/theme
+msgid "http://underscores.me/"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if "
+"you like. I'm a theme meant for hacking so don't use me as a <em>Parent "
+"Theme</em>. Instead try turning me into the next, most awesome, WordPress "
+"theme out there. That's what I'm here for."
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Automattic"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://automattic.com/"
+msgstr ""
+
+#: comments.php:40
+#. translators: 1: comment count number, 2: title.
+msgctxt "comments title"
+msgid "%1$s thought on “%2$s”"
+msgid_plural "%1$s thoughts on “%2$s”"
+msgstr[0] ""
+msgstr[1] ""
+
+#: inc/template-tags.php:29
+#. translators: %s: post date.
+msgctxt "post date"
+msgid "Posted on %s"
+msgstr ""
+
+#: inc/template-tags.php:35
+#. translators: %s: post author.
+msgctxt "post author"
+msgid "by %s"
+msgstr ""
+
+#: inc/template-tags.php:59
+#. translators: used between list items, there is a space after the comma
+msgctxt "list item separator"
+msgid ", "
+msgstr ""
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenberglanguagesreadmetxt"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/readme.txt</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/readme.txt (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/languages/readme.txt 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,7 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Place your theme language files in this directory.
+
+Please visit the following links to learn more about translating WordPress themes:
+
+https://make.wordpress.org/polyglots/teams/
+https://developer.wordpress.org/themes/functionality/localization/
+https://developer.wordpress.org/reference/functions/load_theme_textdomain/
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergpagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/page.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/page.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,37 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying all pages
+ *
+ * This is the template that displays all pages by default.
+ * Please note that this is the WordPress construct of pages
+ * and that other 'pages' on your WordPress site may use a
+ * different template.
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+ while ( have_posts() ) : the_post();
+
+ get_template_part( 'template-parts/content', 'page' );
+
+ // If comments are open or we have at least one comment, load up the comment template.
+ if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif;
+
+ endwhile; // End of the loop.
+ ?>
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/page.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergreadmetxt"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/readme.txt</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/readme.txt (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/readme.txt 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,38 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+=== gutenbergtheme ===
+
+Contributors: everyone welcome
+Tags: translation-ready
+
+Requires at least: 4.0
+Tested up to: 4.8
+Stable tag: 1.0.0
+License: GNU General Public License v2 or later
+License URI: LICENSE
+
+A theme to demonstrate the power of the Gutenberg editor.
+
+== Description ==
+
+Description
+
+== Installation ==
+
+1. In your admin panel, go to Appearance > Themes and click the Add New button.
+2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now.
+3. Click Activate to use your new theme right away.
+
+== Frequently Asked Questions ==
+
+= Does this theme support any plugins? =
+
+gutenbergtheme includes support for Infinite Scroll in Jetpack.
+
+== Changelog ==
+
+= 1.0 - May 12 2015 =
+* Initial release
+
+== Credits ==
+
+* Based on Underscores http://underscores.me/, (C) 2012-2017 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
+* normalize.css http://necolas.github.io/normalize.css/, (C) 2012-2016 Nicolas Gallagher and Jonathan Neal, [MIT](http://opensource.org/licenses/MIT)
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergrtlcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/rtl.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/rtl.css 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+Theme Name: Gutenberg
+
+Adding support for languages written in a Right To Left (RTL) direction is easy -
+it's just a matter of overwriting all the horizontal positioning attributes
+of your CSS stylesheet in a separate stylesheet file named rtl.css.
+
+https://codex.wordpress.org/Right-to-Left_Language_Support
+
+*/
+
+/*
+body {
+ direction: rtl;
+ unicode-bidi: embed;
+}
+*/
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/rtl.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergscreenshotpng"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png 2017-12-21 17:46:33 UTC (rev 6303)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png 2017-12-22 04:37:43 UTC (rev 6304)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/screenshot.png
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+image/png
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsearchphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/search.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/search.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,50 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying search results pages
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header(); ?>
+
+ <section id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+ if ( have_posts() ) : ?>
+
+ <header class="page-header">
+ <h1 class="page-title"><?php
+ /* translators: %s: search query. */
+ printf( esc_html__( 'Search Results for: %s', 'gutenbergtheme' ), '<span>' . get_search_query() . '</span>' );
+ ?></h1>
+ </header><!-- .page-header -->
+
+ <?php
+ /* Start the Loop */
+ while ( have_posts() ) : the_post();
+
+ /**
+ * Run the loop for the search to output the results.
+ * If you want to overload this in a child theme then include a file
+ * called content-search.php and that will be used instead.
+ */
+ get_template_part( 'template-parts/content', 'search' );
+
+ endwhile;
+
+ the_posts_navigation();
+
+ else :
+
+ get_template_part( 'template-parts/content', 'none' );
+
+ endif; ?>
+
+ </main><!-- #main -->
+ </section><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/search.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsidebarhandbookphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/sidebar-handbook.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/sidebar-handbook.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/sidebar-handbook.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The sidebar template used in a handbook.
+ *
+ * @package Gutenbergtheme
+ */
+
+if ( ! function_exists( 'wporg_get_current_handbook' ) || ! is_active_sidebar( wporg_get_current_handbook() ) )
+ return;
+?>
+ <div id="secondary" class="widget-area" role="complementary">
+ <a href="#" id="secondary-toggle"></a>
+ <div id="secondary-content">
+ <?php do_action( 'before_sidebar' ); ?>
+ <?php dynamic_sidebar( wporg_get_current_handbook() ); ?>
+ </div>
+ </div><!-- #secondary -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/sidebar-handbook.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergsinglephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/single.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/single.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,41 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * The template for displaying all single posts
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
+ *
+ * @package Gutenbergtheme
+ */
+
+get_header();
+
+get_sidebar( 'handbook' );
+
+?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main">
+
+ <?php
+ while ( have_posts() ) : the_post();
+
+ get_template_part( 'template-parts/content', get_post_type() );
+
+ the_post_navigation( array(
+ 'prev_text' => '← %title',
+ 'next_text' => '%title →',
+ ) );
+
+ // If comments are open or we have at least one comment, load up the comment template.
+ if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif;
+
+ endwhile; // End of the loop.
+ ?>
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php
+get_footer();
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/single.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergstylecss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,1537 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+Theme Name: Gutenberg
+Theme URI: https://github.com/WordPress/gutenberg-theme/
+Author: wordpressdotorg
+Author URI: https://wordpress.org
+Description: Showcasing themeing with Gutenberg.
+Version: 1.0.0
+License: GNU General Public License v2 or later
+License URI: LICENSE
+Text Domain: gutenbergtheme
+Tags: translation-ready
+
+This theme, like WordPress, is licensed under the GPL.
+Use it to make something cool, have fun, and share what you've learned with others.
+
+gutenbergtheme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
+Underscores is distributed under the terms of the GNU GPL v2 or later.
+
+Normalizing styles have been helped along thanks to the fine work of
+Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
+*/
+/*--------------------------------------------------------------
+>>> TABLE OF CONTENTS:
+----------------------------------------------------------------
+# Normalize
+# Typography
+# Elements
+# Forms
+# Navigation
+ ## Links
+ ## Menus
+# Accessibility
+# Alignments
+# Clearings
+# Widgets
+# Content
+ ## Posts and pages
+ ## Comments
+# Infinite scroll
+# Media
+ ## Captions
+ ## Galleries
+# WP.org Header
+# WP.org Overrides
+# WP.org Handbook
+--------------------------------------------------------------*/
+/*--------------------------------------------------------------
+# Normalize
+--------------------------------------------------------------*/
+html {
+ font-family: sans-serif;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+
+body {
+ margin: 0;
+}
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+main,
+menu,
+nav,
+section,
+summary {
+ display: block;
+}
+
+audio,
+canvas,
+progress,
+video {
+ display: inline-block;
+ vertical-align: baseline;
+}
+
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+[hidden],
+template {
+ display: none;
+}
+
+a {
+ background-color: transparent;
+}
+
+a:active,
+a:hover {
+ outline: 0;
+}
+
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+b,
+strong {
+ font-weight: bold;
+}
+
+dfn {
+ font-style: italic;
+}
+
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+small {
+ font-size: 80%;
+}
+
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sup {
+ top: -0.5em;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+img {
+ border: 0;
+}
+
+svg:not(:root) {
+ overflow: hidden;
+}
+
+figure {
+ margin: 1em 40px;
+}
+
+hr {
+ box-sizing: content-box;
+ height: 0;
+}
+
+pre {
+ overflow: auto;
+}
+
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+
+button,
+input,
+optgroup,
+select,
+textarea {
+ color: inherit;
+ font: inherit;
+ margin: 0;
+}
+
+button {
+ overflow: visible;
+}
+
+button,
+select {
+ text-transform: none;
+}
+
+button,
+html input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button;
+ cursor: pointer;
+}
+
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+input {
+ line-height: normal;
+}
+
+input[type="checkbox"],
+input[type="radio"] {
+ box-sizing: border-box;
+ padding: 0;
+}
+
+input[type="number"]::-webkit-inner-spin-button,
+input[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
+
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
+}
+
+legend {
+ border: 0;
+ padding: 0;
+}
+
+textarea {
+ overflow: auto;
+}
+
+optgroup {
+ font-weight: bold;
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+td,
+th {
+ padding: 0;
+}
+
+/*--------------------------------------------------------------
+# Typography
+--------------------------------------------------------------*/
+body,
+button,
+input,
+select,
+optgroup,
+textarea {
+ color: #444;
+ font-family: "Noto Serif", serif;
+ font-size: 16px;
+ font-size: 1rem;
+ line-height: 1.8;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #32373c;
+ clear: both;
+}
+
+.entry-header h1.entry-title {
+ font-size: 32px;
+ font-size: 2rem;
+ line-height: 1.4;
+ margin: 1em 0;
+}
+
+dfn, cite, em, i {
+ font-style: italic;
+}
+
+blockquote {
+ margin: 0 1.5em;
+}
+
+address {
+ margin: 0 0 1.5em;
+}
+
+pre {
+ background: #eee;
+ font-family: "Courier 10 Pitch", Courier, monospace;
+ font-size: 15px;
+ font-size: 0.9375rem;
+ line-height: 1.6;
+ margin-bottom: 1.6em;
+ max-width: 100%;
+ overflow: auto;
+ padding: 1.6em;
+}
+
+code, kbd, tt, var {
+ font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
+ font-size: 15px;
+ font-size: 0.9375rem;
+}
+
+abbr, acronym {
+ border-bottom: 1px dotted #666;
+ cursor: help;
+}
+
+mark, ins {
+ background: #fff9c0;
+ text-decoration: none;
+}
+
+big {
+ font-size: 125%;
+}
+
+.archive .site-header {
+ margin-bottom: 3.5em;
+}
+
+.site-title {
+ margin: .4375em 0 0;
+ font-size: 38px;
+ font-weight: bold;
+ line-height: 1.2;
+ color: #333332;
+}
+
+.site-title a {
+ text-decoration: none;
+ color: inherit;
+}
+
+.site-branding {
+ margin-bottom: 1.75em;
+}
+
+.site-description {
+ margin: .4375em 0 0;
+ font-size: 17px;
+ font-weight: inherit;
+ line-height: 1.4;
+ word-wrap: break-word;
+ color: #929292;
+}
+/*--------------------------------------------------------------
+# Elements
+--------------------------------------------------------------*/
+html {
+ box-sizing: border-box;
+}
+
+*,
+*:before,
+*:after {
+ /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
+ box-sizing: inherit;
+}
+
+body {
+ background: #fff;
+ /* Fallback for when there is no custom background color defined. */ }
+
+blockquote, q {
+ quotes: "" ""; }
+ blockquote:before, blockquote:after, q:before, q:after {
+ content: ""; }
+
+hr {
+ background-color: #ccc;
+ border: 0;
+ height: 1px;
+ margin-bottom: 1.5em;
+}
+
+ul, ol {
+ margin: 0 0 1.5em 3em;
+}
+
+ul {
+ list-style: disc;
+}
+
+ol {
+ list-style: decimal;
+}
+
+li > ul,
+li > ol {
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+
+dt {
+ font-weight: bold;
+}
+
+dd {
+ margin: 0 1.5em 1.5em;
+}
+
+img {
+ height: auto;
+ /* Make sure images are scaled correctly. */
+ max-width: 100%;
+ /* Adhere to container width. */
+}
+
+figure {
+ margin: 1em 0;
+ /* Extra wide images within figure tags don't overflow the content area. */
+}
+
+table {
+ margin: 0 0 1.5em;
+ width: 100%;
+}
+
+/*--------------------------------------------------------------
+# Forms
+--------------------------------------------------------------*/
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ border: 1px solid;
+ border-color: #ccc #ccc #bbb;
+ border-radius: 3px;
+ background: #e6e6e6;
+ color: rgba(0, 0, 0, 0.8);
+ font-size: 12px;
+ font-size: 0.75rem;
+ line-height: 1;
+ padding: .6em 1em .4em;
+}
+
+button:hover,
+input[type="button"]:hover,
+input[type="reset"]:hover,
+input[type="submit"]:hover {
+ border-color: #ccc #bbb #aaa;
+}
+
+button:active, button:focus,
+input[type="button"]:active,
+input[type="button"]:focus,
+input[type="reset"]:active,
+input[type="reset"]:focus,
+input[type="submit"]:active,
+input[type="submit"]:focus {
+ border-color: #aaa #bbb #bbb;
+}
+
+input[type="text"],
+input[type="email"],
+input[type="url"],
+input[type="password"],
+input[type="search"],
+input[type="number"],
+input[type="tel"],
+input[type="range"],
+input[type="date"],
+input[type="month"],
+input[type="week"],
+input[type="time"],
+input[type="datetime"],
+input[type="datetime-local"],
+input[type="color"],
+textarea {
+ color: #666;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ padding: 3px;
+}
+
+input[type="text"]:focus,
+input[type="email"]:focus,
+input[type="url"]:focus,
+input[type="password"]:focus,
+input[type="search"]:focus,
+input[type="number"]:focus,
+input[type="tel"]:focus,
+input[type="range"]:focus,
+input[type="date"]:focus,
+input[type="month"]:focus,
+input[type="week"]:focus,
+input[type="time"]:focus,
+input[type="datetime"]:focus,
+input[type="datetime-local"]:focus,
+input[type="color"]:focus,
+textarea:focus {
+ color: #111;
+}
+
+select {
+ border: 1px solid #ccc;
+}
+
+textarea {
+ width: 100%;
+}
+
+/*--------------------------------------------------------------
+# Navigation
+--------------------------------------------------------------*/
+/*--------------------------------------------------------------
+## Links
+--------------------------------------------------------------*/
+a {
+ color: #0073aa;
+}
+
+a:visited {
+ color: #333;
+}
+
+a:hover, a:focus, a:active {
+ color: #00a0d2;
+}
+
+a:focus {
+ outline: thin dotted;
+}
+
+a:hover, a:active {
+ outline: 0;
+}
+
+.site-main .comment-navigation, .site-main
+.posts-navigation, .site-main
+.post-navigation {
+ overflow: hidden;
+}
+
+.comment-navigation .nav-previous,
+.posts-navigation .nav-previous,
+.post-navigation .nav-previous {
+ float: left;
+ width: 50%;
+}
+
+.comment-navigation .nav-next,
+.posts-navigation .nav-next,
+.post-navigation .nav-next {
+ float: right;
+ text-align: right;
+ width: 50%;
+}
+/*--------------------------------------------------------------
+## Menus
+--------------------------------------------------------------*/
+.main-navigation {
+ display: block;
+ clear: both;
+ max-width: 700px;
+ margin: 60px auto;
+ font-size: 17px;
+ font-weight: 700;
+ text-align: center;
+}
+.main-navigation a {
+ display: block;
+ padding: .20875em .4375em;
+ text-decoration: none;
+ -webkit-transition: color 140ms ease-in-out;
+ transition: color 140ms ease-in-out;
+}
+.main-navigation ul {
+ display: none;
+ margin: 0;
+ padding-left: 0;
+ list-style: none;
+}
+.main-navigation li {
+ border-top: 1px solid #ccc;
+ position: relative;
+ display: inline-block;
+ margin-top: .4375em;
+ padding-top: .4375em;
+ line-height: 1.3;
+ width: 100%;
+}
+.main-navigation ul:first-child > li:first-child {
+ border-top: 0;
+}
+.main-navigation li.current-menu-item > a,
+.main-navigation li.current_page_item > a {
+ color: #00aadc;
+}
+
+/* Small menu. */
+.menu-toggle,
+.main-navigation.toggled ul {
+ display: block;
+}
+
+@media screen and (min-width: 37.5em) {
+ .menu-toggle {
+ display: none;
+ }
+ .main-navigation ul {
+ display: block;
+ }
+}
+
+.site-main .comment-navigation,
+.site-main .posts-navigation,
+.site-main .post-navigation {
+ margin: 0 0 1.5em;
+ overflow: hidden;
+}
+
+.comment-navigation .nav-previous,
+.posts-navigation .nav-previous,
+.post-navigation .nav-previous {
+ float: left;
+ width: 50%;
+}
+
+.comment-navigation .nav-next,
+.posts-navigation .nav-next,
+.post-navigation .nav-next {
+ float: right;
+ text-align: right;
+ width: 50%;
+}
+
+/*--------------------------------------------------------------
+# Accessibility
+--------------------------------------------------------------*/
+/* Text meant only for screen readers. */
+.screen-reader-text {
+ clip: rect(1px, 1px, 1px, 1px);
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ word-wrap: normal !important;
+ /* Many screen reader and browser combinations announce broken words as they would appear visually. */
+}
+
+.screen-reader-text:focus {
+ background-color: #f1f1f1;
+ border-radius: 3px;
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+ clip: auto !important;
+ color: #21759b;
+ display: block;
+ font-size: 14px;
+ font-size: 0.875rem;
+ font-weight: bold;
+ height: auto;
+ left: 5px;
+ line-height: normal;
+ padding: 15px 23px 14px;
+ text-decoration: none;
+ top: 5px;
+ width: auto;
+ z-index: 100000;
+ /* Above WP toolbar. */
+}
+
+/* Do not show the outline on the skip link target. */
+#content[tabindex="-1"]:focus {
+ outline: 0;
+}
+
+/*--------------------------------------------------------------
+# Alignments
+--------------------------------------------------------------*/
+.alignleft {
+ display: inline;
+ float: left;
+ margin-right: 1.5em;
+}
+
+.alignright {
+ display: inline;
+ float: right;
+ margin-left: 1.5em;
+}
+
+.aligncenter {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+/*--------------------------------------------------------------
+# Clearings
+--------------------------------------------------------------*/
+.clear:before,
+.clear:after,
+.entry-content:before,
+.entry-content:after,
+.comment-content:before,
+.comment-content:after,
+.site-header:before,
+.site-header:after,
+.site-content:before,
+.site-content:after,
+.site-footer:before,
+.site-footer:after {
+ content: "";
+ display: table;
+ table-layout: fixed;
+}
+
+.clear:after,
+.entry-content:after,
+.comment-content:after,
+.site-header:after,
+.site-content:after,
+.site-footer:after {
+ clear: both;
+}
+
+/*--------------------------------------------------------------
+# Widgets
+--------------------------------------------------------------*/
+.widget-area {
+ width: 25%;
+}
+
+.widget {
+ margin: 0 0 1.5em;
+ /* Make sure select elements fit in widgets. */
+}
+
+.widget select {
+ max-width: 100%;
+}
+
+/*--------------------------------------------------------------
+# Content
+--------------------------------------------------------------*/
+#page {
+ margin: 0 auto;
+ max-width: 100%;
+}
+
+.site-branding {
+ text-align: center;
+ margin: 60px 0;
+}
+
+.site-footer {
+ margin: 1em 0;
+ opacity: 0.5;
+}
+
+/*--------------------------------------------------------------
+## Posts and pages
+--------------------------------------------------------------*/
+.sticky {
+ display: block;
+}
+
+.hentry {
+ margin: 0 0 1.5em;
+}
+
+.updated:not(.published) {
+ display: none;
+}
+
+.page-content,
+.entry-content,
+.entry-summary {
+ margin: 1.5em 0 0;
+}
+
+.page-links {
+ clear: both;
+ margin: 0 0 1.5em;
+}
+
+.entry-header,
+.entry-footer,
+.site-info,
+.post-navigation,
+.page-navigation,
+.comments-area {
+ margin: 1.5em auto;
+ max-width: 700px;
+}
+
+.entry-footer span{
+ margin-right: 1em;
+}
+
+/*--------------------------------------------------------------
+## Comments
+--------------------------------------------------------------*/
+.comment-content a {
+ word-wrap: break-word;
+}
+
+.bypostauthor {
+ display: block;
+}
+
+/*--------------------------------------------------------------
+# Infinite scroll
+--------------------------------------------------------------*/
+/* Globally hidden elements when Infinite Scroll is supported and in use. */
+.infinite-scroll .posts-navigation,
+.infinite-scroll.neverending .site-footer {
+ /* Theme Footer (when set to scrolling) */
+ display: none;
+}
+
+/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
+.infinity-end.neverending .site-footer {
+ display: block;
+}
+
+/*--------------------------------------------------------------
+# Media
+--------------------------------------------------------------*/
+.page-content .wp-smiley,
+.entry-content .wp-smiley,
+.comment-content .wp-smiley {
+ border: none;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding: 0;
+}
+
+/* Make sure embeds and iframes fit their containers. */
+embed,
+iframe,
+object {
+ max-width: 100%;
+}
+
+/* Make sure logo link wraps around logo image. */
+.custom-logo-link {
+ display: inline-block;
+}
+
+/*--------------------------------------------------------------
+## Captions
+--------------------------------------------------------------*/
+.wp-caption {
+ margin-bottom: 1.5em;
+ max-width: 100%;
+}
+
+.wp-caption img[class*="wp-image-"] {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.wp-caption .wp-caption-text {
+ margin: 0.8075em 0;
+}
+
+.wp-caption-text {
+ text-align: center;
+}
+
+/*--------------------------------------------------------------
+## Galleries
+--------------------------------------------------------------*/
+.gallery {
+ margin-bottom: 1.5em;
+}
+
+.gallery-item {
+ display: inline-block;
+ text-align: center;
+ vertical-align: top;
+ width: 100%;
+}
+
+.gallery-columns-2 .gallery-item {
+ max-width: 50%;
+}
+
+.gallery-columns-3 .gallery-item {
+ max-width: 33.3333333333%;
+}
+
+.gallery-columns-4 .gallery-item {
+ max-width: 25%;
+}
+
+.gallery-columns-5 .gallery-item {
+ max-width: 20%;
+}
+
+.gallery-columns-6 .gallery-item {
+ max-width: 16.6666666667%;
+}
+
+.gallery-columns-7 .gallery-item {
+ max-width: 14.2857142857%;
+}
+
+.gallery-columns-8 .gallery-item {
+ max-width: 12.5%;
+}
+
+.gallery-columns-9 .gallery-item {
+ max-width: 11.1111111111%;
+}
+
+.gallery-caption {
+ display: block;
+}
+
+
+/*--------------------------------------------------------------
+# WP.org Header
+--------------------------------------------------------------*/
+#wporg-header h1 {
+ margin: auto
+}
+
+#wporg-header h2.rosetta {
+ clear: none
+}
+
+@media screen and (min-width: 769px) {
+ #wporg-header ul li.current-menu-item:after, #wporg-header ul li.current_page_parent:after, #wporg-header ul li a.current ~ .uparrow {
+ border-bottom-color: #0073aa
+ }
+}
+
+#wporg-header form input {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ padding: 3px
+}
+
+#wporg-header .button {
+ -webkit-box-shadow: none;
+ box-shadow: none
+}
+
+#wporg-header .download-button {
+ background-color: #21759b;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
+ background-image: linear-gradient(180deg, #2a95c5, #21759b);
+ border-bottom-color: #1e6a8d;
+ border-color: #21759b;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5);
+ box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5)
+}
+
+#wporg-header .download-button:focus, #wporg-header .download-button:hover {
+ background-color: #278ab7;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: linear-gradient(180deg, #2e9fd2, #21759b);
+ border-color: #1b607f;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6);
+ box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6);
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, .3)
+}
+
+#wporg-header .download-button:active {
+ background: #1b607f;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7));
+ background-image: -webkit-linear-gradient(top, #21759b, #278ab7);
+ background-image: linear-gradient(180deg, #21759b, #278ab7);
+ border-color: #124560 #2382ae #2382ae;
+ -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1);
+ box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1);
+ color: hsla(0, 0%, 100%, .95);
+ text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
+ -webkit-transform: none;
+ -ms-transform: none;
+ transform: none
+}
+
+#wporg-header a:active, #wporg-header a:focus, #wporg-header a:hover {
+ text-decoration: none
+}
+
+/*--------------------------------------------------------------
+# WP.org Overrides
+--------------------------------------------------------------*/
+
+/* Make sure all headers inherit from Gutenberg styles, not .org styles */
+h1, h2, h3, h4, h5, h6 {
+ font-family: "Noto Serif", serif;
+}
+
+/* Override the `p a` styling for .org */
+.site-title a {
+ border-bottom: none;
+}
+
+.site-title a:hover {
+ border-bottom-color: #00a0d2;
+}
+
+/*--------------------------------------------------------------
+# WP.org Hanbook
+--------------------------------------------------------------*/
+
+code[class*="language-"],pre[class*="language-"]{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;background:#2b303b;color:#c0c5ce}pre[class*="language-"]::-moz-selection,pre[class*="language-"] ::-moz-selection,code[class*="language-"]::-moz-selection,code[class*="language-"] ::-moz-selection{text-shadow:none;background:#a7adba}pre[class*="language-"]::selection,pre[class*="language-"] ::selection,code[class*="language-"]::selection,code[class*="language-"] ::selection{text-shadow:none;background:#a7adba}pre[class*="language-"]{overflow:auto}:not(pre)>code[class*="language-"]{border-radius:.3em}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#65737e}.token.punctuation{color:#c0c5ce}.token.namespace{opaci
ty:.7}.token.operator,.token.boolean,.token.number{color:#d08770}.token.property{color:#ebcb8b}.token.tag{color:#8fa1b3}.token.string{color:#96b5b4}.token.selector{color:#b48ead}.token.attr-name{color:#d08770}.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#96b5b4}.token.attr-value,.token.keyword,.token.control,.token.directive,.token.unit{color:#a3be8c}.token.statement,.token.regex,.token.atrule{color:#96b5b4}.token.placeholder,.token.variable{color:#8fa1b3}.token.deleted{text-decoration:line-through}.token.inserted{border-bottom:1px dotted #eff1f5;text-decoration:none}.token.italic{font-style:italic}.token.important,.token.bold{font-weight:bold}.token.important{color:#bf616a}.token.entity{cursor:help}pre>code.highlight{outline:0.4em solid #bf616a;outline-offset:.4em}
+
+.code-tab,
+.code-tab:hover {
+ background: #fff;
+ border: none;
+ box-shadow: none;
+ text-shadow: none;
+ border: 1px solid #D0DFDA;
+ border-radius: 30px 0 0 30px;
+ padding: 8px 20px;
+}
+
+.code-tab + .code-tab {
+ border-radius: 0 30px 30px 0;
+}
+
+.code-tab:focus,
+.code-tab.is-active:focus {
+ outline: none;
+ border: 1px solid #222;
+ box-shadow: none;
+}
+
+.code-tab.is-active {
+ background: #00B975;
+ border: 1px solid #00B975;
+ box-shadow: none;
+ color: #fff;
+}
+
+.code-tab-block {
+ display: none;
+}
+
+.code-tab-block.is-active {
+ display: block;
+}
+
+/*
+ * Handbook
+ */
+
+.post-type-archive-handbook .site-content .widget-area,
+.single-handbook .site-content .widget-area {
+ float: left;
+ margin-right: 4%;
+}
+
+.single-handbook .content-area {
+ width: 71%;
+}
+
+.single-handbook #masthead {
+ display: none;
+}
+
+.handbook-header {
+ line-height: 2em;
+}
+.handbook-header h1 {
+ margin-top: 0;
+}
+
+.single-handbook .content-area h1 {
+ margin-top: 0;
+ padding-top: 0;
+}
+
+.single-handbook .o2-post {
+ border-top: none;
+}
+
+.post-type-archive-handbook .handbook-name a:not(:hover),
+.single-handbook .handbook-name a:not(:hover) {
+ color: inherit;
+}
+
+.handbook-name-container {
+ position: absolute;
+ right: 0;
+ width: 75%;
+ margin-left: 25%;
+}
+
+.single-handbook .handbook-name-container + #primary {
+ padding-top: 5rem;
+}
+
+/*
+ * Callout boxes
+ */
+
+.post .callout {
+ padding-bottom: 0;
+}
+
+@media(max-width: 876px) {
+ .handbook-name-container {
+ width: 100%;
+ margin-left: 0;
+ }
+}
+
+.handbook-name {
+ text-align: center;
+ color: #aaa;
+ margin-top: 1em;
+ overflow: hidden;
+ letter-spacing: 2px;
+ font-size: 1.5em;
+ text-transform: uppercase;
+ border-bottom: 0;
+}
+.handbook-name span {
+ display: inline-block;
+ position: relative;
+}
+.handbook-name span:before,
+.handbook-name span:after {
+ content: "";
+ position: absolute;
+ border-top: 1px solid #ccc;
+ top: 49%;
+ width: 100px;
+}
+.handbook-name span:before {
+ left: 0;
+ margin-left: -110px;
+}
+.handbook-name span:after {
+ right: 0;
+ margin-right: -110px;
+}
+
+@media (max-width: 640px) {
+ .handbook-name span:before,
+ .handbook-name span:after {
+ width: 50px;
+ }
+
+ .handbook-name span:before {
+ margin-left: -55px;
+ }
+
+ .handbook-name span:after {
+ margin-right: -55px;
+ }
+}
+
+@media (max-width: 480px) {
+ .handbook-name span:before,
+ .handbook-name span:after {
+ width: 0;
+ }
+}
+
+nav.handbook-navigation {
+ font-size: 14px;
+ margin: 2em 0;
+ overflow: auto;
+}
+nav.handbook-navigation .nav-links a {
+ width: 49%;
+ border: 0;
+ display: inline-block;
+}
+nav-handbook-navigation .nav-links a[rel="prev"] {
+ text-align: left;
+}
+nav.handbook-navigation .nav-links a[rel="next"] {
+ text-align: right;
+ float: right;
+}
+
+.wordcamp-handbook .o2-post {
+ border-top: 0;
+}
+
+.wordcamp-handbook .entry-content {
+ padding-top: 0;
+}
+
+.wordcamp-handbook nav.o2-post-actions button,
+.wordcamp-handbook nav.o2-post-actions ul {
+ top: 12px;
+}
+
+/** Table of Contents */
+.post-type-archive-handbook div.table-of-contents,
+.single-handbook div.table-of-contents {
+ float: right;
+ width: 250px;
+ background: #f7f7f7;
+ border: 1px solid #eee;
+ margin: 0 0 15px 15px;
+ z-index: 1;
+ position: relative;
+ color: #555d66;
+}
+
+.single-handbook div.table-of-contents {
+ background-color: #fff;
+ box-shadow: 0 0 8px rgba(0,0,0,0.1);
+ border-radius: 3px;
+}
+
+@media (min-width: 971px) {
+ .post-type-archive-handbook div.table-of-contents,
+ .single-handbook div.table-of-contents {
+ margin: -15px -30px 15px 15px;
+ }
+}
+
+.post-type-archive-handbook div.table-of-contents h2,
+.single-handbook div.table-of-contents h2,
+.post-type-archive-handbook div.table-of-contents h3,
+.single-handbook div.table-of-contents h3 {
+ margin: 0;
+ padding: 7px 12px;
+ font-size: 1.3em;
+ color: #32373c;
+ text-transform: uppercase;
+ border-bottom: 1px solid #eee;
+}
+
+.post-type-archive-handbook ul.items,
+.single-handbook ul.items {
+ margin: 0;
+ list-style-type: none;
+ padding: 1rem;
+}
+
+.post-type-archive-handbook ul.items ul,
+.single-handbook ul.items ul {
+ display: none;
+}
+
+.post-type-archive-handbook ul.items li,
+.single-handbook ul.items li {
+ padding: 4px;
+}
+
+.post-type-archive-handbook ul.items li ul li,
+.post-type-archive-handbook ul.items li ul li ul li,
+.single-handbook ul.items li ul li,
+.single-handbook ul.items li ul li ul li {
+ padding-bottom: 0;
+}
+
+.post-type-archive-handbook ul.items li a,
+.single-handbook ul.items li a {
+ text-decoration: none;
+}
+
+.post-type-archive-handbook ul.items li a:hover,
+.single-handbook ul.items li a:hover {
+ color: #0073aa;
+ text-decoration: underline;
+}
+
+/* Highlight current heading and adjust scroll position for fixed toolbar */
+.toc-heading:target {
+ position: relative;
+ padding-top: 50px;
+ margin-top: -50px;
+}
+
+/* Remove negative margin because there is no jump link before these headlines */
+.entry-content h2.toc-heading:first-of-type:target,
+.entry-content h3.toc-heading:first-of-type:target,
+h2.toc-heading + h3.toc-heading:target {
+ margin-top: 0;
+}
+
+.toc-heading:target:before {
+ content: '';
+ position: absolute;
+ left: -10px;
+ top: 50px;
+ border-left: 5px solid #0073aa;
+ height: 50%;
+ height: calc(100% - 50px);
+}
+
+.toc-jump {
+ position: relative;
+ height: 50px;
+}
+
+.toc-jump:after {
+ content: '';
+ display: table;
+ clear: both;
+}
+
+.toc-jump a {
+ z-index: 1;
+}
+
+@media (max-width: 480px) {
+ .post-type-archive-handbook div.table-of-contents,
+ .single-handbook div.table-of-contents {
+ display: none;
+ }
+}
+
+/** Menu */
+
+#secondary aside.widget_wporg_handbook_pages {
+ font-size: 16px;
+}
+
+.widget_wporg_handbook_pages h1 {
+ font-size: 1.6em;
+ font-weight: bold;
+ margin-bottom: 0.6em;
+}
+
+.menu-table-of-contents-container {
+ font-size: 0.8em;
+}
+.menu-table-of-contents-container ul {
+ margin-left: 0;
+ padding-left: 0;
+ list-style: none;
+}
+#secondary .menu-table-of-contents-container ul li {
+ border-top: 1px solid rgba(0,0,0,0.05);
+ padding: 0;
+ position: relative;
+}
+#secondary .menu-table-of-contents-container ul ul {
+ margin-left: 12px;
+ border-left: 1px solid rgba(0,0,0,0.05);
+}
+.menu-table-of-contents-container ul li .expandable {
+ display: flex;
+ flex-direction: row-reverse;
+ align-items: stretch;
+ position: relative;
+}
+.menu-table-of-contents-container ul li .dashicons {
+ position: absolute;
+ right: 0;
+ cursor: pointer;
+ padding: 8px;
+ display: inline-block;
+ width: auto;
+ height: 100%;
+ color: #0073aa;
+ background-color: #fafafa;
+ border: 0;
+ border-left: 1px solid rgba(0,0,0,0.05);
+ border-radius: 0;
+ box-shadow: none;
+ -webkit-appearance: none;
+}
+.menu-table-of-contents-container ul li .dashicons:hover,
+.menu-table-of-contents-container ul li .dashicons:focus {
+ color: #fff;
+ background-color: #0073aa;
+}
+.menu-table-of-contents-container ul li.open > div > .dashicons {
+ transform: rotate(180deg);
+ border-right: 1px solid rgba(0,0,0,0.05);
+ border-left: none;
+}
+.menu-table-of-contents-container .open .expandable .dashicons:not(:focus) {
+ color: #0073aa;
+}
+.menu-table-of-contents-container .open .expandable .dashicons:hover {
+ color: #fff;
+}
+.menu-table-of-contents-container ul a {
+ display: block;
+ width: 100%;
+ padding: 8px 40px 8px 8px;
+ text-decoration: none;
+}
+.menu-table-of-contents-container ul a:hover,
+.menu-table-of-contents-container ul a:focus {
+ color: #fff;
+ background-color: #0073aa;
+}
+.menu-table-of-contents-container ul a.active,
+.menu-table-of-contents-container .current-menu-item > a {
+ color: #555;
+ background-color: #fff;
+}
+.menu-table-of-contents-container > ul > li:last-child {
+ border-bottom: 1px solid rgba(0,0,0,0.05);
+}
+.menu-table-of-contents-container > ul > li .children > li > a {
+ padding-left: 13px;
+}
+.menu-table-of-contents-container > ul > li .children > li > ul > li > a {
+ padding-left: 8px;
+}
+
+.menu-table-of-contents-container > ul > li.open > div > a:not(:focus) {
+ color: #0073aa;
+}
+.menu-table-of-contents-container > ul > li.open > div > a:hover {
+ color: #fff;
+}
+.menu-table-of-contents-container ul.default-open {
+ display: block !important;
+}
+.menu-table-of-contents-container .current-menu-item ul,
+.menu-table-of-contents-container .current-menu-ancestor ul {
+ display: block;
+}
+.menu-table-of-contents-container .children {
+ overflow: hidden;
+ display: none;
+}
+
+/* New handbook design */
+.single-handbook #page {
+ background: linear-gradient(to right, #fafafa 40%, #fff 40%);
+ max-width: 100%;
+ padding: 0;
+}
+
+.single-handbook #content {
+ max-width: 960px;
+ margin: 0 auto;
+ display: flex;
+}
+
+.single-handbook header {
+ margin: 0;
+}
+
+.single-handbook #secondary {
+ clear: left;
+ margin: 0;
+ background: #fafafa;
+}
+
+.single-handbook #primary {
+ padding: 4rem 0 4rem 4rem;
+ background: #fff;
+ box-sizing: border-box;
+}
+
+@media(max-width: 876px) {
+ .single-handbook #primary {
+ padding: 4rem 20px;
+ }
+}
+
+.single-handbook #secondary-content {
+ padding-top: 4rem;
+}
+
+.single-handbook .widget_wporg_handbook_pages {
+ background-color: transparent;
+}
+
+.single-handbook .navigation {
+ margin: 0 0 2em;
+ padding: 0;
+ overflow: hidden;
+ border-top: 1px solid #ccc;
+}
+.single-handbook .navigation .nav-previous {
+ float: left;
+ margin: 0;
+ padding: 0;
+ width: 50%;
+}
+.single-handbook .navigation .nav-next {
+ float: right;
+ margin: 0;
+ padding: 0;
+ text-align: right;
+ width: 50%;
+}
+.single-handbook .navigation a {
+ display: block;
+ padding: 1.2em;
+}
+.single-handbook .navigation .nav-previous a {
+ border-right: 1px solid #cccccc;
+}
+.single-handbook .navigation a:hover {
+ background: #fafafa;
+}
+
+a.github-edit {
+ margin-left: .5em;
+ font-size: .5em;
+ vertical-align: top;
+ display: inline-block;
+ border: 1px solid #eeeeee;
+ border-radius: 2px;
+ background: #eeeeee;
+ padding: .5em .6em .4em;
+ color: black;
+ margin-top: 0.1em;
+}
+a.github-edit > * {
+ opacity: 0.6;
+}
+a.github-edit:hover > * {
+ opacity: 1;
+ color: black;
+}
+a.github-edit img {
+ height: .8em;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/style.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentnonephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-none.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-none.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-none.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,50 @@
</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 Gutenbergtheme
+ */
+
+?>
+
+<section class="no-results not-found">
+ <header class="page-header">
+ <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'gutenbergtheme' ); ?></h1>
+ </header><!-- .page-header -->
+
+ <div class="page-content">
+ <?php
+ if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+
+ <p><?php
+ printf(
+ wp_kses(
+ /* translators: 1: link to WP admin new post page. */
+ __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'gutenbergtheme' ),
+ array(
+ 'a' => array(
+ 'href' => array(),
+ ),
+ )
+ ),
+ esc_url( admin_url( 'post-new.php' ) )
+ );
+ ?></p>
+
+ <?php elseif ( is_search() ) : ?>
+
+ <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'gutenbergtheme' ); ?></p>
+ <?php
+ get_search_form();
+
+ else : ?>
+
+ <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'gutenbergtheme' ); ?></p>
+ <?php
+ get_search_form();
+
+ endif; ?>
+ </div><!-- .page-content -->
+</section><!-- .no-results -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-none.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentpagephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-page.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-page.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,50 @@
</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 Gutenbergtheme
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php
+ the_content();
+
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'gutenbergtheme' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+
+ <?php if ( get_edit_post_link() ) : ?>
+ <footer class="entry-footer">
+ <?php
+ edit_post_link(
+ sprintf(
+ wp_kses(
+ /* translators: %s: Name of current post. Only visible to screen readers */
+ __( 'Edit <span class="screen-reader-text">%s</span>', 'gutenbergtheme' ),
+ array(
+ 'span' => array(
+ 'class' => array(),
+ ),
+ )
+ ),
+ get_the_title()
+ ),
+ '<span class="edit-link">',
+ '</span>'
+ );
+ ?>
+ </footer><!-- .entry-footer -->
+ <?php endif; ?>
+</article><!-- #post-<?php the_ID(); ?> -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-page.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentsearchphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-search.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-search.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-search.php 2017-12-22 04:37:43 UTC (rev 6304)
</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 results in search pages
+ *
+ * @link https://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package Gutenbergtheme
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
+
+ <?php if ( 'post' === get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php gutenbergtheme_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php endif; ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div><!-- .entry-summary -->
+
+ <footer class="entry-footer">
+ <?php gutenbergtheme_entry_footer(); ?>
+ </footer><!-- .entry-footer -->
+</article><!-- #post-<?php the_ID(); ?> -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content-search.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubgutenbergtemplatepartscontentphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content.php 2017-12-22 04:37:43 UTC (rev 6304)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,54 @@
</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 Gutenbergtheme
+ */
+
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <?php
+ if ( is_singular() ) :
+ the_title( '<h1 class="entry-title">', '</h1>' );
+ else :
+ the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
+ endif;
+
+ if ( 'post' === get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php gutenbergtheme_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php
+ endif; ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php
+ the_content( sprintf(
+ wp_kses(
+ /* translators: %s: Name of current post. Only visible to screen readers */
+ __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'gutenbergtheme' ),
+ array(
+ 'span' => array(
+ 'class' => array(),
+ ),
+ )
+ ),
+ get_the_title()
+ ) );
+
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'gutenbergtheme' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+
+ <footer class="entry-footer">
+ <?php gutenbergtheme_entry_footer(); ?>
+ </footer><!-- .entry-footer -->
+</article><!-- #post-<?php the_ID(); ?> -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/template-parts/content.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span></div>
</body>
</html>