generator-wp-fluidity
Version:
A WordPress theme YeoMan generator, to kickstart WordPress theme development with yo & grunt. Utilizing Stylus w/Fluidity, JadePHP, and Coffeescript.
26 lines (24 loc) • 859 B
text/jade
:php
/**
* <%= themeName %> template for displaying Archives
*
* @package WordPress
* @subpackage <%= themeName %>
* @since <%= themeName %> 1.0
*/
article.empty
h1
- _e( 'Nothing Found', '<%= themeName %>' );
.post-content
- if ( is_home() && current_user_can( 'publish_posts' ) ) :
p
- printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '<%= themeName %>' ), admin_url( 'post-new.php' ) );
- elseif ( is_search() ) :
p
- _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', '<%= themeName %>' );
- get_search_form();
- else :
p
- _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', '<%= themeName %>' );
- get_search_form();
- endif