about summary refs log tree commit diff
path: root/laravel/public/song.gmi.php
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/public/song.gmi.php')
-rwxr-xr-xlaravel/public/song.gmi.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/laravel/public/song.gmi.php b/laravel/public/song.gmi.php
index e4a84d6..2535ca2 100755
--- a/laravel/public/song.gmi.php
+++ b/laravel/public/song.gmi.php
@@ -29,6 +29,9 @@ printf("30 " . Song::inRandomOrder()->first()->id . "\r\n");return;
 <?= $song->textTranspose(getenv('QUERY_STRING')??'') ?>
 
 ```
+<?php foreach($song->chords as $symbol => $tabs): ?>
+=> /chord.svg/<?=$symbol?>?<?=$tabs[0]?> <?= $symbol ?> chord symbol
+<?php endforeach; ?>
 
 => mailto:zachdecook+songs@gmail.com?subject=<?=
     rawurlencode(json_encode([