git.y1.nz

sgw

Static git web (fork of stagit)
download: https://git.y1.nz/archives/sgw.tar.gz
README | Files | Log | Refs | LICENSE

config.h

      1 /* Only macros! :) */
      2 
      3 /********* global configurations ************/
      4 /* url of the stylesheet */
      5 #define STYLE_HREF  "/style.css"
      6 
      7 /* whether to generate a page for each dir in a repo */
      8 #define DIR_PAGES  1
      9 
     10 /* where to truncate the commit history */
     11 #define MAX_COMMITS  10
     12 
     13 /* where to check for license files */
     14 #define LICENSE_FILES  "HEAD:LICENSE", "HEAD:LICENSE.md", \
     15                        "HEAD:LICENSE.txt", "HEAD:COPYING"
     16 /* where to check for readme files */
     17 #define README_FILES  "HEAD:README", "HEAD:README.md"
     18 
     19 /********* index (of repos) page configurations ************/
     20 /* the relative path to save to index page to */
     21 #define INDEX_DEST  "index.html"
     22 
     23 /* title of the index page */
     24 #define INDEX_TITLE  "Emma's Repositories"
     25 
     26 /* shown at the top of index page */
     27 #define INDEX_HEADER  "<span>" \
     28 	"<a href=\"https://y1.nz\">y1.nz</a>" \
     29 "</span>"
     30 
     31 /********* repository page configurations ************/
     32 /* the relative path to save each repository's page to */
     33 #define PAGE_DEST  "%s", data->repo_name
     34 
     35 /* shown at the top of each repo page */
     36 #define PAGE_HEADER  "<span> <a href=\"/\">git.y1.nz</a> </span>"
     37 
     38 /* shown at the top of each repo page */
     39 #define REPO_INDEX_CONTENTS  "<p><i>" \
     40 	"These pages are intended as an accessible preview of the " \
     41 	"repository. To get a fuller picture, download the source " \
     42 	"code." \
     43 "</i></p>"
     44 
     45 /* label shown before download/clone link */
     46 #define PAGE_ACCESS_LABEL  "download"
     47 
     48 /* shown at the bottom of each repo page */
     49 #define PAGE_FOOTER  "&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;"

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.