Giter VIP home page Giter VIP logo

hugo-dgraph-theme's Introduction

Dgraph

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.

Dgraph screenshot

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).

Contributing

Pull requests, bug fixes and new features are welcome!

We follow Git flow. So please create feature branches from develop and submit a PR for any change.

License

Licensed under the MIT License. See the LICENSE file for more details.

Credits

hugo-dgraph-theme's People

Contributors

adishap avatar aelbannan avatar bucanero avatar danielmai avatar gpahal avatar manishrjain avatar nonumeros avatar prashant-shahi avatar rderbier avatar srfrog avatar zhenniwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-dgraph-theme's Issues

The Theme Demo no longer generates on the Hugo Themes Showcase

Hello,

Your recent commit e903176 broke the Dgraph theme demo at https://themes.gohugo.io/hugo-dgraph-theme/

Basically the problem is the hardcoded PATH i.e. readFile "themes/hugo-dgraph-theme/static/js/runnable.js" that throws a 404 on the theme site.

A theme should not have hardcoded PATHs since it may be used in different architectures like the one that is used in the Themes Showcase.

Please note that we offer instructions about testing a theme demo locally with the Hugo Themes website Build Script

Also note that once gohugoio/hugoThemes#668 is addressed you will need to keep an eye on whether the Dgraph theme demo generates on the Hugo website.

We are a very small team and we just cannot keep up opening issues in the various theme repositories. Whenever a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning.

Thank you.

cc: @digitalcraftsman

Screenshot is the wrong size

Hello @paulftw

I noticed that you updated the theme's images recently.

However now the screenshot has the wrong dimensions, it should be 1500ร—1000 in pixels. Also it should feature only the theme's layout (not the browser chrome) and it shouldn't have transparency.

For future reference please use the Hugo Themes README

Can you please fix the screenshot's dimensions?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.