add read more option to song's about section

This commit is contained in:
rramiachraf
2022-10-08 22:46:48 +01:00
parent 9325639b13
commit f5288a0e1d
4 changed files with 30 additions and 5 deletions

View File

@ -4,7 +4,7 @@
<title>{{.Artist}} - {{.Title}} lyrics</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
<script type="text/javascript" src="/static/script.js" async></script>
<script type="text/javascript" src="/static/script.js" defer></script>
</head>
<body>
<h1 id="nav">DUMB</h1>
@ -18,7 +18,8 @@
<div id="info">
<div id="about">
<h1 id="title">About</h1>
<p>{{.About}}</p>
<p class="hidden" id="full_about">{{index .About 0}}</p>
<p id="summary">{{index .About 1}}</p>
</div>
<div id="credits">
<h1 id="title">Credits</h1>