diff options
author | Zach van Rijn <me@zv.io> | 2021-07-21 16:19:29 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-21 16:19:29 -0500 |
commit | 69c17f9c1942fd0d6a5ea941636e87723b8a6fe2 (patch) | |
tree | e1d0212147048204b0eede0aa6ff79849ed479da /index.php | |
parent | 74a7109a2a5ab0d191f26c917ae69e46f0d83b32 (diff) | |
download | blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.gz blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.bz2 blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.xz blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.zip |
dos2unix on all .php files, begin paring down admin page and site branding.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 88 |
1 files changed, 44 insertions, 44 deletions
@@ -1,44 +1,44 @@ -<?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 Astra
- * @since 1.0.0
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit; // Exit if accessed directly.
-}
-
-get_header(); ?>
-<?php if ( astra_page_layout() == 'left-sidebar' ) : ?>
-
- <?php get_sidebar(); ?>
-
-<?php endif ?>
- <div id="primary" <?php astra_primary_class(); ?>>
- <?php
- astra_primary_content_top();
-
- astra_content_loop();
-
- astra_pagination();
-
- astra_primary_content_bottom();
- ?>
- </div><!-- #primary -->
-<?php
-if ( astra_page_layout() == 'right-sidebar' ) :
-
- get_sidebar();
-
-endif;
-
-get_footer();
+<?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 Astra + * @since 1.0.0 + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} + +get_header(); ?> +<?php if ( astra_page_layout() == 'left-sidebar' ) : ?> + + <?php get_sidebar(); ?> + +<?php endif ?> + <div id="primary" <?php astra_primary_class(); ?>> + <?php + astra_primary_content_top(); + + astra_content_loop(); + + astra_pagination(); + + astra_primary_content_bottom(); + ?> + </div><!-- #primary --> +<?php +if ( astra_page_layout() == 'right-sidebar' ) : + + get_sidebar(); + +endif; + +get_footer(); |