Skip to content

Using tags from Pluto notebook metadata #1010

Closed Answered by tlienart
stefanbringuier asked this question in Q&A
Discussion options

You must be logged in to vote

@stefanbringuier kindly update to get the latest commit on tags-i1010. The attached utils.jl file has a few modifications and should work. A few notes:

  • rpath is the relative path to the root of the website in unix/url format. For markdown given that a page foo.md will eventually lead to a foo/index.html which will be accessed at foo/, the rpath is foo; for an assets page however this is not the case, and so the rpath contains the extension, therefore my logic of adding *.html was wrong (ended up checking if file.html.html existed)

this is the core of the error that remained.

Modifications in utils.jl:

  • given the comment above, the sorter(p) = begin ... logic in hfun_taglist_pluto should…

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@stefanbringuier
Comment options

Comment options

You must be logged in to vote
4 replies
@stefanbringuier
Comment options

@tlienart
Comment options

@stefanbringuier
Comment options

@stefanbringuier
Comment options

Comment options

You must be logged in to vote
1 reply
@stefanbringuier
Comment options

Comment options

You must be logged in to vote
2 replies
@stefanbringuier
Comment options

@tlienart
Comment options

Answer selected by stefanbringuier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants