Theme updates

This commit is contained in:
Brandon Rozek 2023-01-03 21:01:04 -05:00
parent d6d51dca4a
commit 3805466d26
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
2 changed files with 4 additions and 4 deletions

View file

@ -131,7 +131,7 @@ The following is the high level overview of our toots, complete with microformat
</p>
<div class="e-content p-name">
{{ .content | safeHTML }}
<div class="toot-photos">
<div class="toot-photos space-evenly">
<!-- TODO -->
</div>
</div>
@ -146,7 +146,7 @@ We wrap the entire toot in an `h-entry` class. Then we begin by creating a div t
To display the images we range over the media_attachments array and grab any image URLs and their descriptions:
```html
<div class="toot-photos">
<div class="toot-photos space-evenly">
{{ range .media_attachments}}
{{ if eq .type "image" }}
<img src="{{ .preview_url }}" alt="{{ .description }}"/>
@ -212,7 +212,7 @@ We'll have to add the following contents to `theme/layouts/shortcodes/displayOnl
<div class="e-content p-name">
{{ .content | safeHTML }}
{{ if gt (len .media_attachments) 0 }}
<div class="toot-photos">
<div class="toot-photos space-evenly">
{{ range .media_attachments}}
{{ if eq .type "image" }}
<img src="{{ .preview_url }}" alt="{{ .description }}"/>

@ -1 +1 @@
Subproject commit cd5ccf78dcc3b851183feafaa7fe9244c72b0fc9
Subproject commit aa68e11c5628f83793d76fa5133c3d7b0e34c618