| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* tekuti/template.scm (templatize): Replace `div.footer' with
`p small', looks more like fine-print.
|
| |
| |
| |
| |
| | |
* tekuti/template.scm (templatize): Replace `div.footer' with
`p small', looks more like fine-print.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Move the old blog list to `/blog/'
* tekuti/config.scm (*index-content*): New configuration, SXML
contents of the index page. Should be overridden in any usual way.
* tekuti/page.scm (page-blog): Renamed from `page-index'.
(page-index): New page. Just returns `*index-content*'.
* tekuti/web.scm (choose-handler): Send `/blog/' to `page-blog'.
|
| |
|
| |
|
|
|
|
|
| |
* tekuti/page-helpers.scm (show-post): Show meta info in the `h1' in a
`small' block, not in a `h3'.
|
|
|
|
|
|
| |
* tekuti/page-helpers.scm: Don't put the sidebar in a `ul'.
(main-sidebar): Remove the image after "subscribe". Add a search
icon next to the search bar. Don't put the tags cloud in a `ul'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tekuti/config.scm (*bootstrap-base*): New setting. This variable
should be a relative or absolute URL to the location of the
bootstrap base, where the `css', `img' and `js' directories
containing the correct files.
* tekuti/page.scm (page-index): Place the `main-sidebar' in a column
next to the main text instead of above it.
* tekuti/template.scm (templatize): Make the template more
bootstrappy.
|
|
|
|
| |
* tekuti/util.scm (urlish?): Use string->uri.
|
|
|
|
|
|
| |
* tekuti/git.scm (git-rev-parse): Try to read the ref ourselves, first.
Fall back to using git if that doesn't work (for example, if it's a
packed ref).
|
|
|
|
|
| |
* tekuti/page-helpers.scm (respond): Give no body if there is no SXML.
Fixes perhaps spurious errors raised by Guile's web server.
|
| |
|
|
|
|
|
| |
* tekuti/request.scm (request-path-case): Dispatch HEAD requests as GET
requests, relying on new Guile web servers to elide the HEAD body.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inspired by a patch from Aleix Conchillo Flaqué. Thanks, Aleix!
* tekuti/index.scm (index-specs):
* tekuti/post.scm (reindex-posts, reindex-posts-by-date): Change to have
the "posts" index be a hash table mapping key -> post.
"posts-by-date" is a list of keys, from newest to oldest.
(post-from-git): This is what post-from-key was.
(post-from-key): New function, pulls out a post from the posts hash
table.
(munge-post): Use post-from-git.
(delete-post): Take the post directly.
(latest-posts): New awesome helper for fetching the lastest N posts
that match some predicates.
* tekuti/page-helpers.scm (find-posts-matching): Adapt to post-from-key
change.
(published-posts): Remove, replaced with latest-posts.
* tekuti/page.scm (page-admin, page-admin-posts, page-admin-post)
(page-archives, page-feed-atom): Use the new latest-posts helper.
(page-admin-delete-post, page-admin-delete-comment, page-show-post)
(page-new-comment, page-show-tag): Adapt to post-from-key change.
* tekuti/tags.scm (compute-related-posts, compute-related-tags): Adapt
to post-from-key change.
(reindex-tags): Use latest-posts.
|
|
|
|
|
| |
* tekuti/index.scm (maybe-reindex): Reindex within a
call-with-error-handling.
|
|
|
|
| |
* tekuti/page.scm (page-show-tag): Add a feed link here.
|
|
|
|
| |
* tekuti/page.scm (page-feed-atom): Reduce "with=unknown" to nothing.
|
|
|
|
|
| |
* tekuti/page.scm (page-feed-atom): Reimplement more clearly, and give
"with" inclusionary meaning.
|
|
|
|
|
|
|
|
| |
* tekuti/page.scm (page-feed-atom): Reimplement Brian's thing with
"with" and "without" query args, to allow for multiple tags to be
included or excluded.
* tekuti/request.scm (request-query-ref-all): New helper.
|
|
|
|
|
|
|
|
|
|
| |
* tekuti/util.scm (with-output-to-string*, with-input-from-string*): New
hacky helpers, which close the port before returning the string or
result. Hopefully reduce pressure on the GC.
(shell:quote):
* tekuti/git.scm (git-commit-reverse-operations, with-output-to-blob*)
(with-input-from-blob*):
* tekuti/filters.scm (wordpress->sxml): Use the string* procedures.
|
| |
|
|
|
|
|
| |
* tekuti/git.scm (run): Don't set encoding on pipe, as we just use
bytevector io anyway.
|
|
|
|
|
|
| |
* tekuti/git.scm:
* tekuti/request.scm: Use ice-9 binary-ports instead of (rnrs io
ports).
|
|
|
|
|
|
|
|
| |
* tekuti/url.scm: Remove.
* Makefile.am: Remove url.scm
* tekuti/post.scm: Remove reference to (tekuti url).
(parse-post-data): Use uri-encode.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
publishing
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
youtube/googlevideo
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tekuti/mod-lisp.scm: update tekuti/mod-lisp to parse headers to
symbols, and to deal in bytevectors only.
|
|
|
|
|
|
| |
* tekuti/request.scm (request-form-data): Allow the body to be a
bytevector. Update to new uri interface, and allow alternate
encodings.
|
|
|
|
|
| |
* tekuti/mod-lisp.scm (mod-lisp-read): Like the http impl, just setvbuf
once, and don't throw away data (!).
|