| Commit message (Collapse) | Author | Age | Files |
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 6951fb6111bfe48434f9c60eb81396bb10270b47.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Provide some more information and notes on tags. Not so positive,
though. See *notes* and *tracker/meta-tags.mdwn*.
|
| |
|
|
|
|
|
|
|
| |
Collect a broad series of possible improvements to Pandoc Ikiwiki
plugin management of meta block attributes. The issues are best
consumed via the collection page: *issues.mdwn*. Also main tracker
document added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add further lists of meta keys to include (*hash_meta_keys*
and *list_hash_meta_keys*), add them to the *list_meta* map in
subroutine *htmlize* and provide them to *pagestate* *meta*.
This makes available, e.g. the *reference* attribute in page
templates.
The commit require some explanation.
Until now, meta attributes were available as
* Bolean meta (*bool_meta*)
* Scalar meta (*scalar_meta*)
* List meta (*list_meta*)
All meta attributes in documents are provided as page template
variables with a 'pandoc_'-prefix. On top of that, attributes listed
in *scalar_meta_keys* are made available as regular template
variables, without prefix.
Lists are problematic. Pure lists are pushed with 'pandoc_' prefix,
but they can not be used. The alternative would be via loops (see
<https://metacpan.org/pod/HTML::Template#TMPL_LOOP>), but inside loops
one need to call for a variable and the pushed attribute does not
provide one.
This commit properly makes available the *reference* attribute, which
is of type list of associated list. This construct actually fully
natural fulfil the limitations of lists. Template loops generate the
items, whose values are available with keys as variable names:
---
references:
- id: refone
title: Ref-MetaInlines-in-MetaList
- id: reftwo
title: Ref-MetaInlines-in-MetaList
...
Which is called like this:
<TMPL_IF REFERENCES>
<TMPL_LOOP REFERENCES>
<TMPL_VAR ID>
<TMPL_VAR TITLE>
</TMPL_LOOP>
</TMPL_IF>
How is hacky. The items in *hash_meta_keys* and *list_hash_meta_keys*
are added to *list_meta_keys* and undergo the list processing. The
list processing contradictory adopted better for *list_hash_meta_keys*
than for *list_meta_keys*.
|
|
|
|
|
|
| |
In function *pagetemplate*, template variables are added as pandas_*
variables. This fix provides also those listed as scalar and list meta
keys without the Pandoc prefix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support in *unwrap_c* for support of the structure: *MetaList*
with 2 x *MetaMap* with keys pointing to *MetaInlines*:
---
references:
- id: refone
title: Ref-MetaInlines-in-MetaList
- id: reftwo
title: Ref-MetaInlines-in-MetaList
...
Actually it sounds complex but this fix should also be needed for the
simpler example of *MetaMap* with keys pointing at *MetaInlines*:
---
experiment:
key_first: Värde
key_second: värde
...
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a wiki page, *test.mdwn* which is more stripped and contains more
meta variables. Also update the *nonempty.tmpl* page template. Also
add an index page, i.e. include the added *test.mdwn* through inlining
with *nonempty.tmpl* into a page *index.mdwn*.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read the last line in *notes*.
Document *notes* added with some notes. Files *nonempty.tmpl*
and *arg-for-fripost.mdwn* are uppdated with more template variable
things.
In *pandoc.pm*:
* Debug dumps from subroutine *pagetemplate* improved
* Some extra meta things are tried out
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add the referred to templates.
Also update some tags in pages
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
.ikiwiki/IkiWiki/Plugin/pandoc.pm
|
| |
| |
| |
| | |
Also provides link to the password information page.
|
| | |
|
| |
| |
| |
| | |
In collaboration between: LJO, GM, LM, LB, GE
|
| |
| |
| |
| |
| |
| |
| | |
Add link in menue drop down list on website to cloud.fripost.org. Also
translate menu items to swedish.
In collaboaration: LJO, LM, LB, GM, GE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pandoc plugin, *pandoc.pm*, is updated for the upstream HEAD:
>https://github.com/sciunto-org/ikiwiki-pandoc.git>
> e0b6a52
> 2019-02-02T18:52:47+00:00
> Merge pull request #23 from mletterle/format-arg
> baldur.kristinsson@gmail.com
In Pandoc 2.2.1, packaged for Debian 10 Buster, options `--smart/-S`
are removed as well as `--normalize`. Normalisation is default and one
should use `+smart` or `-smart` extension instead.
This version of the Ikiwiki plugin is compatible for those
|
| | |
|
| |
| |
| |
| |
| |
| | |
Replace the repository Pandoc plugin *pandoc.pm* in preference for
that of Fripost ansible repository
<https://git.fripost.org/fripost-ansible>. Path */roles/wiki/files/var/lib/ikiwiki/IkiWiki/Plugin/pandoc.pm*
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Complete one of 2013 events with some
metadata. Complete *someevent.mdwn* with one inclusion with a new
template.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
Placeholder pages are added for each of the listed inquiries. Links
are added from the index page.
The existing *2019-03-28-flfd.mdwn* is updated to the format.
|
| |
| |
| |
| |
| | |
In replacement for to put all links to inquirers in main index, a
index page is created: inquiries.mdwn.
|
| | |
|