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
|
@ -9,7 +9,7 @@
|
|||
{{ $postCount := len $posts }}
|
||||
{{ range last 1 $posts }}
|
||||
{{ $tags := .Site.Taxonomies.tags }}
|
||||
<div class='bloglist-teaser'>
|
||||
<div class='bloglist-teaser block-center'>
|
||||
Hello! This page contains <strong>{{ $postCount | lang.NumFmt 0 }} posts</strong>
|
||||
written in the past <strong>{{ div (sub now.Unix .Date.Unix) 31536000 }} years</strong>
|
||||
spanning
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<main>
|
||||
{{ partial "search.html" . }}
|
||||
<!-- contents -->
|
||||
<div id="feedList">
|
||||
<div id="feedList" class="block-center">
|
||||
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
||||
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
||||
{{ range .Pages }}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</p>
|
||||
<!-- Site Navigation -->
|
||||
<nav class="nav-home">
|
||||
<ul>
|
||||
<ul class="space-evenly">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
|
@ -30,7 +30,7 @@
|
|||
<!-- Social Navigation -->
|
||||
<p>You can also find me on:</p>
|
||||
<nav class="nav-home">
|
||||
<ul>
|
||||
<ul class="space-evenly">
|
||||
{{ range .Site.Menus.profile }}
|
||||
<li><a href="{{ .URL }}" rel="me" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
|
|
|
@ -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 }}"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "main"}}
|
||||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
<div class='bloglist-teaser' style="margin-top: 2rem;">
|
||||
<div class='bloglist-teaser block-center' style="margin-top: 2rem;">
|
||||
Here you'll find <strong>{{ len .Pages | lang.NumFmt 0 }} posts</strong>
|
||||
about <u>{{ .Title }}</u> </strong>.
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $postCount := len $posts }}
|
||||
{{ range last 1 $posts }}
|
||||
{{ $tags := .Site.Taxonomies.tags }}
|
||||
<div class='bloglist-teaser'>
|
||||
<div class='bloglist-teaser block-center'>
|
||||
Here you'll find <strong>{{ $postCount | lang.NumFmt 0 }} posts</strong>
|
||||
written spanning <strong>{{ len $tags }} topics</strong>.
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<main>
|
||||
{{ partial "search.html" . }}
|
||||
<!-- contents -->
|
||||
<div id="feedList">
|
||||
<div id="feedList" class="block-center">
|
||||
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
||||
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
||||
{{ range .Pages }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue