mirror of
git://git.savannah.gnu.org/guix/guix-artwork.git
synced 2023-12-14 05:33:02 +01:00
3e25cce32c
Suggested by sirgazil <sirgazil@zoho.com>. * website/static/base/css/screenshots.css: Rename file to ... * website/static/media/css/screenshots.css: ... this. * website/apps/base/templates/screenshot.scm: Rename file to ... * website/apps/media/templates/screenshot.scm: ... this. (screenshot-t): Adapt path to CSS. * website/apps/base/builder.scm (builder, screenshots-builder): Move code for and references to screenshots-builder from here to ... * website/apps/media/builder.scm: ... this new file. * website/apps/base/data.scm (screenshots): Move from here to ... * website/apps/media/data.scm: ... this new file. * website/apps/base/templates/components.scm (screenshot->shtml): Move from here to ... * website/apps/media/templates/components.scm: ... this new file. * website/apps/base/types.scm (<screenshot>, screenshot): Move from here to ... * website/apps/media/types.scm: ... this new file. * website/apps/base/templates/home.scm: Adapt module references. * website/haunt.scm (site): Add media builder.
26 lines
869 B
Scheme
26 lines
869 B
Scheme
;;; GNU Guix web site
|
||
;;; Initially written by sirgazil who waives all
|
||
;;; copyright interest on this file.
|
||
|
||
(use-modules ((apps base builder) #:prefix base:)
|
||
((apps blog builder) #:prefix blog:)
|
||
((apps download builder) #:prefix download:)
|
||
((apps media builder) #:prefix media:)
|
||
((apps packages builder) #:prefix packages:)
|
||
(haunt asset)
|
||
(haunt builder assets)
|
||
(haunt reader)
|
||
(haunt reader commonmark)
|
||
(haunt site))
|
||
|
||
|
||
(site #:title "GNU Guix"
|
||
#:domain "https://guix.gnu.org"
|
||
#:build-directory "/tmp/gnu.org/software/guix"
|
||
#:readers (list sxml-reader html-reader commonmark-reader)
|
||
#:builders (list base:builder
|
||
blog:builder
|
||
download:builder
|
||
media:builder
|
||
packages:builder
|
||
(static-directory "static")))
|