chore: indenting

This commit is contained in:
Ben Goldsworthy 2022-04-12 22:34:33 +01:00
parent 2f3ed12adf
commit a9c17dbfc2
6 changed files with 72 additions and 75 deletions

View File

@ -8,11 +8,7 @@
?>
<footer id="site-footer" class="show">
<p>By <a href="/">Ben</a> |
<?php
if ( ! is_page( 'Hi.' ) && ! is_page( 'privacy-policy' ) && ! is_404() ) :
?>
<a href="https://github.com/Rumperuu/Omphaloskepsis/issues" target="_blank" rel="noopener noreferrer">Report an Issue</a> | <?php endif; ?><a href="/privacy-policy">Privacy Policy</a></p>
<p>By <a href="/">Ben</a> | <?php if ( ! is_page('Hi.') && ! is_page('privacy-policy') && ! is_404() ): ?><a href="https://github.com/Rumperuu/Omphaloskepsis/issues" target="_blank" rel="noopener noreferrer">Report an Issue</a> | <?php endif; ?><a href="/privacy-policy">Privacy Policy</a></p>
</footer>
<script type="text/javascript">

View File

@ -591,6 +591,7 @@ function display_companies() {
);
$include = 0;
}
// phpcs:enable
if ( ! empty( $terms ) ) {
foreach ( $terms as $term ) {

View File

@ -21,7 +21,7 @@
<a class="item" href="<?php echo esc_url( $post_link ); ?>"<?php echo ( $links_externally ) ? ' target="_blank" rel="noopener noreferrer"' : ''; ?>>
<article id="post-<?php the_ID(); ?>" class="tile col-m-6 col-4 col-w-3" style="background-image: url('<?php the_post_thumbnail_url(); ?>');">
<?php
$title_length = strlen( get_the_title() );
$title_length = strlen(get_the_title());
if ( $title_length > 70 ) {
$small = 'vsmall';
} elseif ( $title_length > 35 ) {