Additional styling work

This commit is contained in:
tsmitty11 2023-05-18 16:30:34 +02:00
parent 3d90817f39
commit fb1cae2401
3 changed files with 18 additions and 3 deletions

View file

@ -1,6 +1,8 @@
--- ---
title: "Something New is Brewing" title: "Something New is Brewing"
date: 2022-03-23 date: 2022-03-23
categories: [open-source, programming]
tags: [programming, homebrew, install tea]
draft: false draft: false
featured_image: "/Images/techcrunch-gen-art.jpg" featured_image: "/Images/techcrunch-gen-art.jpg"
--- ---

View file

@ -11,7 +11,7 @@
<div class="col-md-9 pe-xl-5 pe-lg-5 pe-md-5 pe-sm-2 pe-2"> <div class="col-md-9 pe-xl-5 pe-lg-5 pe-md-5 pe-sm-2 pe-2">
<div class="one-box"> <div class="one-box">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<p>{{ .Date.Format "2006-01-02" }}</p> <p>Published: {{ .Date.Format "02/01/2006" }}</p>
{{ .Content }} {{ .Content }}
<a href="{{ "blog" | relURL }}">Back to blog</a> <a href="{{ "blog" | relURL }}">Back to blog</a>
</div> </div>
@ -46,4 +46,8 @@
.sidebar ul li { .sidebar ul li {
padding: 0.5em 0; padding: 0.5em 0;
} }
img{
max-width: 100%;
}
</style> </style>

View file

@ -1,14 +1,14 @@
<div class="col-md-3 sidebar one-box ps-4"> <div class="col-md-3 sidebar one-box ps-4">
<h4 class="mt-4">categories</h4> <h4 class="mt-4">categories</h4>
<ul> <ul class="sidebar-list">
{{ range .Site.Taxonomies.categories }} {{ range .Site.Taxonomies.categories }}
<li><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li> <li><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
<h4 class="mt-4">tags</h4> <h4 class="mt-4">tags</h4>
<ul> <ul class="sidebar-list">
{{ range .Site.Taxonomies.tags }} {{ range .Site.Taxonomies.tags }}
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li> <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
{{ end }} {{ end }}
@ -27,3 +27,12 @@
<a class="github-button" href="https://github.com/teaxyz/cli" data-icon="octicon-star" data-show-count="true" aria-label="Star teaxyz/cli on GitHub">Star</a> <a class="github-button" href="https://github.com/teaxyz/cli" data-icon="octicon-star" data-show-count="true" aria-label="Star teaxyz/cli on GitHub">Star</a>
<script async defer src="https://buttons.github.io/buttons.js"></script> <script async defer src="https://buttons.github.io/buttons.js"></script>
</div> </div>
<style>
.sidebar-list{
line-height:12px;
}
</style>