about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xvienna19
1 files changed, 0 insertions, 19 deletions
diff --git a/vienna b/vienna index 29b0617..11de931 100755 --- a/vienna +++ b/vienna
@@ -305,25 +305,6 @@ feed_item() { # feed_item PAGE
305 echo "</item>" 305 echo "</item>"
306} 306}
307 307
308index() { # index PAGE...
309 ## Build a site index from all PAGE(s) passed to it.
310 # Wraps each PAGE in a <li><a> structure.
311 test -f "$INDEX_TEMPLATE" || return 1
312 for FILE; do
313 log index "$FILE"
314 index_item "$FILE"
315 done | expand "$INDEX_TEMPLATE" >"$OUTD/index.html"
316}
317
318feed() { # feed PAGE...
319 ## Build an RSS 2.0 feed from PAGE(s).
320 test -f "$FEED_TEMPLATE" || return 1
321 for FILE; do
322 log feed "$FILE"
323 feed_item "$FILE"
324 done | expand "$FEED_TEMPLATE" >"$OUTD/feed.xml"
325}
326
327static() { # static FILE... 308static() { # static FILE...
328 ## Copy static FILE(s) to $OUTD as-is. 309 ## Copy static FILE(s) to $OUTD as-is.
329 # Performs a simple heuristic to determine whether to copy a file or 310 # Performs a simple heuristic to determine whether to copy a file or