Skip to content

A self-hosted dashboard that puts all your feeds in one place

Merge remote-tracking branch 'origin' into change-detection

Shashank S6cad5a8efb2b
diff --cc internal/assets/templates.go
index 3c9f691,b8aa6ae..0abbb6e
--- a/internal/assets/templates.go
+++ b/internal/assets/templates.go
@@@ -22,11 -22,12 +22,13 @@@ var
RedditCardsHorizontalTemplate = compileTemplate("reddit-horizontal-cards.html", "widget-base.html")
RedditCardsVerticalTemplate = compileTemplate("reddit-vertical-cards.html", "widget-base.html")
ReleasesTemplate = compileTemplate("releases.html", "widget-base.html")
- ChangesTemplate = compileTemplate("changes.html", "widget-base.html")
- VideosTemplate = compileTemplate("videos.html", "widget-base.html")
++ ChangesTemplate = compileTemplate("changes.html", "widget-base.html")
+ VideosTemplate = compileTemplate("videos.html", "widget-base.html", "video-card-contents.html")
+ VideosGridTemplate = compileTemplate("videos-grid.html", "widget-base.html", "video-card-contents.html")
StocksTemplate = compileTemplate("stocks.html", "widget-base.html")
RSSListTemplate = compileTemplate("rss-list.html", "widget-base.html")
- RSSCardsTemplate = compileTemplate("rss-cards.html", "widget-base.html")
+ RSSHorizontalCardsTemplate = compileTemplate("rss-horizontal-cards.html", "widget-base.html")
+ RSSHorizontalCards2Template = compileTemplate("rss-horizontal-cards-2.html", "widget-base.html")
MonitorTemplate = compileTemplate("monitor.html", "widget-base.html")
TwitchGamesListTemplate = compileTemplate("twitch-games-list.html", "widget-base.html")
TwitchChannelsTemplate = compileTemplate("twitch-channels.html", "widget-base.html")
diff --cc internal/widget/widget.go
index e7ec293,3707b7e..39fa917
--- a/internal/widget/widget.go
+++ b/internal/widget/widget.go
@@@ -43,10 -43,10 +43,12 @@@ func New(widgetType string) (Widget, er
return &TwitchGames{}, nil
case "twitch-channels":
return &TwitchChannels{}, nil
+ case "changes":
+ return &ChangeDetections{}, nil
+ case "repository":
+ return &Repository{}, nil
default:
- return nil, fmt.Errorf("unknown widget type: %s", widgetType)
+ return nil, fmt.Errorf("unknown widget type: %s found", widgetType)
}
}