Skip to content

Commit

Permalink
Fix theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Jan 4, 2016
1 parent 9781a79 commit cd54414
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion themes/clean/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/default/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/logs/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/twentyfifteen/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<?php } ?>
<div class="entry-content">
<?php echo get_teaser($p->body, $p->url); ?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>#more">Continue reading</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>">Continue reading</a><?php endif;?>
</div>
<footer class="entry-footer">
<span class="posted-on">
Expand Down
2 changes: 1 addition & 1 deletion themes/twentysixteen/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<span class="embed-soundcloud"><iframe width="100%" height="200px" class="embed-responsive-item" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=<?php echo $p->audio;?>&amp;auto_play=false&amp;visual=true"></iframe></span>
<?php endif; ?>
<?php echo get_teaser($p->body, $p->url);?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>#more">Continue reading</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>">Continue reading</a><?php endif;?>
</div>
</div>
</div>
Expand Down

0 comments on commit cd54414

Please sign in to comment.