Dgraph blog hugo theme
Dgraph blog theme is an ideal responsive theme for your blog. It has a list view with a image for each post and a beautiful page for individual posts. You can see it live in action on the Dgraph Blog.
Features
- Responsive
- Suited for personal or company blog
- Support for discourse for commenting
- Syntax highlighting for code samples
Installation
Inside the folder of your Hugo site run:
$ cd themes
$ git clone https://github.com/dgraph-io/hugo-dgraph-theme
For more information read the official setup guide of Hugo.
Site variables
Please see the sample config.toml
under the exampleSite
directory.
Show Author And Editor Details in Blogs
Sample files author_image.html
,author_name.html
and author_detail.html
for author's and editor's name, image and details are added in layout/partials/
.
Pagination
Theme also provides pagination, for changing the number of blogs listed add paginate = <number of blogs per page>
to config.toml
(by default it displays 10 blogs).