Commit 7425a474 authored by Zhou Fang's avatar Zhou Fang
Browse files

Added shortcode for newsroom resources

parent fd1cb1dd
{{ $wg := .Get "wg" | default "eclipse_org" }}
{{ $title := .Get "title" | default "" }}
{{ $type := .Get "type" | default "" }}
{{ $template := .Get "template" | default "list" }}
{{ $limit := .Get "limit" | default "" }}
{{ $skip := .Get "skipItems" | default "" }}
{{ $class := .Get "class" | default "" }}
{{ $viewMorePath := .Get "viewMorePath" | default "" }}
<div class="newsroom-resources" data-res-wg="{{ $wg }}" data-res-title="{{ $title }}" data-res-type="{{ $type }}" data-res-template="{{ $template }}" data-res-limit="{{ $limit }}" data-res-skip="{{ $skip }}" data-res-class="{{ $class }}" data-res-view-more="{{ $viewMorePath }}"></div>
......@@ -24,7 +24,7 @@
"readmeFilename": "README.md",
"dependencies": {
"axios": "^0.21.1",
"eclipsefdn-solstice-assets": "0.0.198",
"eclipsefdn-solstice-assets": "0.0.199",
"json2yaml": "^1.1.0",
"toml": "^3.0.0"
},
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment