Skip to content

Commit 7e6e4b1

Browse files
committed
feat: add go-source meta tags to all 36 vanity import pages
sum.golang.org and pkg.go.dev need go-source to navigate source trees. Every go/ vanity page now has both go-import and go-source meta tags. Co-Authored-By: Virgil <virgil@lethean.io>
1 parent 6680c6a commit 7e6e4b1

36 files changed

Lines changed: 36 additions & 0 deletions

File tree

go/agent/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/agent git https://github.com/dappcore/agent.git">
5+
<meta name="go-source" content="dappco.re/go/agent https://github.com/dappcore/agent https://github.com/dappcore/agent/tree/main{/dir} https://github.com/dappcore/agent/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/agent/tree/main/go">
67
</head>
78
<body>

go/core/agent/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/agent git https://github.com/dAppCore/agent.git">
5+
<meta name="go-source" content="dappco.re/go/core/agent https://github.com/dAppCore/agent https://github.com/dAppCore/agent/tree/main{/dir} https://github.com/dAppCore/agent/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/agent">
67
</head>
78
<body>

go/core/ai/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/ai git https://github.com/dAppCore/go-ai.git">
5+
<meta name="go-source" content="dappco.re/go/core/ai https://github.com/dAppCore/go-ai https://github.com/dAppCore/go-ai/tree/main{/dir} https://github.com/dAppCore/go-ai/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/go-ai">
67
</head>
78
<body>

go/core/ansible/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/ansible git https://github.com/dAppCore/go-ansible.git">
5+
<meta name="go-source" content="dappco.re/go/core/ansible https://github.com/dAppCore/go-ansible https://github.com/dAppCore/go-ansible/tree/main{/dir} https://github.com/dAppCore/go-ansible/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/go-ansible">
67
</head>
78
<body>

go/core/api/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/api git https://github.com/dAppCore/api.git">
5+
<meta name="go-source" content="dappco.re/go/core/api https://github.com/dAppCore/api https://github.com/dAppCore/api/tree/main{/dir} https://github.com/dAppCore/api/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/api">
67
</head>
78
<body>

go/core/blockchain/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/blockchain git https://github.com/dAppCore/go-blockchain.git">
5+
<meta name="go-source" content="dappco.re/go/core/blockchain https://github.com/dAppCore/go-blockchain https://github.com/dAppCore/go-blockchain/tree/main{/dir} https://github.com/dAppCore/go-blockchain/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/go-blockchain">
67
</head>
78
<body>

go/core/build/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/build git https://github.com/dAppCore/go-build.git">
5+
<meta name="go-source" content="dappco.re/go/core/build https://github.com/dAppCore/go-build https://github.com/dAppCore/go-build/tree/main{/dir} https://github.com/dAppCore/go-build/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/go-build">
67
</head>
78
<body>

go/core/cache/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/cache git https://github.com/dAppCore/go-cache.git">
5+
<meta name="go-source" content="dappco.re/go/core/cache https://github.com/dAppCore/go-cache https://github.com/dAppCore/go-cache/tree/main{/dir} https://github.com/dAppCore/go-cache/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/go-cache">
67
</head>
78
<body>

go/core/cli/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/cli git https://github.com/dAppCore/cli.git">
5+
<meta name="go-source" content="dappco.re/go/core/cli https://github.com/dAppCore/cli https://github.com/dAppCore/cli/tree/main{/dir} https://github.com/dAppCore/cli/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/cli">
67
</head>
78
<body>

go/core/config/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta name="go-import" content="dappco.re/go/core/config git https://github.com/dAppCore/config.git">
5+
<meta name="go-source" content="dappco.re/go/core/config https://github.com/dAppCore/config https://github.com/dAppCore/config/tree/main{/dir} https://github.com/dAppCore/config/blob/main{/dir}/{file}#L{line}">
56
<meta http-equiv="refresh" content="0; url=https://github.com/dAppCore/config">
67
</head>
78
<body>

0 commit comments

Comments
 (0)