Compare commits
2 Commits
eeac3af99b
...
6e951653c1
Author | SHA1 | Date |
---|---|---|
Rahat Zaman | 6e951653c1 | |
Rahat Zaman | 0adc161f5b |
|
@ -0,0 +1,2 @@
|
|||
resources/
|
||||
|
|
@ -12,7 +12,8 @@ buildFuture = true
|
|||
copyright = "©{year}, All Rights Reserved"
|
||||
timeout = 10000
|
||||
enableEmoji = true
|
||||
paginate = 13
|
||||
[pagination]
|
||||
pagerSize = 13
|
||||
rssLimit = 100
|
||||
|
||||
enableGitInfo = false
|
||||
|
@ -37,7 +38,6 @@ googleAnalytics = ""
|
|||
[outputs]
|
||||
home = ["HTML", "RSS", "SearchIndex"]
|
||||
section = ["HTML", "RSS", "SearchIndex"]
|
||||
taxonomyTerm = ["HTML", "RSS", "SearchIndex"]
|
||||
taxonomy = ["HTML", "RSS", "SearchIndex"]
|
||||
|
||||
[outputFormats]
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"Target":"css/main.min.css","MediaType":"text/css","Data":{}}
|
|
@ -1,7 +1,7 @@
|
|||
{{ $isPad := or (in (slice "archive" "posts" "page") .Type) }}
|
||||
{{ $isPad = or $isPad (and (eq .Kind "page") (not (in (slice "about" "contact" "publication") .Type))) }}
|
||||
{{ $isPad = or $isPad (and (eq .Kind "section") (eq .Type "publication")) }}
|
||||
{{ $isPad = or $isPad (and (eq .Type "tags") (ne .Kind "taxonomyTerm")) }}
|
||||
{{ $isPad = or $isPad (and (eq .Type "tags") (ne .Kind "taxonomy")) }}
|
||||
|
||||
{{ if eq ($.Param "languagedir") "rtl" }}
|
||||
<div class="wrapper__left hide" data-pad="{{ $isPad }}" dir="rtl">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ $isPad := or (in (slice "archive" "posts" "page") .Type) }}
|
||||
{{ $isPad = or $isPad (and (eq .Kind "page") (not (in (slice "about" "contact" "publication") .Type))) }}
|
||||
{{ $isPad = or $isPad (and (eq .Kind "section") (eq .Type "publication")) }}
|
||||
{{ $isPad = or $isPad (and (eq .Type "tags") (ne .Kind "taxonomyTerm")) }}
|
||||
{{ $isPad = or $isPad (and (eq .Type "tags") (ne .Kind "taxonomy")) }}
|
||||
|
||||
{{ if ne ($.Param "languagedir") "rtl" }}
|
||||
<div class="wrapper__right hide" data-pad="{{ $isPad }}" dir="ltr">
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ range .Site.Params.custom_css }}
|
||||
{{ $custom_template := resources.Get . }}
|
||||
{{ if $custom_template }}
|
||||
{{ $custom_style := $custom_template | resources.ToCSS | resources.Minify }}
|
||||
{{ $custom_style := $custom_template | css.Sass | resources.Minify }}
|
||||
<link rel="stylesheet" href="{{ $custom_style.RelPermalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue