| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
When a link doesn't contain a protocol, it's assumed to be a link to
a relative or absolute path to an internal static file. This link is
checked against the list of collected static files to ensure that it
exists.
For an unlabelled link to an internal static file, the label will be
the file name without preceding path segments.
|
|
|
|
|
| |
This was being triggered when an internal link was given as [[/]],
which is admittedly an invalid link anyway.
|
|
|
|
|
|
| |
The heading section of the link wasn't being suffixed to the generated
link target, so links to a heading on another page were just regular
links to the top of that page.
|
|
|
|
|
|
| |
Each gallery image must be kept in the three directories images/large,
images/small, and images/thumb. A gallery is a fragment with the
language 'gallery' containing a list of image filenames, one per line.
|
|
|
|
|
| |
Source files with extension .redirect will be converted into redirect
pages linking to the internal-style URL in each file.
|
|
|
|
|
|
| |
If the file `toaster.conf` is found in the root of the source directory,
the contents are parsed as key-value pairs. A line with no indentation
is a key, and all following indented lines are the value.
|
|
|
|
|
|
| |
This is an issue because the duplicate headings will have identical
ids, and all links to the lower heading will instead link to the upper
heading.
|
| |
|
|
File traversal can now cope with symbolic links. The original path to
each file is preserved where before they were unintentionally
canonicalized, so the source folder prefix can now be correctly
stripped from the path of each source file.
This commit also adds the !folder syntax from the original toaster.
Directories with a !-prefix are copied without modification to the site
root.
A --delete option has been added to the program. When this option is
set, the destination directory is first deleted if it already exists.
|