Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.7 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.7 KB

Chords

An old-fashioned static website with intentionally wrong chords of my favorite songs

build

Technologies

Getting started

  1. Install Hugo.
  2. Clone the repository.
  3. Run hugo server to locally build and serve the site with live-reload feature.

Usage

Adding a new song

  1. Create a page for the song:

    hugo new content "songs/<Artist> - <Title>.md"
    hugo new content "songs/Гражданская Оборона - Всё идёт по плану.md"
  2. Add song lyrics with chords:

    • write chords using the following syntax `[Chord]`
    • place chords wherever the music demands, within lines, words, etc
    • wrap text into {{% chords lyrics %}} shortcode for superscript stylized chords
    • wrap text into {{% chords %}} shortcode for inline stylized chords

    An example of lyrics with chords:

    {{% chords %}}  
    Вступление: `[Am]` `[F]` `[C]` `[E]`
    {{% /chords %}}  
    
    
    {{% chords lyrics %}}  
    Гра`[Am]`ницы кл`[F]`юч пере`[C]`ломлен попо`[E]`лам  
    А наш`[Am]` батюш`[F]`ка Ленин `[C]`совсем у`[E]`соп  
    {{% /chords %}}
  3. Optional: use front matter to add addition metadata to the song:

    • add more artists, prioritizing the first as the main one, using the artists taxonomy
    • add tags using the tags taxonomy
  4. Make sure the song is no longer a draft by removing draft: true.

  5. Done - publish and enjoy!