cloudcannon specifics

This commit is contained in:
Set Hallstrom 2019-05-19 02:34:48 +02:00
parent b20f0fc126
commit 5f73951f8a
4 changed files with 12 additions and 1 deletions

View file

@ -12,6 +12,7 @@
<div> <div>
<p>På gång:</p> <p>På gång:</p>
<a href="cloudcannon:collections/{{ tjanst.path }}" class="editor-link cms-editor-link">Redigera EVent</a>
<h2><a href="{{ event.url }}" class="nodecoration">{{ event.title }}</a></h2> <h2><a href="{{ event.url }}" class="nodecoration">{{ event.title }}</a></h2>
<p>{{ event.start_datetime | date: "%Y-%m-%d"}} {{ event.start_datetime | date: "%R"}}<br /> <p>{{ event.start_datetime | date: "%Y-%m-%d"}} {{ event.start_datetime | date: "%R"}}<br />
Typ av konst: {{ event.category }}</p> Typ av konst: {{ event.category }}</p>

9
_sass/cloudcannon.scss Normal file
View file

@ -0,0 +1,9 @@
.editor-link {
display: none;
color:red;
}
.cms-editor-active .editor-link {
display: block;
}

View file

@ -1,6 +1,7 @@
--- ---
--- ---
@import 'animation'; @import 'animation';
@import 'mycv'; @import 'stylish';
@import 'form'; @import 'form';
@import 'poster'; @import 'poster';
@import 'cloudcannon'