Make it more complete
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user