Skip to content

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

License

Notifications You must be signed in to change notification settings

alebabai/chords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 inline %}} shortcode for inline stylized chords

    An example of lyrics with chords:

    {{% chords inline %}}  
    **[Вступление]** (x2): `[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!

About

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

Topics

Resources

License

Stars

Watchers

Forks