diff options
author | tdro <tdro@noreply.example.com> | 2022-08-18 03:55:29 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-08-18 03:55:29 -0400 |
commit | 7ef21415880c79991c4881f6cdbcc1cdbe26ce39 (patch) | |
tree | 67f30e80319b720704249994094911b8a6788cb2 /themes/default/layouts/_default | |
parent | 7f1649b1674e7f50b29d241f27ad999e5ade6c77 (diff) | |
download | canory-7ef21415880c79991c4881f6cdbcc1cdbe26ce39.tar.gz canory-7ef21415880c79991c4881f6cdbcc1cdbe26ce39.tar.bz2 canory-7ef21415880c79991c4881f6cdbcc1cdbe26ce39.zip |
themes/default/layouts/_default/summary: Set limit overlay internally
To center around the content.
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/summary.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/themes/default/layouts/_default/summary.html b/themes/default/layouts/_default/summary.html index 7a68004..2cd38ba 100644 --- a/themes/default/layouts/_default/summary.html +++ b/themes/default/layouts/_default/summary.html @@ -5,19 +5,19 @@ {{ if .Weight }}pinned{{ end }} {{- if $limit }}limit{{ end }} > - {{ if $limit }} - <micro-overlay> - <micro-expand> - <label for="expand-{{ partial "card-id.html" . }}">Click to Show</label> - </micro-expand> - </micro-overlay> - {{ end }} {{ if .ExpiryDate }}<micro-expires>{{ end }} <micro-summary {{ if .Draft }}draft{{ end }} title="{{- partial "meta-title.html" . -}}"> <micro-thumbnail> {{ partial "profile-picture.html" . }} </micro-thumbnail> <micro-content> + {{ if $limit }} + <micro-overlay> + <micro-expand> + <label for="expand-{{ partial "card-id.html" . }}">Click to Show</label> + </micro-expand> + </micro-overlay> + {{ end }} <micro-metadata> {{ partial "card-meta-header.html" . }} </micro-metadata> |