unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 8d2193213854c30b8eb7cd50756e68f99f7096c0 2650 bytes (raw)
name: website/www/shared.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
 
(define-module (www shared)
  #:use-module (www shared)
  #:export (html-page-header
	    html-page-description
	    html-page-links
	    html-page-footer))

(define (html-page-header title)
  `(head (meta (@ (charset "utf-8")))
	 (meta (@ (name "author")
		  (content "GuixSD Contributors")))
	 (meta (@ (name "description")
		  (content
		   "GuixSD is GNU's advanced system distribution. GNU is an
operating system which respects the freedom of computer users. You are free to
run the system for any purpose, study how it works, improve it, and share it
with the whole world.")))
	 (meta (@ (name "keywords")
		  (content
		   "GNU, FSF, Free Software Foundation, Linux, Emacs, GCC,
Unix, Free Software, Libre Software, Operating System, GNU Kernel, GNU Hurd,
GUix Package Manager, Guile Scheme, Functional package management")))
	 (meta (@ (name "viewport")
		  (content "width=device-width, initial-scale=1.0")))
	 (link (@ (type "text/css")
		  (rel "stylesheet")
		  (href "/software/guix/static/base/css/base.css")))
	 (link (@ (type "text/css")
		  (rel "stylesheet")
		  (href "/software/guix/static/base/css/index.css")))
	 (link (@ (type "image/png")
		  (rel "icon")
		  (href "/software/guix/static/base/img/favicon.png")))
	 (link (@ (rel "license") (href "Pending...")))
	 (title ,(string-append title " - GuixSD"))))

(define (html-page-description)
  `(div (@ (class "message-box msg-info"))
	(span (@ (class "msg-label")) "Note ")
	"The Guix System Distribution (GuixSD) is alpha software. This means it
is not production-ready. It may contain bugs and lack important features. But
more than a disclaimer, this is an invitation to join us in improving it. See "
	(a (@ (href "/software/guix/contribute/")) "Contributing")
	", for more information. We hope you can soon switch to GuixSD without
fear. "))

(define (html-page-links)
  `(div (@ (id "header-box"))
	(a (@ (id "logo") (href "/software/guix/"))
	   (img (@ (src "/software/guix/static/base/img/GuixSD-logo.png")
		   (alt "GuixSD"))))
	(ul (@ (id "site-nav"))
	    (li (a (@ (href "/software/guix/download/")) "Download"))
	    (li (a (@ (href "/software/guix/package-list.html")) "Packages"))
	    (li (a (@ (href "/software/guix/help/")) "Help"))
	    (li (a (@ (href "/software/guix/contribute/")) "Contribute"))
	    (li (a (@ (href "/software/guix/donate/")) "Donate"))
	    (li (a (@ (href "/software/guix/about/")) "About")))))

(define (html-page-footer)
  `(div (@ (id "footer-box"))
	"copyleft 2015 GuixSD "
	(a (@ (href "/software/guix/contribute/") (class "hlink-yellow"))
	   "Contributors")
	". Made with " (span (@ (class "metta")) "♥") " by humans."))

debug log:

solving 8d21932 ...
found 8d21932 in https://yhetil.org/guix-devel/87egmr7lro.fsf@openmailbox.org/

applying [1/1] https://yhetil.org/guix-devel/87egmr7lro.fsf@openmailbox.org/
diff --git a/website/www/shared.scm b/website/www/shared.scm
new file mode 100644
index 0000000..8d21932

Checking patch website/www/shared.scm...
Applied patch website/www/shared.scm cleanly.

index at:
100644 8d2193213854c30b8eb7cd50756e68f99f7096c0	website/www/shared.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).