Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
92199033
authored
Oct 30, 2024
by
heheer
Committed by
GitHub
Oct 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add goole tag manager (#3028)
parent
6939899b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
docSite/layouts/docs/baseof.html
+11
-0
No files found.
docSite/layouts/docs/baseof.html
View file @
92199033
<!DOCTYPE html>
<!DOCTYPE html>
{{ $.Scratch.Delete "social_list" }}
{{ $.Scratch.Delete "social_list" }}
{{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }}
{{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }}
<!-- Google Tag Manager -->
<script>
(
function
(
w
,
d
,
s
,
l
,
i
){
w
[
l
]
=
w
[
l
]
||
[];
w
[
l
].
push
({
'gtm.start'
:
new
Date
().
getTime
(),
event
:
'gtm.js'
});
var
f
=
d
.
getElementsByTagName
(
s
)[
0
],
j
=
d
.
createElement
(
s
),
dl
=
l
!=
'dataLayer'
?
'&l='
+
l
:
''
;
j
.
async
=
true
;
j
.
src
=
'https://www.googletagmanager.com/gtm.js?id='
+
i
+
dl
;
f
.
parentNode
.
insertBefore
(
j
,
f
);
})(
window
,
document
,
'script'
,
'dataLayer'
,
'GTM-W9HPZZ22'
);
</script>
<!-- End Google Tag Manager -->
<!-- social_list -->
<!-- social_list -->
<!-- change -->
<!-- change -->
{{ $social_params := slice "github" "twitter" "instagram" "rss" "wechat" "lark" }}
{{ $social_params := slice "github" "twitter" "instagram" "rss" "wechat" "lark" }}
...
@@ -12,6 +19,10 @@
...
@@ -12,6 +19,10 @@
<html
lang=
"{{ site.LanguageCode }}"
>
<html
lang=
"{{ site.LanguageCode }}"
>
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "head.html") . -}}
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "head.html") . -}}
<body>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe
src=
"https://www.googletagmanager.com/ns.html?id=GTM-W9HPZZ22"
height=
"0"
width=
"0"
style=
"display:none;visibility:hidden"
></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"page-wrapper toggled"
>
<div
class=
"page-wrapper toggled"
>
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment