Skip to content

Commit

Permalink
Merge pull request #189 from iArchitSharma/inc
Browse files Browse the repository at this point in the history
inconsistency fix
  • Loading branch information
iArchitSharma authored Jan 25, 2024
2 parents ee9965e + 29b84e5 commit aa06926
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ a:not([href]):not([class]):hover {
}

// Taxonomy
.article-meta {
.article-meta-bg {

background-color: $gray-900;
padding: .5rem;
Expand Down Expand Up @@ -176,7 +176,7 @@ a:not([href]):not([class]):hover {
font-size: 0.85rem;
}

.article-meta {
.article-meta-bg {
margin-bottom: 0em;
}
}
Expand Down
17 changes: 17 additions & 0 deletions layouts/_default/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ 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>
{{ .Content }}
{{ if (.Site.Params.DisqusShortname) -}}
<br />
{{- partial "disqus-comment.html" . -}}
{{ end -}}
{{ partial "page-meta-lastmod.html" . }}
</div>
{{/**/ -}}
20 changes: 20 additions & 0 deletions layouts/docs/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ define "main" }}
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ 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>
{{ .Content }}
{{ partial "section-index.html" . -}}

{{ if (.Site.DisqusShortname) -}}
<br />
{{- partial "disqus-comment.html" . -}}
{{ end -}}
{{ partial "page-meta-lastmod.html" . -}}
</div>
{{ end -}}

0 comments on commit aa06926

Please sign in to comment.