Fix title styles

This commit is contained in:
Skywt2003 2021-08-04 18:41:25 +08:00
parent b576c17446
commit e8f1d76cb7
3 changed files with 2 additions and 9 deletions

View File

@ -29,9 +29,6 @@
article, article a { article, article a {
color: #172b4d; color: #172b4d;
} }
.post-title:before {
content:'#';
}
article{ article{
font-size: 1rem; font-size: 1rem;
font-weight: 300; font-weight: 300;

View File

@ -3,9 +3,7 @@
<div class="col mt-5" id="main" role="main"> <div class="col mt-5" id="main" role="main">
<article itemscope itemtype="http://schema.org/BlogPosting"> <article itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="font-weight-bold post-title" itemprop="name headline"> <h1 class="font-weight-bold post-title" itemprop="name headline"><?php $this->title() ?></h1>
<a itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
</h1>
<hr> <hr>
<div class="post-content" itemprop="articleBody"> <div class="post-content" itemprop="articleBody">
<?php $this->content(); ?> <?php $this->content(); ?>

View File

@ -3,9 +3,7 @@
<div class="col mt-5" id="main" role="main"> <div class="col mt-5" id="main" role="main">
<article itemscope itemtype="http://schema.org/BlogPosting"> <article itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="font-weight-bold post-title" itemprop="name headline"> <h1 class="font-weight-bold post-title" itemprop="name headline"><?php $this->title() ?></h1>
<a itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
</h1>
<div> <div>
<i class="far fa-calendar-alt"></i> <time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('Y-m-d D h:i a'); ?></time> <i class="far fa-calendar-alt"></i> <time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('Y-m-d D h:i a'); ?></time>
<?php if ($this->user->hasLogin()): ?> <?php if ($this->user->hasLogin()): ?>