fix clicking issue

This commit is contained in:
Mylloon 2023-04-25 03:16:47 +02:00
parent e5ca51a941
commit d07ffbc60c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ a:hover {
}
/* Titles */
.timeline > ul > li > .content > h2 > a {
.timeline > ul > li > .content > h2 {
color: var(--title-color);
font-size: var(--font-size);
padding-top: 5px;

View file

@ -14,7 +14,7 @@
<div class="timeline">
<ul>
{{#posts}}
<li>
<li onclick="location.href='/blog/{{url}}';">
<span>
{{#date}}
<script>
@ -33,7 +33,7 @@
{{/date}}
</span>
<div class="content">
<h2><a href="/blog/{{url}}">{{title}}</a></h2>
<h2>{{title}}</h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}