This website works better with JavaScript.
Home
Explore
Help
Sign In
brennen
/
wrt
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
27
Wiki
Activity
Almost-minimal filesystem based blog.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
450
Commits
1
Branch
2.2 MiB
Branch:
main
main
v5.0.0-alpha
v4.3.0
v4.2.2
v4.2.0
2008-03-15
2008-01-28
2008-01-11
2007-10-04
2007-09-11
2007-08-08
2007-07-07
2007-06-21
2007-06-20
2007-03-10
v8.0.0
v7.1.0
v7.0.0
v6.3.1
v6.3.0
v6.2.4
v6.2.3
v6.2.2
v6.2.1
v6.2.0
v6.1.0
v6.0.0
v5.0.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'main'
${ noResults }
wrt
/
example
/
blog
/
archives
/
1952
/
2
/
13
3 lines
64 B
Raw
Permalink
Normal View
History
add a full tagging system to wrt This entails a bunch of stuff, and I'm not sure how good an idea a lot of it is. - Adds a new tagging format for properties: tag.foo.bar.prop Where `foo` and `bar` are treated as elements of a path. Thus if `archives/2019/10/5/tag.topics.technical.prop` exists, then the entry at `/topics/technical` will link back to `/2019/10/5`. - Adds "virtual" entries - if tags link to entries that don't exist, they're implicitly created. - Adds a concept of metadata distinct from (but about) entry text, and caches this for every entry. - Adds caching of child entries to EntryStore. - Migrates `get_sub_entries()` and `subentry_expr` into EntryStore. There are XXX comments littered all over the place at this point. Stuff will definitely change before a release.
5 years ago
EntryStore: Add methods for further slicing entry list Including: - children() - get immediate children of entry - parent($entry) - get immediate parent of entry - days_for($container) - get days in a month or year - months_for($year) - get months contained in a year - basename($entry) - get basename of an entry These are used in App::WRT::year() and App::WRT::month(), replacing some dir_list() invocations and at least somewhat simplifying the code.
5 years ago
<h1>Wednesday, February 13, 1952</h1>
<p>I still miss you.</p>