Compare commits

..

No commits in common. "88b18d1695af037fb123c879e03182368b3237a8" and "ad0b95e4890ab54fe2c169784caa622744de44ab" have entirely different histories.

4 changed files with 13 additions and 13 deletions

View file

@ -1,12 +1,11 @@
# 🚀 Deployment Guide: Hugo + Nostr Site # 🚀 Deployment Guide: Hugo + Nostr Site
Example site: [https://setto.basspistol.com](https://setto.basspistol.com)
## Overview ## Overview
This guide covers deploying your Hugo site that fetches content from Nostr relays using nak. The system runs on a cron job that automatically updates content every 30 minutes. This guide covers deploying your Hugo site that fetches content from Nostr relays using nak. The system runs on a cron job that automatically updates content every 30 minutes.
Architecture
## Architecture Example site: [https://setto.basspistol.com](https://setto.basspistol.com)
``` ```
Nostr Relays → nak → jq → JSON files → Hugo → Static HTML → Web Server Nostr Relays → nak → jq → JSON files → Hugo → Static HTML → Web Server

View file

@ -1041,15 +1041,15 @@ button {
max-width: 100%; max-width: 100%;
max-height: 75vh; max-height: 75vh;
object-fit: contain; object-fit: contain;
border: 1px solid var(--accent-yellow); border: 3px solid var(--accent-yellow);
box-shadow: 0 0 40px rgba(255, 215, 0, 0.5); box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
} }
.custom-lightbox-caption { .custom-lightbox-caption {
margin-top: 1rem; margin-top: 1rem;
padding: 0.8rem 1.5rem; padding: 0.8rem 1.5rem;
background: rgba(0, 0, 0, 0.7); background: rgba(0, 0, 0, 0.7);
border-left: 1px solid var(--accent-yellow); border-left: 4px solid var(--accent-yellow);
color: white; color: white;
font-family: 'Poppins', sans-serif; font-family: 'Poppins', sans-serif;
font-weight: 400; font-weight: 400;
@ -1408,6 +1408,7 @@ button {
.site-footer { .site-footer {
background: var(--bg-primary); background: var(--bg-primary);
border-top: 4px solid var(--accent-yellow);
padding: 3rem 2rem 2rem; padding: 3rem 2rem 2rem;
margin-top: 3rem; margin-top: 3rem;
position: relative; position: relative;
@ -1544,7 +1545,7 @@ button {
font-size: 0.85rem; font-size: 0.85rem;
color: var(--text-secondary); color: var(--text-secondary);
letter-spacing: 1px; letter-spacing: 1px;
border-left: 1px solid var(--accent-yellow); border-left: 3px solid var(--accent-yellow);
padding-left: 1rem; padding-left: 1rem;
} }

View file

@ -82,7 +82,7 @@
<button class="music-lightbox-control-btn" id="musicLightboxNext"></button> <button class="music-lightbox-control-btn" id="musicLightboxNext"></button>
</div> </div>
<!-- SHARE BUTTON - --> <!-- SHARE BUTTON - NEW ROW BETWEEN CONTROLS AND LYRICS -->
<div class="music-lightbox-share-row"> <div class="music-lightbox-share-row">
<button id="musicShareBtn" class="music-lightbox-share-btn" title="Share or interact with this track"> <button id="musicShareBtn" class="music-lightbox-share-btn" title="Share or interact with this track">
<span class="share-icon">🔗</span> <span class="share-icon">🔗</span>

View file

@ -8,7 +8,7 @@
<!-- Left Column --> <!-- Left Column -->
<div class="footer-left"> <div class="footer-left">
<div class="footer-brand"> <div class="footer-brand">
<span class="copyleft">🄯</span> {{ .Site.Params.publihser }} <span class="copyleft">🄯</span> Basspistol
<span class="year">{{ now.Format "2006" }}</span> <span class="year">{{ now.Format "2006" }}</span>
</div> </div>
<div class="footer-tagline"> <div class="footer-tagline">
@ -38,7 +38,7 @@
<div class="footer-meta-item"> <div class="footer-meta-item">
<span class="icon">📡</span> <span class="icon">📡</span>
<span class="label">Relay</span> <span class="label">Relay</span>
<span class="value" style="font-size:0.65rem;opacity:0.7;">{{ .Site.Params.relay }}</span> <span class="value" style="font-size:0.65rem;opacity:0.7;">wss://basspistol.org</span>
</div> </div>
</div> </div>
</div> </div>
@ -49,9 +49,9 @@
<span></span> Built with <span></span> for the nostr community <span></span> <span></span> Built with <span></span> for the nostr community <span></span>
</div> </div>
<div class="footer-social"> <div class="footer-social">
<a href="{{ .Site.Params.footlinks1_url }}" target="_blank" rel="noopener noreferrer">{{ .Site.Params.footlinks1_name }}</a> <a href="https://nostr.basspistol.org/users/nprofile1qqsr7ydtkt3rtk3dfhd96m0t9ufrzu68df695099dz26r58kx2jz7sqpz3mhxue69uhkyctnwdcxjum5dakzummjvuy2xely" target="_blank" rel="noopener noreferrer">Folla me</a>
<a href="{{ .Site.Params.footlinks2_url }}" target="_blank" rel="noopener noreferrer">Clone this web</a> <a href="https://git.basspistol.org/setto/setto-nostr-web" target="_blank" rel="noopener noreferrer">Clone this web</a>
<a href="{{ .Site.Params.footlinks3_url }}" target="_blank" rel="noopener noreferrer">Bpist</a> <a href="https://basspistol.com" target="_blank" rel="noopener noreferrer">Bpist</a>
</div> </div>
</div> </div>
</footer> </footer>