From ce731958fa24752850ad669a50c04fe2a1348aa5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 6 Jul 2022 01:46:57 +0530 Subject: website: Add home page. * website/index.skb: New file. * tissue.scm (#:web-files): Add index.html. --- tissue.scm | 10 ++++++---- website/index.skb | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 website/index.skb diff --git a/tissue.scm b/tissue.scm index 77cfd9c..fccbf9d 100644 --- a/tissue.scm +++ b/tissue.scm @@ -4,7 +4,9 @@ (indexed-document (cut read-gemtext-issue filename) (string-append "/" (replace-extension filename "html")))) (gemtext-files-in-directory "issues")) - #:web-files (filter-map (lambda (filename) - (file (replace-extension filename "html") - (gemtext-exporter filename))) - (gemtext-files-in-directory "issues"))) + #:web-files (cons (file "index.html" + (skribe-exporter "website/index.skb")) + (filter-map (lambda (filename) + (file (replace-extension filename "html") + (gemtext-exporter filename))) + (gemtext-files-in-directory "issues")))) diff --git a/website/index.skb b/website/index.skb new file mode 100644 index 0000000..5f9546a --- /dev/null +++ b/website/index.skb @@ -0,0 +1,32 @@ +;;; tissue --- Text based issue tracker +;;; Copyright © 2022 Arun Isaac +;;; +;;; This file is part of tissue. +;;; +;;; tissue is free software: you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; tissue is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with tissue. If not, see . + +(document :title "tissue" + (p [tissue is an issue tracker and project information management +system built on plain text files and git. It is specifically intended +for small free software projects. It features a static site generator +to build a project website and a powerful search interface to search +through project issues and documentation. The search interface is +built on the ,(ref :url "https://xapian.org/" :text "Xapian search +engine library"), and is available both as a command-line program and +as a web server.]) + (section :title "License" :number #f + (p [tissue is free software released under the terms of the ,(ref +:url "https://www.gnu.org/licenses/gpl.html" :text "GNU General Public +License"), either version 3 of the License, or (at your option) any +later version.]))) -- cgit v1.2.3