From 924d7950a045d623720202d58cd5482db2b48030 Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Tue, 22 Jun 2021 18:56:28 -0500 Subject: [PATCH] website: Redesign video pages. This change introduces a multipage catalog of videos and playlists, similar to blog posts and packages pages. Modified files: * website/README (Adding videos): New section. * website/apps/base/builder.scm (home-builder): Pass 4 videos and/or playlists to the home page template. * website/apps/base/templates/home.scm (home-t): Display videos and playlists in the Instructional videos section. Move the ALL PACKAGES button below the screenshots. * website/apps/media/builder.scm (videos-builder): Use the new list of videos. Put videos in new paths (/LANG/videos/YYYY/video-slug/). (video-list-builder): Build the pages of the catalog of videos and playlists. * website/apps/media/data.scm (videos): New list of videos plus playlists. (playlists): Remove in favor of the new videos list. * website/apps/media/templates/components.scm: (playlist-preview, video-track): New components. (video-preview): Redesign video presentation. Add new keyword parameter, "playing?", to indicate whether the video is the currently playing video in a playlist. (video->shtml, video-content): Removed. Not necessary in the new design. * website/apps/media/templates/video.scm (video-t): Redesign it. * website/apps/media/templates/video-list.scm (video-list-t): Likewise. * website/apps/media/types.scm (): New record type. (