Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/scss/_tax_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
display:flex;
margin-bottom: 1.5rem;
}


.article-teaser.article-type-docs h3 a:before {
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ params:
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# add "hide_readingtime: true" to the page's front matter
readingtime:
enable: false
enable: true

links:
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
Expand Down
6 changes: 3 additions & 3 deletions layouts/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}

{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable) (or (eq .Params.type "page") (eq .Params.type "module"))) -}}
{{ partial "reading-time.html" . -}}
{{ end -}}
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
{{ partial "reading-time.html" . -}}
{{ end -}}
</header>

{{ with .Params.plan }}
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/common-curricula-properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
"banner": {{ $banner_url | jsonify }},
"permalink": {{ $page.Permalink | jsonify }},
"type": {{ $type | jsonify }},
"prerequisites": {{ partial "test/collect-prerequisites.html" $page | jsonify }}
"prerequisites": {{ partial "test/collect-prerequisites.html" $page | jsonify }},
"reading_time": {{ $page.ReadingTime | jsonify }}