From 4de4451b3fadb7a3d0f1d03bec91ddca7b5731e2 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 14 Nov 2022 20:43:06 -0500 Subject: backstage index should have anchors --- emacsconf-publish.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'emacsconf-publish.el') diff --git a/emacsconf-publish.el b/emacsconf-publish.el index 9965414..d31371d 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -228,7 +228,7 @@ emacsconf-tracks))) (defun emacsconf-index-card-video (video-id video-file talk extensions &optional backstage) - (let* ((video-base (and video-file (file-name-base video-file))) + (let* ((video-base (and video-file (replace-regexp-in-string "reencoded\\|original" "main" (file-name-base video-file)))) (chapter-info (and video-file (emacsconf-make-chapter-strings (expand-file-name @@ -951,7 +951,8 @@ Entries are sorted chronologically, with different tracks interleaved." (if (plist-get f :caption-note) (concat "
" (plist-get f :caption-note) "
") "") :files (emacsconf-publish-talk-files f files)))) - (format "
  • %s
    %s (id:%s)
    %s
  • " + (format "
  • %s
    %s (id:%s)
    %s
  • " + (plist-get f :slug) emacsconf-base-url (plist-get f :url) (plist-get f :title) @@ -972,7 +973,8 @@ Entries are sorted chronologically, with different tracks interleaved." (if (plist-get f :captioner) (concat "
    Being captioned by " (plist-get f :captioner) "
    ") "") :files (emacsconf-publish-talk-files f files)))) - (format "
  • %s
    %s (id:%s)
    %s
  • " + (format "
  • %s
    %s (id:%s)
    %s
  • " + (plist-get f :slug) emacsconf-base-url (plist-get f :url) (plist-get f :title) @@ -986,7 +988,8 @@ Entries are sorted chronologically, with different tracks interleaved." (length (assoc-default "TO_STREAM" by-status)) (emacsconf-sum :video-time (assoc-default "TO_STREAM" by-status)) (mapconcat (lambda (f) - (format "
  • %s
    %s (id:%s)
    %s
  • " + (format "
  • %s
    %s (id:%s)
    %s
  • " + (plist-get f :slug) emacsconf-base-url (plist-get f :url) (plist-get f :title) -- cgit v1.2.3