Startpunkten

This commit is contained in:
2026-04-03 16:55:16 +02:00
commit 48c54530ab
26 changed files with 867 additions and 0 deletions

30
index.php Normal file
View File

@@ -0,0 +1,30 @@
<?php get_header(); ?>
<main class="container">
<aside class="side1">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 1') ) : ?> <?php endif; ?>
</aside>
<section>
<?php while ( have_posts() ) : the_post(); ?>
<article>
<header>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="postdate">
<?php echo the_date(); ?>
</div> <!-- END POSTDATE -->
</header> <!-- END INLAGG_RUBRIK -->
<div class="texten">
<?php the_excerpt(); ?>
</div> <!-- END INLAGG_TEXTEN -->
<div class="categories">
Postat under:
<?php echo the_category(', ') ?>
</div>
</article> <!-- END INLAGG -->
<?php endwhile; ?>
<div class="pageScan"><p><?php posts_nav_link(' | ',' Nyare inlägg ',' Äldre inlägg '); ?></p></div>
</section> <!-- END CONTENT -->
<aside class="side2">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 2') ) : ?> <?php endif; ?>
</aside>
</main>
<?php get_footer(); ?>