20 lines
615 B
C#
20 lines
615 B
C#
using Tesses.WebServer;
|
|
using Scriban;
|
|
using System.Web;
|
|
using System.Text;
|
|
namespace Tesses.YouTubeDownloader2025Companion
|
|
{
|
|
public static partial class Pages {
|
|
|
|
private static ReloadingScript song_albums = new ReloadingScript("wwwroot/pages/music/songs/song-albums.sbnhtml");
|
|
|
|
public static string SongAlbums(string songName, List<AlbumLink> albums)
|
|
{
|
|
return Components.Shell($"{songName}'s Albums", song_albums.Render(new
|
|
{
|
|
Songname = songName,
|
|
Albums = albums
|
|
}), Program.DefaultLinks(2));
|
|
}
|
|
}
|
|
} |