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 */ /* Titles */
.timeline > ul > li > .content > h2 > a { .timeline > ul > li > .content > h2 {
color: var(--title-color); color: var(--title-color);
font-size: var(--font-size); font-size: var(--font-size);
padding-top: 5px; padding-top: 5px;

View file

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