Skip to content

danielalejandrohc/hugo-theme-iris

 
 

Repository files navigation

LICENSE release release date release feed deploy status hugo themes lighthouse score Netlify Status

Hugo IRIS Theme

thumbnail

Table of Contents

Overview

This repository includes the Hugo theme.

Features

  • Dark Theme
  • Responsive
  • Support Multilingual
  • PageSpeed Insights Scores: Good
  • Lighthouse Scores: Good
  • Breadcrumb List
  • Syntax Highlighting
  • Eye-catching Image
  • Disqus Comment System
  • Google Analytics
  • Open Graph Protocol, OGP Images
  • Table of Contents
  • MathJax: Beautiful math in all browsers.
  • mermaid: Generation of diagram and flowchart from text in a similar manner as markdown.
  • reveal.js: Writing slides using Markdown.

Roadmap

  • Share Buttons
  • JSON-LD
  • Netlify, Netlify CMS
  • Categories, Tags, Authors
  • Font Awesome
  • Related posts, next and previous post

Getting Started

Get Hugo

You can find the minimum supported Hugo version in theme.toml min_version. Using Hugo extended version is desirable.

Initialize New Hugo Project

mkdir ./homepage && cd ./homepage
git init
git submodule add https://github.com/peaceiris/hugo-theme-iris.git ./themes/hugo-theme-iris
cd ./themes/hugo-theme-iris
git checkout vx.x.x
cd ../..
git commit "Add theme"
cp -r ./themes/hugo-theme-iris/exampleSite/{assets,config,content,data,i18n,static} .
vim ./config/_default/config.yaml  # uncomment 'theme: hugo-theme-iris'
hugo server

Customize your site! ʕ◔ϖ◔ʔ

Hugo Modules

Get and Update.

hugo mod get -u github.com/peaceiris/hugo-theme-iris

config/_default/config.yaml

module:
  imports:
    - path: github.com/peaceiris/hugo-theme-iris

Hosting

Netlify

Deploy to Netlify

GitHub Pages using Actions

The following actions are useful to deploy your site to GitHub Pages using GitHub Actions.

Shortcodes

button

<div class="buttons">
  {{< button href="https://gohugo.io/" txt="Hugo Homepage" >}}
  {{< button href="https://github.com/gohugoio/" txt="Hugo GitHub" >}}
  {{< button href="https://discourse.gohugo.io/" txt="Hugo Forum" >}}
  {{< button href="https://twitter.com/GoHugoIO" txt="Hugo Twitter" >}}
</div>

Shortcode button

li

{{< li >}}
- Hugo
- Golang
- Static Site Generators
{{< /li >}}

{{< li >}}
1. Hugo
1. Golang
1. Static Site Generators
{{< /li >}}

Shortcode li

mermaid

{{< mermaid >}}
sequenceDiagram
  participant Alice
  participant Bob
  Alice->>John: Hello John, how are you?
  loop Healthcheck
    John->>John: Fight against hypochondria
  end
  Note right of John: Rational thoughts <br/>prevail!
  John-->>Alice: Great!
  John->>Bob: How about you?
  Bob-->>John: Jolly good!
{{< /mermaid >}}

Shortcode mermaid

repo

{{< repo id="peaceiris" name="actions-gh-pages" >}}

{{< repo id="peaceiris" name="actions-hugo" >}}

Shortcode repo

table

{{< table >}}
| Key | Value |
|---|---|
| Static Site Generator | Hugo |
| Language | Go |
{{< /table >}}
Mouse out Mouse over
Shortcode table mouse out Shortcode table mouse over

Special Thanks

Changelog

Maintainer

Contributing

To contribute to this Hugo theme.

You can find more detail in our Contributing Guide.

License


About

Hugo IRIS Theme - Portfolio and Blog

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CSS 49.4%
  • JavaScript 39.4%
  • HTML 10.8%
  • Other 0.4%