forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
57ce85ded1
commit
ebd644f357
|
@ -2,4 +2,3 @@
|
|||
title: "Archiv"
|
||||
layout: "archive"
|
||||
---
|
||||
ewdsfsdf
|
||||
|
|
|
@ -2,12 +2,6 @@ fieldset {
|
|||
display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
|
||||
}
|
||||
|
||||
#result {
|
||||
-webkit-user-select: all;
|
||||
user-select: all;
|
||||
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
background-color: var(--background-body);
|
||||
color: var(--text-link)
|
||||
|
|
|
@ -12,15 +12,15 @@
|
|||
{{- $thumb = $img.Resize "1024x" }}
|
||||
{{ end }}
|
||||
<section>
|
||||
<div id="articleinner">
|
||||
<div class="articleinner">
|
||||
{{ if (ne $img "") }}
|
||||
<div id="articlepicture" class="{{ "multiple_medium" }} margin_right_1rem">
|
||||
<div class="articlepicture {{ "multiple_medium" }} margin_right_1rem">
|
||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||
{{ if ne .type "list" }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div id="articletext" class="{{ $text }}">
|
||||
<div class="articletext {{ $text }}">
|
||||
{{ if .partial_before }}
|
||||
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
||||
{{ end }}
|
||||
|
|
|
@ -15,16 +15,16 @@
|
|||
{{ end }}
|
||||
|
||||
<section>
|
||||
<div id="articleinner">
|
||||
<div class="articleinner">
|
||||
{{ if and (ne $img "") (eq .pic true)}}
|
||||
<div id="articlepicture" class="{{ $pic }}">
|
||||
<div class="articlepicture {{ $pic }}">
|
||||
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
|
||||
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
|
||||
{{ if ne .type "list" }}</a>{{ end }}
|
||||
{{ if eq .type "article" }}{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div id="articletext" class="{{ $text }}">
|
||||
<div class="articletext {{ $text }}">
|
||||
{{ if .partial_before }}
|
||||
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user