mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Cleaning up some styles
This commit is contained in:
parent
cd5ccf78dc
commit
aa68e11c56
12 changed files with 74 additions and 102 deletions
|
@ -4,7 +4,7 @@
|
|||
Powered by <a href="https://gohugo.io/">Hugo</a>
|
||||
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
||||
</p>
|
||||
<div class="footer-navs">
|
||||
<div class="footer-navs block-center">
|
||||
<nav>
|
||||
<p>Content Pages</p>
|
||||
<ul id="footer-nav-sections">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<header class="header-top">
|
||||
<div class="header-flex">
|
||||
<div class="header-flex block-center">
|
||||
|
||||
{{ $headerTitle := .Scratch.Get "customTitleHeader" }}
|
||||
{{ $headerLink := .Scratch.Get "customTitleHeaderLink" }}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
{{ if gt (len .photos) 0 }}
|
||||
<div class="toot-photos">
|
||||
<div class="toot-photos space-evenly">
|
||||
{{ range .photos}}
|
||||
{{ $small_url := replace .url "square" "small"}}
|
||||
{{ $original_url := replace .url "square" "original"}}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<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 }}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue