No description
Find a file
2018-05-28 09:29:46 +03:00
archetypes Change default archetype format (toml -> yaml) 2018-04-25 21:59:58 +03:00
i18n Add initial "related articles" block 2018-05-25 17:29:46 +03:00
images Add theme screenshots 2018-04-26 21:39:01 +03:00
layouts Add initial MathJax support 2018-05-27 14:59:18 +03:00
static Add initial media print CSS 2018-05-27 16:41:48 +03:00
.editorconfig Initial commit 2018-02-09 18:57:24 +03:00
.eslintrc Initial commit 2018-02-09 18:57:24 +03:00
.gitignore Initial commit 2018-02-09 18:57:24 +03:00
.stylelintrc Initial commit 2018-02-09 18:57:24 +03:00
LICENSE LICENSE.md -> LICENSE 2018-04-25 21:29:37 +03:00
package-lock.json Add package.json & package-lock.json 2018-05-21 15:21:53 +03:00
package.json Add package.json & package-lock.json 2018-05-21 15:21:53 +03:00
README.md Update README.md 2018-05-28 09:29:46 +03:00
theme.toml Write in important data in LICENSE and theme.toml 2018-04-25 20:48:18 +03:00

Binario [WIP]

Binario is a responsive card-based & code-light Hugo theme.

Binario theme screenshot

Features:

  • Responsive
  • Card-based list layout
  • Internal Hugo templates for Open Graph and Twitter Cards meta data, Google Analytics, and Disqus comments
  • Table of contents
  • Related content
  • MathJax

Configuration

Config.toml example

baseurl = "/"
title = "Binario"
languageCode = "en-us"
paginate = "10" # Number of posts per page
theme = "binario"
disqusShortname = "" # Enable comments by entering your Disqus shortname
googleAnalytics = "" # Enable Google Analytics by entering your tracking id

[Params]
author = "John Doe" # Used in meta author. Optional
description = "Responsive card-based & code-light Hugo theme" # Description of your site. Used in meta description
opengraph = true # Enable OpenGraph if true
twitter_cards = true # Enable Twitter Cards if true
cardsPerRow = 2 # Possible values: 1, 2, 3
#mainSections = ["post"] # Set main page sections
#dateFormat = "January 02, 2006" # change the format of dates
#toc: true # Enable Table of Contents for all site pages
#comments: true # Enable comments for all site pages
#mathjax: true # Enable MathJax for all site pages
#mathjaxPath: "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" # Specify MathJax path. Optional
#mathjaxConfig: "TeX-AMS-MML_HTMLorMML" # Specify MathJax config. Optional

[Params.Social]
#facebook = "username"
#twitter = "username"
#telegram = "username"
#googleplus = "profileid"
#instagram = "username"
#pinterest = "username"
#vk = "username"
#linkedin = "username"
#github = "username"
#gitlab = "username"
#stackoverflow = "numberid"
#mastodon = "username"

[outputFormats]
  [outputFormats.MANIFEST]
    mediaType = "application/json"
    baseName = "manifest"
    isPlainText = true
    notAlternative = true

[outputs]
  home = ["HTML", "MANIFEST"]

Contributing

Have a bug? Please open a new issue.

Pull requests are very welcome too, but please make sure they match the existing contributing guide.

License

Binario is licensed under the MIT License.