add date and center stuff
This commit is contained in:
parent
1013f0a5a2
commit
5b676a6f86
@ -4,10 +4,6 @@ date: 2023-05-31T09:14:56-04:00
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Welcome to Balki's Blog
|
Balki's Blog
|
||||||
-----------------------
|
============
|
||||||
|
|
||||||
|
|
||||||
I am Balakrishnan Balasubramanian (a) balki.
|
|
||||||
|
|
||||||
Nothing much here. Checkout the nav bar above for interesting stuff.
|
|
||||||
|
7
hugo/content/posts/vim-stt.md
Normal file
7
hugo/content/posts/vim-stt.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: "Vim Send To Terminal"
|
||||||
|
date: 2023-07-15T20:18:03-04:00
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
||||||
|
## Semi automate scripts with vim `:terminal`
|
@ -5,14 +5,18 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data: ;">
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data: ;">
|
||||||
<title>
|
<title>
|
||||||
{{ block "title" . }}
|
{{- block "title" . -}}
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
<!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
|
<!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
|
||||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
||||||
<link href="/assets/bootstrap.min.css" rel="stylesheet" >
|
<link href="/assets/bootstrap.min.css" rel="stylesheet" >
|
||||||
|
<style>
|
||||||
|
{{- block "styles" . -}}
|
||||||
|
{{- end -}}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script src="/assets/bootstrap.min.js" defer></script>
|
<script src="/assets/bootstrap.min.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
@ -24,9 +28,12 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="nav-item"><a class="nav-link" href="/"> Home </a></li>
|
<li class="nav-item"><a class="nav-link" href="/"> Home </a></li>
|
||||||
<li class="nav-item"><a class="nav-link" href="https://blog.balki.me"> Blog </a></li>
|
<li class="nav-item"><a class="nav-link" href="/posts"> Blog </a></li>
|
||||||
<li class="nav-item"><a class="nav-link" href="/stuff.html"> Stuff </a></li>
|
<li class="nav-item"><a class="nav-link" href="https://gitea.balki.me/balki"> Gitea </a></li>
|
||||||
<li class="nav-item"><a class="nav-link" href="https://gitea.balki.me/balki/blog"> Source </a></li>
|
<li class="nav-item"><a class="nav-link" href="https://github.com/balki"> Github </a></li>
|
||||||
|
<!-- TODO
|
||||||
|
<li class="nav-item"><a class="nav-link" href="/about"> About </a></li>
|
||||||
|
-->
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>Posts</h1>
|
<h1 class="text-center">Posts</h1>
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{ partial "postcard" . }}
|
{{ partial "postcard" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article>
|
||||||
<h1 class="display-3 text-center">{{ .Title }}</h1>
|
<h1 class="display-3 text-center">{{ .Title }}</h1>
|
||||||
|
<p class="text-center"><time datetime="{{ .Date }}">{{ .Date.Format "2006-01-02" }}</time></p>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,10 +1,16 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article>
|
||||||
|
<div class="text-center m-4">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
<p class="text-center">Under construction. Come back later! :)</p>
|
||||||
|
<div>
|
||||||
|
<h4>Recent posts</h4>
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{ partial "postcard" . }}
|
{{ partial "postcard" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
<div class="card">
|
{{ define "styles" }}
|
||||||
|
a.title-link {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
<div class="card mb-4">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<a href="{{ .RelPermalink }}" ><h2 class="card-title">{{ .Title }}</h2></a>
|
<a class="title-link link-primary" href="{{ .RelPermalink }}" ><h3 class="card-title">{{ .Title }}</h3></a>
|
||||||
|
<p> {{ .Date.Format "2006-01-02" }} </p>
|
||||||
<p class="card-text"> {{ .Summary }} </p>
|
<p class="card-text"> {{ .Summary }} </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user