Little bit of cleanup and stuff
This commit is contained in:
parent
1d5c9d84c8
commit
b836565901
|
@ -6,20 +6,16 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="posts">
|
<table class="posts">
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Tags</th>
|
<th>Tags</th>
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
|
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
|
||||||
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a> {{ end }}</td>
|
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a> {{ end }}</td>
|
||||||
<td><p>{{ .Params.description }}</p></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
<details open="">
|
<details open="">
|
||||||
<summary>Image</summary>
|
<summary>Image</summary>
|
||||||
<figure class="postImage">
|
<figure class="postImage">
|
||||||
|
<a href="{{ .Params.image }}">
|
||||||
<img src="{{ .Params.image }}" alt="{{ .Params.imageDescription }}">
|
<img src="{{ .Params.image }}" alt="{{ .Params.imageDescription }}">
|
||||||
|
</a>
|
||||||
<figcaption>{{ .Params.imageDescription }}</figcaption>
|
<figcaption>{{ .Params.imageDescription }}</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -7,20 +7,16 @@
|
||||||
{{ .Content -}}
|
{{ .Content -}}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="posts">
|
<table class="posts">
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Tags</th>
|
<th>Tags</th>
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
|
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
|
||||||
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a> {{ end }}</td>
|
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a> {{ end }}</td>
|
||||||
<td><p>{{ .Params.description }}</p></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -28,6 +28,13 @@ a:hover{
|
||||||
background-color: #E60073;
|
background-color: #E60073;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postImage a::before{ content: none; }
|
||||||
|
.postImage a::after{ content: none; }
|
||||||
|
|
||||||
|
code{
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
img{
|
img{
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
@ -63,6 +70,11 @@ footer pre{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.posts{ width: 100%; }
|
||||||
|
.post-content{
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
|
||||||
@media(min-width: 81ch){
|
@media(min-width: 81ch){
|
||||||
header{
|
header{
|
||||||
display:flex;
|
display:flex;
|
||||||
|
|
Loading…
Reference in a new issue