Commit Graph

28 Commits

Author SHA1 Message Date
0101078c5e ignore md/html files starting in __
consider them as drafts and not to be published
2025-06-12 11:21:22 +02:00
EmaMaker
8b6f300189 index pages use source file birth instead of output
this was a bug introduced with index pages for subsections
2023-08-12 10:01:38 +02:00
emamaker
a03113d112 correctly update title for current index page 2023-05-19 23:56:22 +02:00
emamaker
52b4b836f2 "Pages in this section" -> "Pages in *file title*" 2023-05-17 23:53:18 +02:00
emamaker
4536162c42 "Pages in this section" instead of "Pages" in subdirectories index file list 2023-05-17 23:52:55 +02:00
emamaker
5538ba5c59 "Pages" list also for index.html files in subdirectories 2023-05-17 23:52:16 +02:00
emamaker
387202b935 fix typo in comment
Prepate->Prepare
2023-05-08 13:30:24 +02:00
85bed955cc add missing newline in -h 2022-10-04 12:12:53 +02:00
2420bc6d6d fixed _header.html being replaced by _footer.html 2021-11-23 19:59:43 +01:00
8f1508e200 removed find -regex and merged pattern into awk command
basically this means that rivet works on alpine (busybox)
2021-11-18 00:20:05 +01:00
073c779f93 removed the use of sed -i which is not portable 2021-11-18 00:07:09 +01:00
c49758a5c5 do not prepend full url to linklist
that breaks links when browsing locally and when https is not availeble or
vice-versa
2021-07-08 18:27:58 +02:00
a5e0be8a3f use mktemp(1) for temporary files 2021-06-18 13:26:05 +02:00
2d7d0e7f22 fix not deleting _meatadata.html 2021-06-12 14:24:47 +02:00
280d0946db version 0.3
fixes:
	- fixed the mess of options and general inconsistencies between program
	  man page and help message
	- fixed some cases where rivet should fail but didn't and specified
	  return values for all exit conditions
	- fixed the header system, before the header would have been added
	  inside of <head></head> which is incorrect, browsers would fix it
	  on the fly but still it is not correct.
	  Now _header.html contents are put inside <header></header> at the
	  beginning of <body>
	- fixed <footer> outside of <body>
	- some fixes in the man page

additions:
	- added the requirement for _metadata.html, this file contains tags
	  and html metadata that is put inside <head>
	- the main article is now enclosed inside <article></article> tags for
	  better styling
2021-06-12 13:08:51 +02:00
5ac9e2ae5f fixed date
Before the date was taken on the destination files, since they are generated
in the right order, lists based on last modified date were right but with
the wrong date.

Now rivet creates another list during the creation of the main object list just
for storing dates of the source files. There is a 1:1 correspondance between
the files in the objlist and the dates in the objdate lists so they can be
retrived with the same counter.

Another change is that now shortened dates are displayed in the index link
list.
2021-06-11 16:01:05 +02:00
ac778f6537 option to include everything in atom feed
Fixed missing newlines in help message and made it so that setting the -m flag
to 0 incudes all files in the atom feed. Also madde this behaviur the default
2021-06-08 12:29:02 +02:00
21ca01e83d updated copyright
updated copyright to 2021
2021-03-27 23:07:05 +01:00
c84cdbc5e4 added id to feed elements 2021-03-21 14:32:00 +01:00
4c6f06b6b7 version 0.2
changes:
	- rivet now generates an atom feed with the last 3 (configurable)
		modified articles
	- rivet now generates links in the index list to html files in srcdir
	- Articles with unkown title will have their filename as the title
	- minor code refractor
2021-03-21 14:22:20 +01:00
81fd16023d link list is now in date order (hopefully) 2020-11-23 23:44:24 +01:00
6b5c973a64 added license to source file 2020-09-10 16:46:30 +02:00
8e48ec1f92 make rivet.sh non executable 2020-09-10 16:40:08 +02:00
4558654a48 clean destination directory before build 2020-09-10 16:38:47 +02:00
e0367536ea more bugfixes 2020-09-10 16:35:06 +02:00
b7a25b796a corrected usage information 2020-09-10 16:23:58 +02:00
b428fe5616 more options and bug fixes 2020-09-10 16:21:38 +02:00
635c2d8521 added makefile for easy install 2020-09-10 01:09:34 +02:00