Update tags and cleanup css and pages

This commit is contained in:
Raghavendra Kamath 2021-04-24 12:22:18 +05:30
parent a7845a7d34
commit 2e3b6e5048
Signed by: raghukamath
GPG Key ID: E48B3E545FEFD8BD
27 changed files with 96 additions and 97 deletions

View File

@ -3,4 +3,3 @@ title: about
type: page
layout: static
---

View File

@ -1,7 +1,7 @@
+++
title = "Brush Pack for Krita"
date = "2016-03-10T22:17:00+05:30"
tags = ["open source", "brush-packs", "resources", "krita"]
tags = ["Creative Commons", "brush-packs", "resources", "krita"]
thumb = "/img/brushpack-thumb.jpg"
description = "Some of my brushes that I use while painting with Krita. free to download, use and modify."
keywords = "Krita, brush bundle, brush pack, krita, linux, krita 3.0"

View File

@ -2,7 +2,7 @@
title = "Is working with CMYK worth it?"
date = 2019-11-15T21:00:44+05:30
thumb = "/img/CMYK-thumb-600.jpg"
tags = ["process", "open source"]
tags = ["process", "Free Software"]
keywords = ["Free Software", "designing", "krita", "Scribus", "Inkscape", "CMYK"]
description = "My opinion and workflow about working in CMYK from start to finish using Free and open source creative tools "
draft = false

View File

@ -2,7 +2,7 @@
title = "Static is good"
date = "2015-12-28T15:02:00+05:30"
tags = ["open source"]
tags = ["Meta"]
thumb = "/img/static-thumb.jpg"
description = "As a weekend project I switched from wordpress driven website to static website"
keywords = ["jekyll", "pelican", "ruby", "python", "jinja", "static site generators", "pelican illustrator portfolio"]

View File

@ -2,10 +2,10 @@
title = "Switch To freedom"
date = "2015-11-30T19:41:00+05:30"
tags = ["open source"]
tags = ["Free Software"]
thumb = "/img/switchto-freedom-thumb.jpg"
description = "My experience of switching from proprietary software to a free and open source workflow."
keywords = ["open source", "Krita", "GIMP", "India", "floss painting", "digital painting with Krita", "Inkscape", "Imagemegick artists"]
keywords = ["Free Software", "Krita", "GIMP", "India", "floss painting", "digital painting with Krita", "Inkscape", "Imagemegick artists"]
slug = "switch-to-freedom"
+++

View File

@ -2,7 +2,7 @@
title = "Designing Posters With Free Software"
date = 2019-02-25T14:54:44+05:30
thumb = "/img/fsf-poster-thumb.jpg"
tags = ["cc-by", "tutorials", "process", "open source"]
tags = ["Creative Commons", "tutorials", "process", "Free Software"]
keywords = ["Free Software", "designing", "krita", "Scribus", "Inkscape", "Poster", "Free Software India"]
description = "A brief account of my process of designing poster for a local Free Software Foundation Event"
draft = false

View File

@ -2,7 +2,7 @@
title = "Digital art with foss episode 1"
date = "2018-04-22T15:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials" ]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials" ]
thumb = "/img/videos-thumbs/daef-thumb-01.jpg"
description = "This is the first episode in the series on digital art with free and open source software. This episode covers the basics of painting in krita."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita" ]

View File

@ -2,7 +2,7 @@
title = "Digital art with foss episode 2"
date = "2018-04-22T21:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials"]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials"]
thumb = "/img/videos-thumbs/daef-thumb-01.jpg"
description = "This episode talks about customising and making your workspace in krita. We also explore the dockers in Krita."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita"]

View File

@ -1,7 +1,7 @@
+++
title = "Digital art with foss episode 3"
date = "2018-04-29T21:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials" ]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials" ]
thumb = "/img/videos-thumbs/daef-thumb-01.jpg"
description = "In this episode we will learn how to navigate around the canvas in Krita using shortcuts and gui tools"
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita"]

View File

@ -1,7 +1,7 @@
+++
title = "Digital art with foss episode 4"
date = "2018-04-29T22:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials"]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials"]
thumb = "/img/videos-thumbs/daef-thumb-01.jpg"
description = "In this video we learn about digital brushes and how brushes work in Krita."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita"]

View File

@ -2,7 +2,7 @@
title = "Digital art with foss episode 5"
date = "2019-03-02T20:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials" ]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials" ]
thumb = "/img/videos-thumbs/daef-thumb-01.jpg"
description = "This is the fifth episode in the series on digital art with free and open source software. This episode covers concept of Layers in Digital painting."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita" ]

View File

@ -1,7 +1,7 @@
+++
title = "Seamless Handmade Textures"
date = "2019-11-30T12:17:00+05:30"
tags = ["open source", "textures", "resources", "CC-BY-SA"]
tags = ["Free Software", "textures", "resources", "Creative Commons"]
thumb = "/journal/handmade-texture/handmade-texture-thumb-600.jpg"
description = "Sharing some of the handmade texture that I created with Krita while working on various projects"
keywords = "Krita, handmade texture, texture pack, krita, linux, cc-by, free"

View File

@ -1,7 +1,7 @@
+++
title = "How To Add Clipping Masks In Krita?"
date = "2020-06-08T18:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials", "Quick Tips" ]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials", "Quick Tips" ]
thumb = "/img/videos-thumbs/qt001-thumb-01.jpg"
description = "This is the first episode in the quick tip series. Let us check how to add clipping masks in Krita."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "interface basics", "UI", "krita" ]

View File

@ -1,7 +1,7 @@
+++
title = "How to auto colorize line art in Krita?"
date = "2020-08-28T18:48:00+05:30"
tags = ["Krita", "CC-BY", "open source", "tutorials", "Quick Tips"]
tags = ["Krita", "Creative Commons", "Free Software", "tutorials", "Quick Tips"]
thumb = "/img/videos-thumbs/qt002-thumb-01.jpg"
description = "Second episode in the quick tip series. Let us check how to auto colorize line art in Krita."
keywords = ["krita", "Basics", "Tutorial", "digital art with foss", "color", "line art", "krita" ]

View File

@ -2,7 +2,7 @@
title = "How to translate Krita to your own language?"
date = 2021-04-04T12:00:44+05:30
thumb = "/journal/how-to-translate-krita/translate-hero.jpg"
tags = ["translation", "open source"]
tags = ["translation", "Free Software", "KDE", "Krita"]
keywords = ["Free Software", "tools", "hardware", "krita"]
description = "A step by step guide for translating Krita's UI into your native language"
+++
@ -11,7 +11,7 @@ While painting in Krita one day, out of curiosity I switched the application lan
Some parts of the UI were translated but most of it was untranslated. I thought about fixing this problem and started to research about how to get started in translating.
![Krita translated UI](screenshot.png)
![Krita translated UI](/journal/how-to-translate-krita/screenshot.png)
While there are many workflows for translating I found Lokalize to be the easiest one of them.
I started using [Lokalize](https://apps.kde.org/en/lokalize) & [svn](https://en.wikipedia.org/wiki/Apache_Subversion) to work on Hindi translations for KDE.
@ -66,7 +66,7 @@ translations (parent folder)
|----> templates (sub folder)
```
![Screenshot of folder structure](screenshot-02.png)
![Screenshot of folder structure](/journal/how-to-translate-krita/screenshot-02.png)
## 4. Set up Lokalize
@ -75,7 +75,7 @@ translations (parent folder)
as Hindi (hi). Default mailing list - kde-l10n-hi at kde.org. Default language
team - Kde-hindi and lastly add your name in hindi for lokalized name.
![Screenshot of settings](screenshot-03.png)
![Screenshot of settings](/journal/how-to-translate-krita/screenshot-03.png)
## 5. Set up our project.
@ -95,18 +95,18 @@ Mailing list: kde-l10n-hi at kde.org
Root folder : path of the hi folder that we cloned
Glossary: path_of_the_hi_folder/terms.tbx
![Screenshot of settings](screenshot-04.png)
![Screenshot of settings](/journal/how-to-translate-krita/screenshot-04.png)
**Advanced** (Paths subsection)
Template files folder: path to the templates folder we cloned earlier
Branch Folder: path to the hi folder
![Screenshot of settings](screenshot-05.png)
![Screenshot of settings](/journal/how-to-translate-krita/screenshot-05.png)
## 6. Get started
Now that we have set up Lokalize, familiarize yourself to its UI by reading the [Lokalize handbook](https://docs.kde.org/stable5/en/lokalize/lokalize/index.html). If you are working on Hindi translations read the Hindi translation style guide given [here](https://raghukamath.com/downloads/fuel-translation-style-and-convention-guide-hi.pdf). This style guide for Hindi was created by Rajesh Ranjan of the [Fuel Project](https://fuelproject.org/) and is licensed under [CC-BY-SA 3.0](http://creativecommons.org/licenses/by-sa/3.0/). You may request your translation team for the style guide for your language. And start working 😃 👍🏽
![Screenshot of settings](screenshot-06.png)
![Screenshot of settings](/journal/how-to-translate-krita/screenshot-06.png)
If you are translating not just Krita but also other KDE application then choose a small project first to get the understanding of the language and then add in your translations. For translating Krita generally the translation team [recommends](https://marc.info/?l=kde-i18n-doc&m=161213638918799&w=2) starting with the libraries that Krita uses. Because translating only the Krita.po file is not enough and some part of the Krita UI generated from the libraries. The libraries are:
- KConfig

View File

@ -2,10 +2,10 @@
title = "Twilight orchestra in Inkscape"
date = "2017-02-26T12:48:00+05:30"
tags = ["process", "CC-BY-SA", "open source", "tutorials"]
tags = ["process", "Creative Commons", "Free Software", "tutorials"]
thumb = "/img/owl-thumb.jpg"
description = "A brief look into my process of creating a vector illustration in Inkscape. A music loving owl directing an orchestra in twilight of the moon."
keywords = ["Owl", "Inkscape Illustration", "How to", "vector", "open source", "Twilight Illustration", "Music", "Orchestra", "Music director", "Inkscape"]
keywords = ["Owl", "Inkscape Illustration", "How to", "vector", "Free Software", "Twilight Illustration", "Music", "Orchestra", "Music director", "Inkscape"]
slug = "twilight-orchestra-in-inkscape"
+++

View File

@ -2,7 +2,7 @@
title = "Brush pack for Krita V2.0"
date = "2016-11-12T00:30:00+05:30"
tags = ["open source", "brush-packs", "resources", "krita"]
tags = ["Free Software", "brush-packs", "resources", "krita", "Creative Commons"]
thumb = "/img/brushpackv2-thumb.jpg"
description = "Some of my brushes that I use while painting with Krita. free to download, use and modify."
keywords = ["Krita", "brush bundle", "brush pack", "krita", "Linux", "krita 3"]

View File

@ -1,7 +1,7 @@
+++
title = "Krita Sprint 2018"
date = "2018-05-23T12:48:00+05:30"
tags = ["open source", "sprint"]
tags = ["Free Software", "sprint"]
thumb = "/img/krita-sprint-18-thumb.jpg"
description = "I took part in the 2018 Krita sprint, it was an awesome experience meeting everyone I know from the #krita IRC."
keywords = ["Krita sprint 2018", "Krita", "Sprint", "FOSS", "ditital art software", "manual", "krita", "develeopment", "free software"]

View File

@ -1,7 +1,7 @@
+++
title = "KritaCon 2019"
date = "2019-08-13T15:00:00+05:30"
tags = ["open source", "sprint"]
tags = ["Free Software", "sprint"]
thumb = "/img/krita-sprint-19-thumb.jpg"
description = "Once again I took part in the Krita sprint (convention). It was fun to meet and talk about Krita with contributors from all over the world"
keywords = ["Krita sprint 2019", "Krita", "Sprint", "FOSS", "digital art software", "manual", "krita", "development", "free software"]

View File

@ -2,7 +2,7 @@
title = "My Tools Of Trade"
date = 2020-07-16T18:00:44+05:30
thumb = "/img/tot-thumb-600.jpg"
tags = ["process", "open source"]
tags = ["process", "Free Software"]
keywords = ["Free Software", "tools", "hardware", "krita", "Scribus", "Inkscape", "GIMP"]
description = "The variety of tools that I use for my work and day to day tasks"
draft = false
@ -13,7 +13,7 @@ I have [written]( {{<relref "/journal/Switch-to-Freedom" >}} ) earlier about how
## On My Desk 👨🏽‍💻
![My Desk](EUDXl3DUwAATK54.jpg)
![My Desk](/journal/my-tools-of-trade/EUDXl3DUwAATK54.jpg)
- [Wacom Intuos Pro Medium](https://www.wacom.com/en-us/products/pen-tablets/wacom-intuos-pro)
- Self Assembled computer with:
@ -33,7 +33,7 @@ I have [written]( {{<relref "/journal/Switch-to-Freedom" >}} ) earlier about how
## Software (Both Desktop & Laptop)
![My desktop](screenshot.png)
![My desktop](/journal/my-tools-of-trade/screenshot.png)
- [Fedora Linux](https://getfedora.org/) - A GNU/linux based operating system.
- [KDE Plasma 5](https://kde.org/plasma-desktop) - Simple yet powerful desktop environment with feature rich apps such as Konsole Kate etc.

View File

@ -1,7 +1,7 @@
+++
title = "Swatantra 2017"
date = "2017-12-23T12:48:00+05:30"
tags = ["open source"]
tags = ["Free Software"]
thumb = "/img/swatantra-17-thumb.jpg"
description = "My experience of being a part of an awesome free software conference by icfoss."
keywords = "Swatantra 2017, icfoss, raghukamath, kerala, trivandrum, open source, freedom, foss, free software, swatantra"

View File

@ -1,31 +1,23 @@
@charset "utf-8";
/* variables */
:root {
--base-root: 1.5rem;
--base-relative: 1.5em;
--font-size-copy: 1.15rem;
--font-size-small: calc(var(--base-relative)/2);
--font-size-h1: 1.65em;
--font-size-h2: 1.45em;
--font-size-h3: var(--font-size-copy);
/* colors */
--gray: #595959;
--black: #000;
--white: #FFF;
--link-color: var(--light-gray);
--link-color: var(--gray);
--primary-color: var(--gray);
--secondary-gray: #DDD;
--light-gray: #EEE;
--background-gray: #fafafa;
/* screens */
--screen-laptop: 1200px;
/* fonts */
--system-fonts: -apple-system, BlinkMacSystemFont,"Segoe UI", "Roboto", Oxygen-Sans, Ubuntu, Cantarell,"Helvetica Neue", "Open Sans", "Noto Sans", "Droid Sans", sans-serif;
}
@ -46,7 +38,6 @@ html {
}
/* remove scroll for accessibility*/
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
@ -119,12 +110,11 @@ body {
line-height: 1.65;
color: var(--gray);
fill: var(--gray);
max-width: var(--screen-laptop);
max-width: 1200px;
margin: 0 auto;
}
/* typography */
h1,
h2,
h3,
@ -147,7 +137,7 @@ h2 {
h3 {
font-size: var(--font-size-h3);
}
/* purgecss start ignore */
table {
border-spacing: 0;
border-collapse: collapse;
@ -156,7 +146,7 @@ table {
}
table tr {
background-color: var(--white);
background-color: white;
border-top: 1px solid var(--secondary-gray);
}
@ -168,14 +158,12 @@ table td, table th {
table tr:nth-child(2n), table th {
background-color: var(--light-gray);
}
/* purgecss end ignore */
a {
text-decoration: none;
color: var(--gray);
text-decoration: underline;
text-decoration-color: var(--link-color);
text-decoration-thickness: .135em;
transition: background-color 0.2s ease-out, color 0.2s ease-out, box-shadow 0.1s ease-out, fill 0.2s ease-out;
transition: background-color 0.2s ease-out, color 0.2s ease-out, fill 0.2s ease-out;
}
a:hover {
@ -199,7 +187,6 @@ h6 a {
}
/* page content */
.site-header {
font-weight: 700;
letter-spacing: 1px;
@ -248,7 +235,7 @@ h6 a {
padding: 0;
margin: 0;
line-height: 0;
background-color: var(--white);
background-color: white;
border: none;
color: var(--gray);
}
@ -285,6 +272,10 @@ h6 a {
margin: var(--base-root) 0;
}
.nav-link:hover {
text-decoration: underline;
}
.menu-item:last-child a {
margin-right: 0;
}
@ -351,11 +342,11 @@ h6 a {
.post h2 {
margin-top: calc(var(--base-relative)/2);
margin-bottom: calc(var(--base-relative)/4);
margin-bottom: 0;
}
.list .summary {
margin: 0;
margin: calc(var(--base-relative)/2) 0;
}
.dp img,
@ -364,11 +355,8 @@ h6 a {
}
.related {
margin-bottom: calc(var(--base-root)*1.75);
}
.comments {
border-top: 2px dashed var(--secondary-gray);
padding-bottom: calc(var(--base-root)*1.75);
border-bottom: 2px dashed var(--secondary-gray);
}
@ -385,7 +373,6 @@ article {
margin: 0 auto;
}
.single-page {
margin-top: calc(var(--base-relative)*2.5);
}
@ -420,15 +407,12 @@ img {
font-size: calc(var(--base-relative)/2);
}
.prev:hover .arrow,
.next:hover .arrow,
.link:hover .arrow {
animation: .35s ease-out infinite alternate slidein;
}
/* grids */
.grid-of-three,
.grid-of-two {
@ -461,7 +445,6 @@ img {
display: inline-block;
}
.dp {
text-align: center;
}
@ -492,7 +475,7 @@ img {
}
.post-meta {
display: flex;
display: inline;
font-size: var(--font-size-small);
text-transform: capitalize;
flex-wrap: wrap;
@ -530,15 +513,8 @@ img {
.tag-link {
padding: calc(var(--base-root)/8) calc(var(--base-root)/4);
background-color: var(--light-gray);
border-radius: calc(var(--base-root)/6);
margin-right: calc(var(--base-root)/3);
margin-bottom: calc(var(--base-root)/3);
}
.tag-link:hover {
background-color: var(--secondary-gray);
}
.post-text img {
@ -546,7 +522,6 @@ img {
margin: 0 auto;
}
.post-text .thumb {
border-bottom: unset;
padding-bottom: 0;
@ -580,16 +555,10 @@ img {
height: auto;
}
.time {
margin-right: calc(var(--base-root)/3);
margin-bottom: calc(var(--base-root)/3);
}
.commento-root .commento-submit-button {
background: var(--gray);
}
/* syntax highlight */
/* Background */ .chroma { background-color: #f0f0f0; padding: var(--base-relative); font-family: monospace; overflow-x:auto; }
/* Other */ .chroma .x { }

View File

@ -0,0 +1,40 @@
{{- $pctx := . -}}
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := slice -}}
{{- if or $.IsHome $.IsSection -}}
{{- $pages = $pctx.RegularPages -}}
{{- else -}}
{{- $pages = $pctx.Pages -}}
{{- end -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
{{ range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
{{ end }}
</channel>
</rss>

View File

@ -11,8 +11,6 @@
</article>
{{- partial "next-prev-in-section.html" . -}}
{{- partial "related-content.html" . -}}
{{ if eq .Section "journal" }}
{{- partial "comment.html" . -}}
{{ end }}
{{- partial "comment.html" . -}}
</main>
{{ end }}

View File

@ -20,21 +20,15 @@
<p> My recent hobby is to learn some programing languages such as C++, Python and Javascript.</p>
<p> Drop me a line at <a class="link" href="mailto:raghu@raghukamath.com?Subject=enquiry">raghu at raghukamath dot com</a>. If you want to send me an encrypted email you can use my <a class="link" href="{{ .Site.BaseURL }}/downloads/public-key-raghu@raghukamath.com.txt">public key</a>.
I am mostly available online on <a href="https://kiwiirc.com/client">IRC</a> at freenode as <b>raghukamath</b> or on
<a href="https://riot.im">Matrix</a> as <b>@raghu:emblik.studio</b>. You can also follow me on
<a href="https://matrix.to/#/@raghu:emblik.studio">Matrix</a> as <b>@raghu:emblik.studio</b>. You can also follow me on
<a href="http://mastodon.art/@raghukamath">Mastodon</a> or check my doodles and processes on my
<a href= "{{.Site.BaseURL }}journal">journal</a>.
</p>
<h2>Clients:</h2><p>Free Software Foundation, Pidilite Industries, Ruchi
<h3>Clients:</h3><p>Free Software Foundation, Pidilite Industries, Ruchi
Soya Industries, Axis Bank, Viacom18, Cadbury, Hindustan Unilever, Amar Chitra Katha &amp; Readers'
Digest.</p>
<h2>Interviews</h2>
<ul>
<li><a href="https://freetalk.show/005/" class="link">Interview by Abhas for Free Talk Show</a></li>
<li><a href="https://krita.org/en/item/interview-with-raghavendra-kamath/" class="link">Interview on Krita.org</a></li>
</ul>
<h3><a class="link" href="{{.Site.BaseURL}}/reading">My Reading List &rarr;<a/></h3>
<h3><a class="link" href="{{.Site.BaseURL}}/reading">My Reading List &rarr;<a/></h3>
{{ else }}
{{ .Content }}

View File

@ -1,13 +1,11 @@
<div class="post-meta">
{{if eq .Section "journal" }}
<time class="time meta dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{- .Date.Format "Jan 2, 2006" -}}
</time>
{{ else }}
{{ with .Params.client }}<span class="meta client">Client: {{ . }}</span>{{ end }}
{{ end }}
{{ if .Params.tags }}
&ndash;
{{ range $index, $tag := .Params.tags }}
<a class="p-category tag-link" href="{{ "/" | relURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ end }}

View File

@ -1,10 +1,11 @@
<section class="related">{{ $related := .Site.RegularPages.Related . | first 4 }}
{{ $related := .Site.RegularPages.Related . | first 4 }}
{{ with $related }}
<section class="related">
<h2>Related Posts</h2>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
</section>
{{ end }}