slweb

Једноставни генератор статичких веб страна
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 13a61325e22e02e9ed12e1cf348deb6378410198
родитељ 9f0807ac8319c5ca8969b6cd1f938b760a265eb2
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Wed,  6 Jan 2021 12:22:27 +0100

Added 2021 into copyright years

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mdefs.h | 3++-
Mindex.html | 6+++---
Mindex.slw | 2+-
Mslweb.c | 7++++---
измењених датотека: 4, додавања: 10(+), брисања: 8(-)

diff --git a/defs.h b/defs.h @@ -1,6 +1,6 @@ /* * slweb - Simple static webpage generator - * Copyright (C) 2020 Страхиња Радић + * Copyright (C) 2020, 2021 Страхиња Радић * * This program 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 @@ -39,6 +39,7 @@ #define PROGRAMNAME "slweb" #define VERSION "0.3.2-beta" +#define COPYRIGHTYEAR "2020, 2021" #define BUFSIZE 1024 #define DATEBUFSIZE 12 diff --git a/index.html b/index.html @@ -111,7 +111,7 @@ slweb</code>) after installing <strong>slweb</strong> for more information.</p> <h2>License</h2> <p>slweb - Simple static website generator.<br /> -Copyright (C) 2020 Страхиња Радић</p> +Copyright (C) 2020, 2021 Страхиња Радић</p> <p>This program 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 @@ -127,13 +127,13 @@ this program. If not, see &lt;<a href="https://www.gnu.org/licenses">https://www <div id="git-log"> Previous commit: -index.slw 37b6ecb 2021-01-04 13:37:53 +0100 (Страхиња Радић) (HEAD -> master, tag: v0.3.3-beta, origin/master, origin/HEAD) +index.slw e00ce18 2021-01-06 12:22:27 +0100 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD) </div><!--git-log--> <div id="made-by"> Generated by <a href="https://github.com/Strahinja/slweb">slweb</a> -© 2020 Strahinya Radich. +© 2020, 2021 Strahinya Radich. </div><!--made-by--> </main> diff --git a/index.slw b/index.slw @@ -105,7 +105,7 @@ slweb`) after installing **slweb** for more information. ## License slweb - Simple static website generator. -Copyright (C) 2020 Страхиња Радић +Copyright (C) 2020, 2021 Страхиња Радић This program 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 diff --git a/slweb.c b/slweb.c @@ -1,6 +1,6 @@ /* * slweb - Simple static webpage generator - * Copyright (C) 2020 Страхиња Радић + * Copyright (C) 2020, 2021 Страхиња Радић * * This program 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 @@ -676,8 +676,9 @@ process_tag(uint8_t* token, FILE* output, KeyValue** macros, fprintf(output, "<div id=\"made-by\">\n" "Generated by <a href=\"https://github.com/Strahinja/slweb\">" "slweb</a>\n" - "© 2020 Strahinya Radich.\n" - "</div><!--made-by-->\n"); + "© %s Strahinya Radich.\n" + "</div><!--made-by-->\n", + COPYRIGHTYEAR); } else if (startswith((char*)token, "include")) /* {include} */ {