all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 44847c7d7595899901e3bc29a5334e90d61d36f7 1543 bytes (raw)
name: website/apps/media/templates/publication-list.scm 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
;;; GNU Guix web site
;;; Public domain 2021 Luis Felipe López Acevedo

(define-module (apps media templates publication-list)
  #:use-module (apps base templates theme)
  #:use-module (apps base types)
  #:use-module (apps base utils)
  #:use-module (apps i18n)
  #:use-module (apps media templates components)
  #:export (publication-list-t))


(define (publication-list-t publications)
  "Return the Publication list page in SHTML.

   PUBLICATIONS (list of <publication>)
     See the (apps media types) module for information on the
     <publication> type."
  (theme
   #:title (C_ "webpage title" '("Publications"))
   #:description
   (G_ "A list of written publications about GNU Guix.")
   #:keywords
   ;; TRANSLATORS: |-separated list of webpage keywords.
   (string-split (G_ "Publications|Papers") #\|)
   #:active-menu-item (C_ "website menu" "Publications")
   #:css (list
	  (guix-url "static/base/css/page.css")
	  (guix-url "static/media/css/publications.css"))
   #:crumbs (list (crumb (C_ "website menu" "Publications") "./"))
   #:content
   `(main
     (section
      (@ (class "page"))
      ,(G_ `(h2 "Publications"))

      ,(G_
        `(p
          (@ (class "centered-block limit-width"))

          "The following is a list of written materials that talk about GNU Guix. It is a diverse collection of writings, from blog posts to grey literature to academic and research papers."))

      (div
       (@ (class "publication-list centered-block limit-width"))

       ,@(map publication->shtml publications))))))

debug log:

solving 44847c7 ...
found 44847c7 in https://yhetil.org/guix/4BtcqLwBY7LgeYhUd41lhUUAcT5n2Zn9OTJUzGswTuBpLla8nBHyrQ3kJzwEMI9E7MPEnr6wBqSeCMqByldZ6i5jPR8B7ZtEi0XhwextyQo=@protonmail.com/ ||
	https://yhetil.org/guix/rvOMdPKRHNINHsvhy8aneQ-XeN8CAbV_3HNdrYNCGNvsUZwp7pzSfusn3eH4q1H3CH45XVYjnSkSLkVdX1TZUlIUPRgVtx4oe7cco70mXE4=@protonmail.com/

applying [1/1] https://yhetil.org/guix/4BtcqLwBY7LgeYhUd41lhUUAcT5n2Zn9OTJUzGswTuBpLla8nBHyrQ3kJzwEMI9E7MPEnr6wBqSeCMqByldZ6i5jPR8B7ZtEi0XhwextyQo=@protonmail.com/
diff --git a/website/apps/media/templates/publication-list.scm b/website/apps/media/templates/publication-list.scm
new file mode 100644
index 0000000..44847c7

Checking patch website/apps/media/templates/publication-list.scm...
Applied patch website/apps/media/templates/publication-list.scm cleanly.

skipping https://yhetil.org/guix/rvOMdPKRHNINHsvhy8aneQ-XeN8CAbV_3HNdrYNCGNvsUZwp7pzSfusn3eH4q1H3CH45XVYjnSkSLkVdX1TZUlIUPRgVtx4oe7cco70mXE4=@protonmail.com/ for 44847c7
index at:
100644 44847c7d7595899901e3bc29a5334e90d61d36f7	website/apps/media/templates/publication-list.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.