This commit is contained in:
koenemann 2017-02-09 15:55:27 +01:00
parent 065026291b
commit 17f33d77ab
2 changed files with 6 additions and 6 deletions

View File

@ -224,7 +224,7 @@ gulp.task('copy-assets', ['clean-source'], function() {
// gulp dist // gulp dist
// Copies the files to the /dist folder for distributon // Copies the files to the /dist folder for distributon
gulp.task('dist', ['clean-dist'], function() { gulp.task('dist', ['clean-dist'], function() {
gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**','!sass','!sass/**','!readme.txt','!readme.md','!package.json','!gulpfile.js','!CHANGELOG.md','!.travis.yml','!jshintignore', '!codesniffer.ruleset.xml', '*']) gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**','!dist-product','!dist-product/**','!sass','!sass/**','!readme.txt','!readme.md','!package.json','!gulpfile.js','!CHANGELOG.md','!.travis.yml','!jshintignore', '!codesniffer.ruleset.xml', '*'])
.pipe(gulp.dest('dist/')) .pipe(gulp.dest('dist/'))
}); });
@ -237,7 +237,7 @@ gulp.task('clean-dist', function () {
// gulp dist-product // gulp dist-product
// Copies the files to the /dist folder for distributon // Copies the files to the /dist folder for distributon
gulp.task('dist-product', ['clean-dist-product'], function() { gulp.task('dist-product', ['clean-dist-product'], function() {
gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**', '*']) gulp.src(['**/*','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!dist/**','!dist-product','!dist-product/**', '*'])
.pipe(gulp.dest('dist-product/')) .pipe(gulp.dest('dist-product/'))
}); });

View File

@ -13,7 +13,7 @@
<header class="page-header"> <header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', '_s' ); ?></h1> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'understrap' ); ?></h1>
</header><!-- .page-header --> </header><!-- .page-header -->
@ -22,16 +22,16 @@
<?php <?php
if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> <p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'understrap' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<?php elseif ( is_search() ) : ?> <?php elseif ( is_search() ) : ?>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', '_s' ); ?></p> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'understrap' ); ?></p>
<?php <?php
get_search_form(); get_search_form();
else : ?> else : ?>
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', '_s' ); ?></p> <p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'understrap' ); ?></p>
<?php <?php
get_search_form(); get_search_form();
endif; ?> endif; ?>