<?php get_header(); ?>

  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div id="single" class="content-wrapper">
      <div class="beam">
        <div class="container clearfix">
          <div class="row">
            <?php if(!in_category('Startseite')) { ?>
              <div class="col-lg-1">
                <span class="tag tag-pill"><?php the_time("M"); ?><br><?php the_time("y"); ?></span>
              </div>
            <?php } ?>
            <div class="<?php echo (in_category('Startseite') ? "col-lg-12" : "col-lg-11")?>">
              <h1><?php the_title(); ?></h1>
            </div>
          </div>
        </div>
      </div>
      <div class="container text-muted">
        <div class="row">
          <div class="<?php echo (in_category('Startseite') ? "col-lg-12" : "col-lg-11 offset-lg-1")?>">
            <?php the_content(); ?>
          </div>
        </div>
      </div>
    </div>

  <?php endwhile; endif; ?>

<?php get_footer(); ?>