Skip to content

Commit

Permalink
chore: upgrade @zazuko/trifid-markdown-content to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Dec 12, 2023
1 parent ec7e409 commit acc0b29
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 40 deletions.
61 changes: 31 additions & 30 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,33 +134,34 @@ middlewares:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: lindas
directory: file:content/template-parts
content-root:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: lindas-root
directory: file:content/root-pages
mountPath: /
content-documentation:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: lindas-documentation
directory: file:content/documentation
mountPath: /documentation/
content-governance:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: lindas-governance
directory: file:content/governance
mountPath: /governance/
content-technology:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: lindas-technology
directory: file:content/technology
mountPath: /technology/
defaults:
autoLink: true # create links from headings
idPrefix: "content-" # prefix for generated ids for headings
classes: # custom CSS classes for generated HTML elements
h1: h1
h2: h2
h3: h3
h4: h4
h5: h5
table: table

entries:
lindas:
directory: file:content/template-parts
# entries used in templates using `{{{ locals.markdown-content-plugin.lindas.XXXXXXXX }}}`

lindas-root:
directory: file:content/root-pages
mountPath: /

lindas-documentation:
directory: file:content/documentation
mountPath: /documentation/

lindas-governance:
directory: file:content/governance
mountPath: /governance/

lindas-technology:
directory: file:content/technology
mountPath: /technology/
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.4.6",
"type": "module",
"dependencies": {
"@zazuko/trifid-markdown-content": "^0.1.0",
"@zazuko/trifid-markdown-content": "^1.0.0",
"@zazuko/trifid-plugin-ckan": "^2.4.2",
"trifid": "^4.1.1",
"unified": "^11.0.4"
Expand Down
2 changes: 1 addition & 1 deletion plugins/search/view.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="trifid-content">
<div class="container">

{{{ locals.content-plugin.lindas.datasets }}}
{{{ locals.markdown-content-plugin.lindas.datasets }}}

<style type="text/css">
@import url("/static-assets/css/search.css");
Expand Down
2 changes: 1 addition & 1 deletion views/publish.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="trifid-content">
<div class="container">
{{{ locals.content-plugin.lindas.publish }}}
{{{ locals.markdown-content-plugin.lindas.publish }}}
</div>
</div>
4 changes: 2 additions & 2 deletions views/welcome.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<div class="container welcome-container">
<div class="welcome-content">
<div class="welcome-content-left">
{{{ locals.content-plugin.lindas.about-lindas }}}
{{{ locals.markdown-content-plugin.lindas.about-lindas }}}
</div>

<div class="welcome-content-right">
{{{ locals.content-plugin.lindas.linked-data }}}
{{{ locals.markdown-content-plugin.lindas.linked-data }}}
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion views/yasgui.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="trifid-content">
{{{ locals.content-plugin.lindas.sparql }}}
{{{ locals.markdown-content-plugin.lindas.sparql }}}

<style type="text/css">
@import url("/yasgui-dist/yasgui.min.css");
Expand Down

0 comments on commit acc0b29

Please sign in to comment.