Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

ShoGinn/wowchemy-block-countdown-timer

Repository files navigation

What

A Countdown Timer block section for the Hugo theme Wowchemy

This is a very simple plugin that just displays a countdown!

Add the Block to your Site

  1. Install the block by referencing it in your config/_defaults/config.yaml:

    module:
      imports:
        - path: github.com/shoginn/wowchemy-block-countdown-timer

Example Implementation

  1. Create an instance of your block in home/, for example let's create home/countdown-timer.md:

    ---
    widget: 'github.shoginn.countdown-timer'
    
    # This file represents a page section.
    headless: true
    
    # Order that this section appears on the page.
    weight: 1
    
    # Title at the top of the Section
    title: Countdown Timers
    
    ############################
    # Block Configuration Items
    ############################
    
    countdowns:
       - name: Christmas
         date: 2022-12-25
    
    ---
    
    # Optional Content below timers
    Irure commodo nisi cillum fugiat sunt aliqua tempor voluptate sit reprehenderit cupidatat commodo.