fix(artist.php.liquid): remove unnecessary notes header from artist page concert modals
This commit is contained in:
parent
aa33cd72df
commit
573b66a170
3 changed files with 4 additions and 5 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "3.4.3",
|
||||
"version": "3.4.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "3.4.3",
|
||||
"version": "3.4.4",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"html-minifier-terser": "7.2.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "3.4.3",
|
||||
"version": "3.4.4",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
|
|
@ -89,7 +89,6 @@ schema: artist
|
|||
at <?php echo $venue; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($concert["notes"])): ?>
|
||||
<?php $notes = "### Notes\n" . htmlspecialchars($concert["notes"]); ?>
|
||||
<button class="dialog-open client-side" data-dialog-trigger="<?php echo $dialogId; ?>" data-dialog-button>
|
||||
{% tablericon "info-circle" %}
|
||||
</button>
|
||||
|
@ -97,7 +96,7 @@ schema: artist
|
|||
<button class="dialog-close" data-dialog-button>
|
||||
{% tablericon "circle-x" %}
|
||||
</button>
|
||||
<?php echo parseMarkdown($notes); ?>
|
||||
<?php echo parseMarkdown(htmlspecialchars($concert["notes"])); ?>
|
||||
</dialog>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue