mirror of
https://github.com/ivabus/www
synced 2024-11-22 07:45:05 +03:00
Additional styling work
This commit is contained in:
parent
3d90817f39
commit
fb1cae2401
3 changed files with 18 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: "Something New is Brewing"
|
||||
date: 2022-03-23
|
||||
categories: [open-source, programming]
|
||||
tags: [programming, homebrew, install tea]
|
||||
draft: false
|
||||
featured_image: "/Images/techcrunch-gen-art.jpg"
|
||||
---
|
||||
|
|
|
@ -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="one-box">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
<p>Published: {{ .Date.Format "02/01/2006" }}</p>
|
||||
{{ .Content }}
|
||||
<a href="{{ "blog" | relURL }}">Back to blog</a>
|
||||
</div>
|
||||
|
@ -46,4 +46,8 @@
|
|||
.sidebar ul li {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
img{
|
||||
max-width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<div class="col-md-3 sidebar one-box ps-4">
|
||||
|
||||
<h4 class="mt-4">categories</h4>
|
||||
<ul>
|
||||
<ul class="sidebar-list">
|
||||
{{ range .Site.Taxonomies.categories }}
|
||||
<li><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<h4 class="mt-4">tags</h4>
|
||||
<ul>
|
||||
<ul class="sidebar-list">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
||||
{{ 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>
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.sidebar-list{
|
||||
line-height:12px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue