forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
ea4ce52ef6
commit
18ed6b38e4
|
@ -1,6 +1,6 @@
|
|||
# keywords for seo
|
||||
keywords = "buntes haus celle, buntes haus, bunteshaus, celle, buntes haus e.V., www.bunteshaus.de, celle, punk, reggae, ska, konzerte, partys, soziokultur, soziokulturelles zentrum celle, elektro, electroe, jugendzentrum, celle, dum n bass, konzert, musik, politik, kultur, alternativ, cd kaserne celle, cd kaserne, plenum, celle, antifa, antira, anti akw, anti atom celle, veranstaltungen, infoladen, proberaum celle, archiv für neue soziale bewegungen in celle, hartz 4 IV beratung celle, skaten, graffiti, sprayen, kunst, fahrradwerkstatt, deka dance celle, dekadance, Revista, probably the friendliest Place on Earth"
|
||||
debug = false
|
||||
|
||||
#do you want a contact page?
|
||||
contact = true
|
||||
|
||||
|
|
|
@ -64,13 +64,37 @@ article #readmore {
|
|||
}
|
||||
|
||||
#article_footer {
|
||||
margin-left: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-top: 0rem;
|
||||
margin-bottom: 0rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
align-items: stretch;
|
||||
font-size: x-small;
|
||||
color: var(--text-muted);
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#article_footer_foundations1 {
|
||||
display: flex;
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
#article_footer_foundations2 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.article_footer_item1 {
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
height: 3rem;
|
||||
margin-right: 1rem;
|
||||
margin-top: .1rem;
|
||||
}
|
||||
|
||||
.article_footer_item2 {
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
|
@ -26,11 +26,8 @@
|
|||
max-width: 800px;
|
||||
}
|
||||
article {
|
||||
margin-left: 0rem;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
#article_footer {
|
||||
margin-left: .8rem;
|
||||
}
|
||||
#articlemeta {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
|
|
@ -2,10 +2,6 @@ fieldset {
|
|||
display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
|
||||
}
|
||||
|
||||
#result {
|
||||
white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem; margin-top: 1rem;
|
||||
}
|
||||
|
||||
#display {
|
||||
-webkit-user-select: all;
|
||||
user-select: all;
|
||||
|
@ -14,4 +10,5 @@ fieldset {
|
|||
|
||||
input, textarea {
|
||||
background-color: var(--background-body);
|
||||
color: var(--text-link)
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ img {
|
|||
}
|
||||
|
||||
main {
|
||||
min-height: 60vh;
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{{ else if eq .Params.tool "nottranslated" }}
|
||||
{{ $partial = "layout/nottranslated" }}
|
||||
{{ end }}
|
||||
<article>
|
||||
<section>
|
||||
{{ partial $partial (dict "context" . "pic" $pic "content" .Content "partial_before" $partial_before "type" "article") }}
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<div id="article_footer">
|
||||
{{ with .Params.foundations }}
|
||||
<b>Träger der Veranstaltung:</b>
|
||||
<div style="display: flex; flex-direction: row; height: 2rem; margin-bottom: 1rem; margin-top: .5rem;">
|
||||
<div id="article_footer_foundations1">
|
||||
{{ range . }}
|
||||
{{ $l := . }}
|
||||
{{ $url := "" }}
|
||||
|
@ -58,20 +58,20 @@
|
|||
|
||||
{{- $res_im := resources.GetMatch (printf "/foundations/%s*" $l ) -}}
|
||||
{{ if $res_im }}
|
||||
<div style="display: flex; flex-grow: 0;">
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}" style="display: flex; flex-grow: 0;">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px" /> {{ if $url }}</a>{{ end }}
|
||||
<div class="article_footer_item1">
|
||||
{{ if $url }}<a href="{{ $url | safeHTML }}">{{ end }}<img src="{{- $res_im.Permalink -}}" class="borderrad4px article_footer_item1" /> {{ if $url }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div style="display: flex; flex-direction: row; flex-grow: 1; align-items: stretch;">
|
||||
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
||||
<div id="article_footer_foundations2">
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b>
|
||||
{{ .Date | time.Format ":date_full" }}
|
||||
</div>
|
||||
{{ if ne .Date .Lastmod }}
|
||||
<div style="display: flex; flex-grow: 1; flex-direction: column;">
|
||||
<div class="article_footer_item2">
|
||||
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b>
|
||||
{{ .Lastmod | time.Format ":date_full" }}
|
||||
</div>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<label><input type="checkbox" name="{{ .title }}" id="{{ .title }}" value="{{ .name }}" {{ .Scratch.Get "requiredtext" }}>{{- $name -}}{{- if .required -}}{{- " *" -}}{{- end -}}</label>
|
||||
</div>
|
||||
{{ else if eq .input_type "results" }}
|
||||
<div id='resut'><div id='display'></div></div>
|
||||
<div id='display' style="white-space: pre; display: none; background: var(--background-body); padding: 1rem 0 1rem 1rem; margin-top: 1rem;"></div>
|
||||
{{ else if eq .input_type "submit" }}
|
||||
<div class="margin_top_1rem {{ if .group }}visibleIf margin_left_1rem" data-visibleif-rule="{{ .group }}group == 'true'{{ end }}">
|
||||
<input type="{{ .input_type }}" value="{{- $name -}}" onclick="showInput(event);" />
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ if i18n "contact" }}
|
||||
{{ $contact = i18n "contact" }}
|
||||
{{ end }}
|
||||
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
|
||||
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br>
|
||||
{{- partial "structure/contact" -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user