setup new freifunktheme (derived from FoundatioPress). Basic typography/styles
This commit is contained in:
parent
6f104d6e75
commit
d0bfff9ff2
9
hamburg-freifunk-wp-theme/README.md
Normal file
9
hamburg-freifunk-wp-theme/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
hamburg-freifunk-wp-theme (2018)
|
||||
|
||||
FoundationPress relies to not-up-to-date dependencies, works with node.js ~6, use n to install older nodes
|
||||
|
||||
$ n 6
|
||||
|
||||
during design/development, render SCSS
|
||||
|
||||
$ npm start
|
|
@ -14,6 +14,7 @@
|
|||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel='stylesheet' id='fonts-css' href='/wp-content/themes/FoundationPress/dist/assets/fonts/HKGrotesk/stylesheet.css' type='text/css' media='all' />
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
|
@ -9,7 +9,8 @@
|
|||
if ( ! function_exists( 'foundationpress_entry_meta' ) ) :
|
||||
function foundationpress_entry_meta() {
|
||||
/* translators: %1$s: current date, %2$s: current time */
|
||||
echo '<p class="byline author">';
|
||||
echo '<time class="updated" datetime="' . get_the_time( 'c' ) . '">' . sprintf( __( 'Posted on %1$s at %2$s.', 'foundationpress' ), get_the_date(), get_the_time() ) . '</time>';
|
||||
echo '<p class="byline author">' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
|
||||
echo '' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
|
||||
}
|
||||
endif;
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue