mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-24 01:18:47 +00:00
71 lines
2.6 KiB
Markdown
71 lines
2.6 KiB
Markdown
---
|
|
title: "My 1st post"
|
|
date: 2023-04-21
|
|
# weight: 1
|
|
# aliases: ["/first"]
|
|
tags: ["first"]
|
|
author: "Me"
|
|
# author: ["Me", "You"] # multiple authors
|
|
showToc: true
|
|
TocOpen: false
|
|
draft: false
|
|
hidemeta: false
|
|
comments: false
|
|
description: "Desc Text."
|
|
canonicalURL: "https://canonical.url/to/page"
|
|
disableHLJS: true # to disable highlightjs
|
|
disableShare: false
|
|
disableHLJS: false
|
|
hideSummary: false
|
|
searchHidden: true
|
|
ShowReadingTime: true
|
|
ShowBreadCrumbs: true
|
|
ShowPostNavLinks: true
|
|
ShowWordCount: true
|
|
ShowRssButtonInSectionTermList: true
|
|
UseHugoToc: true
|
|
cover:
|
|
image: "<image path/url>" # image path/url
|
|
alt: "<alt text>" # alt text
|
|
caption: "<text>" # display caption under cover
|
|
relative: false # when using page bundles set this to true
|
|
hidden: true # only hide on current single page
|
|
editPost:
|
|
URL: "https://github.com/<path_to_repo>/content"
|
|
Text: "Suggest Changes" # edit text
|
|
appendFilePath: true # to append file path to Edit link
|
|
---
|
|
|
|
How it begins
|
|
|
|
<!--more-->
|
|
|
|
In this post-web2.0 age, people seem to blog less and less, and blogs seem to be dying slowly. People are separated in different Apps where the content is not searchable by search engines.
|
|
|
|
However, I still prefer to write using a blog.
|
|
|
|
# Why this?
|
|
|
|
The best way to learn something is to teach others the knowledge that you have gained. Regurgitating that information will solidify it more firmly in your mind.
|
|
|
|
# What I write?
|
|
|
|
Mostly random stuff and a few tutorials. I'll see where this goes.Although some of the blog posts may only be helpful to myself, but who knows, I hope they will be helpful to someone else in some day.
|
|
|
|
# Static blog generator
|
|
|
|
I use hugo as a static site generator.After trying a couple of blogging platforms and trying to build a few from scratch I decided to
|
|
throw in the towel and opt in for a ready made solution, no need reinventing the wheel.
|
|
|
|
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.Hugo provides a robust theming system that is easy to implement but capable of producing even the most complicated websites.Hugo's Go-based templating provides just the right amount of logic to build anything from the simple to complex. For this site I decided to go with the [even theme](https://github.com/olOwOlo/hugo-theme-even). The commenting system is implemented using [Utterances](https://utteranc.es/)
|
|
|
|
# Blog site hosting
|
|
|
|
The site is hosted on github pages as evident by the \*.github.io domain name.I prefer this mainly because it is free and I don't have
|
|
to switch to a different hosting provider.
|
|
|
|
```python
|
|
def hello_world:
|
|
retun "Hello World"
|
|
```
|