All Projects → saadsolimanxyz → npqhugo

saadsolimanxyz / npqhugo

Licence: GPL-3.0 license
npq-hugo is a customizable and responsive dark blog theme with integrated contact form and code syntax highlighting

Programming Languages

CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to npqhugo

academia-hugo
Academia is a Hugo resume theme. You can showcase your academic resume, publications and talks using this theme.
Stars: ✭ 165 (+587.5%)
Mutual labels:  hugo-theme, hugo
ace-documentation
A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
Stars: ✭ 91 (+279.17%)
Mutual labels:  hugo-theme, hugo
Hugo Eureka
Eureka is a feature-rich and highly customizable Hugo theme.
Stars: ✭ 239 (+895.83%)
Mutual labels:  hugo-theme, hugo
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (+179.17%)
Mutual labels:  hugo-theme, hugo
hugo-docs
Theme for Dgraph documentation built via Hugo
Stars: ✭ 13 (-45.83%)
Mutual labels:  hugo-theme, hugo
Hugo Future Imperfect Slim
Multilingual Blogging Theme for Hugo | Check the Wiki for Documentation
Stars: ✭ 233 (+870.83%)
Mutual labels:  hugo-theme, hugo
hugo-kiera
Kiera - A Hugo Theme for writing
Stars: ✭ 61 (+154.17%)
Mutual labels:  hugo-theme, hugo
Bilberry Hugo Theme
Premium theme for the hugo site builder. DEMO:
Stars: ✭ 205 (+754.17%)
Mutual labels:  hugo-theme, hugo
hugo-piercer-theme
Piercer is a very customizable, fast and simple Hugo theme designed under the mobile-first philosophy.
Stars: ✭ 27 (+12.5%)
Mutual labels:  hugo-theme, hugo
restaurant-hugo
The restaurant is a creative and responsive restaurant website theme in Hugo environment. It is very well decorated theme which will make your website building easier.
Stars: ✭ 50 (+108.33%)
Mutual labels:  hugo-theme, hugo
Hugo Orbit Theme
Great looking resume/CV theme designed for developers.
Stars: ✭ 217 (+804.17%)
Mutual labels:  hugo-theme, hugo
hugo-alabaster-theme
A documentation theme ported from Sphinx to Hugo
Stars: ✭ 73 (+204.17%)
Mutual labels:  hugo-theme, hugo
Hugo Ink
Crisp, minimal personal website and blog theme for Hugo
Stars: ✭ 209 (+770.83%)
Mutual labels:  hugo-theme, hugo
hugo-theme-chunky-poster
A simple, bootstrap 4 based hugo blog theme.
Stars: ✭ 106 (+341.67%)
Mutual labels:  hugo-theme, hugo
Gohugo Amp
⚡ AMP starter theme for gohugo https://gohugo-amp.gohugohq.com
Stars: ✭ 207 (+762.5%)
Mutual labels:  hugo-theme, hugo
distillpub
Hugo Theme for Distill
Stars: ✭ 31 (+29.17%)
Mutual labels:  hugo-theme, hugo
Hugo Clarity
A theme for Hugo based on VMware Clarity
Stars: ✭ 189 (+687.5%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Pure
A pure theme for Hugo
Stars: ✭ 198 (+725%)
Mutual labels:  hugo-theme, hugo
hugo-artists-theme
Port of Travis Neilson's (DevTips) awesome Artists Theme to Hugo
Stars: ✭ 57 (+137.5%)
Mutual labels:  hugo-theme, hugo
hugo-documentation-theme
📖 Project Docs / Knowledge Base template for Hugo Website Builder. 创建项目文档
Stars: ✭ 101 (+320.83%)
Mutual labels:  hugo-theme, hugo

npq hugo theme

screenshot

demo

here is a live demo you can see

main features

  • dark
  • responsive
  • out of the box contact form
  • avatar support
  • syntax highlighting
  • table of content
  • customizable

installation

after you have installed hugo (see quick start) run the following in your site's root directory to install the theme

git clone https://github.com/saadnpq/npq-hugo.git
cp npq-hugo/example-config.toml .

configuration

this is how your config.toml will look like after installation, change the values according to your site.

baseURL = "https://www.example.com"
languageCode = "en-us"
title = "title"
copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
theme = "npq-hugo"
pygmentsUseClasses=true

[params]
  author = "your name"
  description = "your description"
  keywords = "hugo blog"
  useAvatar = true
  microBlogSection = "posts"
  displayMicroBlog = true
  displayRecent = true
  recentMax = 4
  mail = "[email protected]"
  phone = "8888888888"
  formspreeID = "yourformspreeID"

[menu]
  [[menu.main]]
    name = "home"
    pre = "<i class=\"fas fa-home fa-sm\"></i>"
    url = "/"
    weight = -9 
  [[menu.main]]
    name = "blog"
    pre = "<i class=\"fas fa-keyboard fa-ms\"></i>"
    url = "/blog/"
    weight = -8
  [[menu.main]]
    name = "tags"
    pre = "<i class=\"fas fa-tags fa-ms\"></i>"
    url = "/tags"
    weight = -7 
  [[menu.main]]
    name = "github"
    pre = "<i class=\"fab fa-github fa-ms\"></i>"
    url = "https://github.com/yourgithubusername23434"
    weight = -6 
  [[menu.main]]
    name = "RSS"
    pre = "<i class=\"fas fa-rss fa-ms\"></i>"
    url = "/index.xml"
    weight = -4 
  [[menu.main]]
    name = "contact"
    pre = "<i class=\"far fa-envelope\"></i>"
    url = "/contact"
    weight = -1 

for the contact page to work you have to make a free form at formspree and put your form id in the variable formspreeID in the configuration file.

every menu entry has a corresponding section named [[menu.mail]] under [menu]. to add or change a menu entry add or change the corresponding section with name being the name displayed in the menu, pre is a text before the name (you can grap icons from fontawesome), url is the url that the menu item points to, and weight is an integer value that represent the order of the menu items (items with lower weight float)

In order to see your site updating while changing it, run Hugo's built-in local server.

hugo server

micro blog

posts in the directory "posts" (can be configured) in the contents directory will be displayed under the microblog section on the home page. if you want to pin a post to the top put pinned: true in the post's front matter. example front matter:

---
pinned: true
date: 2020-04-09T00:16:00+02:00
---

License

GPLv3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].