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 {
color: #172b4d;
}
.post-title:before {
content:'#';
}
article{
font-size: 1rem;
font-weight: 300;

View File

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

View File

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