diff --git a/README.md b/README.md index f22eccd..7da83d7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ # Anna -![Test Workflow](https://github.com/acmpesuecc/anna/actions/workflows/tests.yml/badge.svg) - -![Build Workflow](https://github.com/acmpesuecc/anna/actions/workflows/build.yml/badge.svg) - -![GitHub Repo Stars](https://img.shields.io/github/stars/acmpesuecc/Anna) +[![Test Workflow](https://github.com/acmpesuecc/anna/actions/workflows/tests.yml/badge.svg)](https://github.com/acmpesuecc/anna/actions/workflows/tests.yml) +[![Netlify Status](https://api.netlify.com/api/v1/badges/09b8bdf3-5931-4295-9fe7-d463d5d06a3f/deploy-status)](https://app.netlify.com/sites/anna-docs/deploys) +[![Go Reference](https://pkg.go.dev/badge/github.com/acmpesuecc/anna.svg)](https://pkg.go.dev/github.com/acmpesuecc/anna) +[![GitHub Repo Stars](https://img.shields.io/github/stars/acmpesuecc/Anna?style=flat-square&label=Stars&color=lightgreen&logo=github)](https://github.com/acmpesuecc/Anna) ```text ___ @@ -18,12 +17,11 @@ A static site generator in go Inspired by [Hugo](https://gohugo.io) and [Saaru](https://github.com/anirudhRowjee/saaru), this static site generator aims to take performance to the next level with parallel rendering, live reload and so much more, all in Go. -Pronounced: `/ÉnĖÉ/` which means rice in Kannada š +> Pronounced: `/ÉnĖÉ/` which means rice in Kannada š -This Project is a part of the ACM PESU-ECC's yearly [AIEP](https://acmpesuecc.github.io/aiep) program, and is maintained by [Adhesh Athrey](https://github.com/DedLad), [Nathan Paul](https://github.com/polarhive), [Anirudh Sudhir](https://github.com/anirudhsudhir), and [Aditya Hegde](https://github.com/bwaklog) +This project is a part of the ACM PESU-ECC's yearly [AIEP](https://acmpesuecc.github.io/aiep) program, and is maintained by [Adhesh Athrey](https://github.com/DedLad), [Nathan Paul](https://github.com/polarhive), [Anirudh Sudhir](https://github.com/anirudhsudhir), and [Aditya Hegde](https://github.com/bwaklog) --- - ## Install Once you have a directory structure, install `anna` using: @@ -35,15 +33,13 @@ go install github.com/acmpesuecc/anna@latest Or if you have git installed, clone our repository: ```sh -git clone github.com/acmpesuecc/anna --depth=1 -cd anna +git clone github.com/acmpesuecc/anna --depth=1; cd anna go run . ``` -### The detailed documentation of the SSG can be found [here](https://anna-docs.netlify.app/) +### Detailed documentation of our SSG can be found [here](https://anna-docs.netlify.app/) --- - ## Flags ```text @@ -53,8 +49,9 @@ Usage: Flags: -a, --addr string ip address to serve rendered content to (default "8000") -d, --draft renders draft posts - -h, --help help for ssg - -p, --prof profiles the working code and shows data + -h, --help help for anna + -p, --prof enable profiling -s, --serve serve the rendered content -v, --validate-html validate semantic HTML + -w, --webconsole wizard to setup anna ``` diff --git a/cmd/anna/wizard.go b/cmd/anna/wizard.go index 650fb86..c1a509f 100644 --- a/cmd/anna/wizard.go +++ b/cmd/anna/wizard.go @@ -18,6 +18,7 @@ type Config struct { SiteScripts []string `yaml:"siteScripts"` Author string `yaml:"author"` ThemeURL string `yaml:"themeURL"` + Navbar []string `yaml:"navbar"` } type WizardServer struct { diff --git a/cmd/wizard/index.html b/cmd/wizard/index.html index 1335b13..34c2ac6 100644 --- a/cmd/wizard/index.html +++ b/cmd/wizard/index.html @@ -11,64 +11,75 @@
- +