This repository was archived by the owner on Feb 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Expand file tree Collapse file tree 6 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Basic configuration
2
- baseurl : https://atsign.dev/
3
2
canonifyURLs : true
4
3
disableAliases : true
5
4
disableHugoGeneratorInject : true
Original file line number Diff line number Diff line change 1
1
{{ define "main" }} {{ $section := .CurrentSection }} {{ $page := .Page }}
2
2
{{ .Scratch.Set "class" "codelab" }}
3
3
{{ if eq .CurrentSection.Params.layout "codelab-list" }}
4
- {{ if ne (.Site.BaseURL) "docs.atsign.com" -}}
4
+ {{ if ne (.Site.BaseURL) "https:// docs.atsign.com" -}}
5
5
{{ $options := (dict "targetPath" "codelab.css" "enableSourceMap" true "includePaths" (slice "node_modules")) -}}
6
6
{{ $css := resources.Get "scss/codelab.scss" | toCSS $options -}}
7
7
< link rel ="stylesheet " href ="{{ $css.Permalink | relURL }} ">
Original file line number Diff line number Diff line change 62
62
63
63
{{ $js := $slice | resources.Concat "main.js" -}}
64
64
65
- {{ if ne (.Site.BaseURL) "docs.atsign.com" -}}
65
+ {{ if ne (.Site.BaseURL) "https:// docs.atsign.com" -}}
66
66
{{ if .Site.Params.options.bootStrapJs -}}
67
67
< script src ="{{ $bs.RelPermalink }} " defer > </ script >
68
68
{{ end -}}
Original file line number Diff line number Diff line change 6
6
{{ $alertInit := resources.Get "js/alert-init.js" | js.Build | minify -}}
7
7
< script > { { $alertInit . Content | safeJS } } </ script >
8
8
{{- end -}}
9
- {{ if eq (.Site.BaseURL) "docs.atsign.com" -}}
9
+ {{ if eq (.Site.BaseURL) "https:// docs.atsign.com" -}}
10
10
{{ $matomo := resources.Get "js/matomo.js" | js.Build | minify -}}
11
11
< script > { { $matomo . Content | safeJS } } </ script >
12
12
{{ end -}}
Original file line number Diff line number Diff line change 1
1
User-agent: *
2
- {{ if eq (.Site .BaseURL ) "docs .atsign .com " - }}
2
+ {{ if eq (.Site .BaseURL ) "https:// docs.atsign.com" -}}
3
3
Allow: /
4
4
{{ else - }}
5
5
Disallow: /
Original file line number Diff line number Diff line change 1
1
{{ define "main" }} {{ $section := .CurrentSection }} {{ $page := .Page }}
2
2
{{ .Scratch.Set "class" "codelab" }}
3
3
{{ if eq .CurrentSection.Params.layout "codelab-list" }}
4
- {{ if ne (.Site.BaseURL) "docs.atsign.com" -}}
4
+ {{ if ne (.Site.BaseURL) "https:// docs.atsign.com" -}}
5
5
{{ $options := (dict "targetPath" "codelab.css" "enableSourceMap" true "includePaths" (slice "node_modules")) -}}
6
6
{{ $css := resources.Get "scss/codelab.scss" | toCSS $options -}}
7
7
< link rel ="stylesheet " href ="{{ $css.Permalink | relURL }} ">
You can’t perform that action at this time.
0 commit comments