чување e6c509597018d44ef2e3fcc406d6a29d84f57cdd
родитељ 853bbd5ef6265224b39ee5cc54d6bbef961c9b45
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 4 Feb 2021 19:15:51 +0100
Changed made-by URL
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 3, додавања: 5(+), брисања: 3(-)
diff --git a/defs.h b/defs.h
@@ -41,6 +41,7 @@
#define PROGRAMNAME "slweb"
#define VERSION "0.3.7"
#define COPYRIGHTYEAR "2020, 2021"
+#define MADEBY_URL "https://strahinja.github.io/slweb"
#define BUFSIZE 1024
#define KEYSIZE 256
diff --git a/index.html b/index.html
@@ -136,12 +136,12 @@ this program. If not, see <<a href="https://www.gnu.org/licenses">https://www
<div id="git-log">
Previous commit:
-index.slw 5dba739 2021-02-02 22:40:12 +0100 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
+index.slw 853bbd5 2021-02-04 14:12:24 +0100 (Страхиња Радић) (HEAD -> master, tag: v0.3.8, origin/master, origin/HEAD)
</div><!--git-log-->
<div id="made-by">
-Generated by <a href="https://github.com/Strahinja/slweb">slweb</a>
+Generated by <a href="https://strahinja.github.io/slweb">slweb</a>
© 2020, 2021 Strahinya Radich.
</div><!--made-by-->
diff --git a/slweb.c b/slweb.c
@@ -1297,10 +1297,11 @@ process_tag(uint8_t* token, FILE* output, BOOL read_yaml_macros_and_links,
&& !read_yaml_macros_and_links) /* {made-by} */
{
print_output(output, "<div id=\"made-by\">\n"
- "Generated by <a href=\"https://github.com/Strahinja/slweb\">"
+ "Generated by <a href=\"%s\" target=\"_blank\">"
"slweb</a>\n"
"© %s Strahinya Radich.\n"
"</div><!--made-by-->\n",
+ MADEBY_URL,
COPYRIGHTYEAR);
}
else if (startswith((char*)token, "csv")) /* {csv} */