From 609b542a5360032818370526e2839c04ebaaed0f Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Wed, 20 May 2020 00:20:36 +0530 Subject: fix: minor design fixes --- README.md | 59 ++++++++++++++++++++++++++++++++++++++ layouts/_default/search.html | 9 ++++-- layouts/partials/display_meta.html | 2 +- layouts/partials/header.html | 8 ++---- layouts/partials/list_preview.html | 4 +-- layouts/partials/menu.html | 2 +- static/css/normalize.min.css | 2 ++ static/css/style.css | 49 ++++++++++++++++--------------- 8 files changed, 100 insertions(+), 35 deletions(-) create mode 100644 README.md create mode 100644 static/css/normalize.min.css diff --git a/README.md b/README.md new file mode 100644 index 0000000..201805d --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +--- +title: Bodhi - Hugo Theme +layout: article +summary: Bodhi is a simple, minimal, personal website theme for Hugo. +--- + +Bodhi is a simple, minimal, personal website theme for Hugo. + +## Features + +- Google and Fathom Analytics integration +- Syntax highlighting +- Twitter cards and opengraph tags support +- Disqus and Commento comments +- RSS feeds +- AddToAny support +- Inbuilt Search Support +- Minimal post metadata like Reading Time +- Simple pagination with page indicators +- Two navigation menus + - Menu bar with left/right split + - Navigation bar with custom tree +- Included Archetypes (WIP) + - Posts (for blogs) + - Articles (for pages) + +## Previews + +### Home Page + +![preview](preview.png) + +### Archive Page + +![archive page](blog_archive.png) + +### Inbuilt Search + +![search page](search.png) + +### Syntax Highlighting + +![syntax](syntax.png) + +### Minimal Blog Metadata + +![blog](blog.png) + +### Simple but Responsive + +![responsive](responsive.png) + +## Inspiration + +## suckless + +![suckless](suckless.png) + +[suckless](https://suckless.org) is known for their focus on simplicity and clarity. Their website is a good example of simple website design. I really liked how they use the two-column design as a mini-sitemap. This tree layout, is something that is familiar and intuitive to a lot of people. This inspired me to build [Bodhi](/projects/bodhi) to have a two-column layout with the column showing a tree like column on the left. diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 318de3f..cbefb44 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -5,16 +5,19 @@ {{ end }} {{ define "main" }} -
+
+

Search

- +
+ press enter to search +

Matching pages

-
+