Skip to content

Commit

Permalink
Adjustments following the code review
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-baiborodine committed Sep 21, 2020
1 parent a9fdc3b commit 85e7fb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
16 changes: 3 additions & 13 deletions assets/sass/_articles.scss
Expand Up @@ -169,23 +169,13 @@ article {
ul {
display: list-item;
padding-left: 0;
}

ul {
ul {
&:not(:first-child) {
display: list-item;
padding-left: 0.9rem;
font-size: 95%;

ul {
display: inherit;
padding-left: 0.9rem;
font-size: 95%;

ul {
display: inherit;
padding-left: 0.9rem;
font-size: 95%;
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/default-content.html
Expand Up @@ -45,7 +45,7 @@ <h1 class="article-title">

{{ if or (eq .template_type "single") (.ctx.Params.noSummary) }}
{{ if and (gt .ctx.WordCount .ctx.Site.Params.tocMinWordCount ) (.ctx.Params.toc) }}
<h2>{{ i18n "tableOfContents" }}</h2>
<h2>{{ i18n "tableOfContents" | default "tableOfContents" }}</h2>
{{ .ctx.TableOfContents }}
{{ end }}

Expand Down

0 comments on commit 85e7fb4

Please sign in to comment.