]> git.armaanb.net Git - stagit.git/commitdiff
Rename desc to description
authorArmaan Bhojwani <me@armaanb.net>
Sun, 18 Apr 2021 17:37:27 +0000 (13:37 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 18 Apr 2021 17:37:27 +0000 (13:37 -0400)
man/stagit-index.1
src/stagit-index.c

index ed7239fd6f0b676cd69dd107e5f60a77d6837981..1091f461741653b98a92e3f789123a23ee385b4f 100644 (file)
@@ -33,7 +33,7 @@ For changing the style of the page you can use the following files:
 favicon image.
 .It logo.png
 32x32 logo.
-.It desc, desc.md
+.It description, description.md
 A plaintext or markdown description to include on the index.
 .It style.css
 CSS stylesheet.
index 2a23e8f943dd4de5df20c96ade90564193172515..e226b0d1e1a122f30b599b844c810cfca24fe926 100644 (file)
@@ -84,8 +84,8 @@ writeheader(char *path)
        xmlencode(fp, description, strlen(description));
        fputs("</h1>\n", fp);
 
-       FILE *longdesc = fopen("desc.md", "r");
-       if (longdesc == NULL) longdesc = fopen("desc", "r");
+       FILE *longdesc = fopen("description.md", "r");
+       if (longdesc == NULL) longdesc = fopen("description", "r");
        if (longdesc != NULL) {
                char c = fgetc(longdesc);
 #ifdef HAS_CMARK