• Stars
    star
    333
  • Rank 126,599 (Top 3 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 3 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Blist is a clean and fast blog theme for your Hugo site.

Blist theme for Hugo

Latest Release Blist hugo theme Hugo generator

Blist is a clean and fast blog theme for your Hugo site.

Blist Icon

Features:

  • Responsive content / Mobile-optimized
  • Blog pagination
  • Customizable Text Search
  • Table of contents
  • Social links
  • Code highlighting
  • Color customization
  • Dark mode
  • Fast performance
  • SEO optimized
  • i18n support
  • Support comments systems
    • Disqus (hugo native)
    • giscus
    • utterances

Preview

Preview

➡️ DEMO

Get the theme

Minimum Hugo Version: 0.82.1

Run from the root of your Hugo site:

git clone https://github.com/apvarun/blist-hugo-theme.git themes/blist

Alternatively, you can include this repository as a git submodule. This makes it easier to update this theme if you have your Hugo site in git as well:

git submodule add https://github.com/apvarun/blist-hugo-theme.git themes/blist

Preview the theme with example content

Blist theme ships with an fully configured example site. For a quick preview:

Copy the package.json file from themes/blist folder to your hugo website root folder, and run npm install.

cd themes/blist/exampleSite/
hugo serve --themesDir ../..

Then visit http://localhost:1313/ in your browser to view the example site.

Configuring theme to a hugo website

  1. Copy package.json and package-lock.json to the root folder of your the website
  2. Run npm install to install required packages for theme
  3. Run npm i -g postcss-cli to use PostCSS with Hugo build
  4. Set theme = 'blist' in config.toml
  5. Run npm start to start your local server

Make sure to commit the above changes to your repository.

Publish your website

When deploying to services like Netlify or Vercel, use the following command for building your site:

npm i && HUGO_ENVIRONMENT=production hugo --gc

The parameter HUGO_ENVIRONMENT=production enables the execution of css purging.

Add content

The following explains how to add content to your Hugo site. You can find sample content in the exampleSite/ folder.

Structure:

.
├── ...
├── blog       # Blog Section
│   ├── post1   # Post 1
│   ├── post2   # Post 2
│   └── _index
└── ...

Configure your site

From exampleSite/, copy config.toml to the root folder of your Hugo site and change the fields as you like. Helpful comments are provided.

Menu

Menu in Blist theme is pre-set to have all section names. You can include custom links in header using the menu.main option config.toml.

Logo

logo param in the site config will allow to use an image as the logo instead of the website name. It is localizable and so can have different logo for different languages

Darkmode

[params.darkModeToggle] enables the dark mode toggle in header. The preference is then saved so that the mode is automatically chosen for return visits.

Customize Ascent Color

Use [params.ascentColor] to change the default pink color to any supported color from the list of default colors from Tailwind CSS.

Some example values: bg-blue-200, bg-yellow-300

Search

[params.enableSearch] option is used to enable search option in the theme.

  • Adds the search icon in header
  • Generates the search index
  • Uses fuse.js to enable searching through content

In order to search, you can either click on the search icon from header or press Ctrl/Cmd + / key combination.

Note:

Make sure to enable JSON in outputs array.

[outputs]
  home = ["HTML", "RSS", "JSON"]

Latex

Enable Mathematical options: set math: true in your markdown frontmatter

Google Analytics

Set googleAnalytics in config.toml to activate Hugo's internal Google Analytics template.

Performance

Pagespeed Insights Performance

Issues

If you have a question, please open an issue for help and to help those who come after you. The more information you can provide, the better!

Contributing

Contributions, issues, and feature requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

apvarun
apvarun
Ravinou
Ravinou
engel-b
engel-b
chris-gillatt
chris-gillatt
dependabot[bot]
dependabot[bot]
xLexip
xLexip
AntoineSoetewey
AntoineSoetewey
chiragksharma
chiragksharma
dlecan
dlecan
jpiaskowski
jpiaskowski
lucab85
lucab85
Marty
Marty
ernavdeepkr
ernavdeepkr
roypeter
roypeter

License

Licensed under MIT

🤝 Support

Give a ⭐️ if you like this project!

Buy Me A Coffee

More Repositories

1

toastify-js

Pure JavaScript library for better notification messages
JavaScript
2,102
star
2

graphize

Visualize and download JSON / YAML content
TypeScript
255
star
3

digital-garden-hugo-theme

Build your own personal Digital Garden effortlessly with this Hugo theme
HTML
236
star
4

showfolio-hugo-theme

Modern portfolio theme for your Hugo site
HTML
98
star
5

showcase-hugo-theme

Showcase is a minimal, single page theme for Hugo
HTML
60
star
6

celestial-theme

VS Code theme for all the people who love to code in deep dark spaces.
29
star
7

productlog-nextjs-theme

NextJS-based changelog theme for your product
TypeScript
25
star
8

poppyjs

Simple, Multipurpose Open Source Pop-in Messages
JavaScript
24
star
9

tailwindcss-analysis

Analyse the TailwindCSS classes used in your application
TypeScript
18
star
10

sapper-stunning-theme

Static Site/Blog built with Sapper/Svelte
Svelte
17
star
11

ng-tailwindcss-jit

Configures your angular project to use jit compiler for tailwindcss
JavaScript
9
star
12

learndevtools

Debug Better With DevTools
HTML
7
star
13

parcel-plugin-prettier

📦 Parcel plugin to add Prettier to your code
JavaScript
6
star
14

demo-ng-tailwindcss-jit

Demo Angular application using ng-tailwindcss-jit
TypeScript
5
star
15

linkverse

A one page link-in-bio page with Astro
Astro
5
star
16

react-onboarding-pro

Onboarding flow for reducing friction to use the application and improving the workflow
JavaScript
5
star
17

wouter-hono

Minimalist-friendly ~1.5KB router - wouter, adapted for Hono
TypeScript
3
star
18

contributors-table-generator

Generate HTML table of contributors list for readme
Svelte
2
star
19

magic-regexp-angular-demo

Demo of magic-regexp usage with an Angular project
JavaScript
2
star
20

CleanNation

App for Swachh Bharat with Material design
Java
2
star
21

apvarun

2
star
22

systic-astro-theme

Astro theme to create a curated list page.
Astro
2
star
23

sapper-sources

Helpers for supporting external sources in a sapper app
JavaScript
2
star
24

apvarun.com

Personal website, built with VueJS and Gridsome
HTML
2
star
25

sapper-job-board

Job board template built on top of Sapper
JavaScript
1
star
26

collecte

Minimal plugin to get feedback from your website
JavaScript
1
star
27

parcel-plugin-shell

Plugin to run shell commands before/after bundling process.
JavaScript
1
star
28

openperf-page

Custom Google Analytics Performance page
TypeScript
1
star
29

rewind-components

Ready to use components for your next project
JavaScript
1
star