Skip to content

Commit 6fd40b2

Browse files
authored
Merge branch 'master' into add-lab
2 parents 4f60e4d + 990d4e2 commit 6fd40b2

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

assets/scss/_sidebar-tree.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,14 @@
116116
font-weight: $font-weight-bold;
117117
border-bottom: 1px solid $secondary;
118118
margin-bottom: 1rem;
119+
font-size:large;
120+
119121
}
120122
}
121123
.level-0.td-sidebar-nav__section-title a {
122124
color: $dark;
123-
&.active {
124-
font-weight: $font-weight-bold;
125-
color: $dark
126-
}
127125
}
128126

129-
130127
.level-2.td-sidebar-nav__section-title a {
131128
color: $gray-800;
132129
font-weight: $font-weight-medium;

assets/scss/_tax_project.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
display:flex;
269269
margin-bottom: 1.5rem;
270270
}
271+
271272

272273
.article-teaser.article-type-docs h3 a:before {
273274
display: inline-block;

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ params:
168168
# If you want this feature, but occasionally need to remove the Reading time from a single page,
169169
# add "hide_readingtime: true" to the page's front matter
170170
readingtime:
171-
enable: false
171+
enable: true
172172

173173
links:
174174
# End user relevant links. These will show up on left side of footer and in the community page if you have one.

layouts/list.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<h1>{{ .Title }}</h1>
44
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
55

6+
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable) (or (eq .Params.type "page") (eq .Params.type "module"))) -}}
7+
{{ partial "reading-time.html" . -}}
8+
{{ end -}}
69
<header class="article-meta{{ if or .Params.categories .Params.tags }} article-meta-bg{{ end }}">
710
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
8-
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
9-
{{ partial "reading-time.html" . -}}
10-
{{ end -}}
1111
</header>
1212

1313
{{ with .Params.plan }}

layouts/partials/common-curricula-properties.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
"banner": {{ $banner_url | jsonify }},
1414
"permalink": {{ $page.Permalink | jsonify }},
1515
"type": {{ $type | jsonify }},
16-
"prerequisites": {{ partial "test/collect-prerequisites.html" $page | jsonify }}
16+
"prerequisites": {{ partial "test/collect-prerequisites.html" $page | jsonify }},
17+
"reading_time": {{ $page.ReadingTime | jsonify }}

0 commit comments

Comments
 (0)