Initial commit for entire workspace
This commit is contained in:
commit
96aa183080
|
@ -0,0 +1,2 @@
|
||||||
|
public/
|
||||||
|
.hugo_build.lock
|
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2022 Alex Palaistras
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Go Module Registry for go.deuill.org
|
||||||
|
|
||||||
|
This repository contains the source code and accompanying support files for a simple Go Module
|
||||||
|
registry (as required by `go get` et al.), built on Hugo. Entries are defined as special Markdown
|
||||||
|
files in the `content` directory.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
All code in this repository is covered by the terms of the MIT License, the full text of which can be found in the LICENSE file.
|
|
@ -0,0 +1,4 @@
|
||||||
|
baseURL: https://go.deuill.org
|
||||||
|
languageCode: en-us
|
||||||
|
title: Go Modules on go.deuill.org
|
||||||
|
theme: go-mod
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: Informbot
|
||||||
|
description: A Chat Bot for Inform 7 Stories, Built in Go
|
||||||
|
module:
|
||||||
|
path: go.deuill.org/informbot
|
||||||
|
repository:
|
||||||
|
type: git
|
||||||
|
http_url: https://git.deuill.org/deuill/informbot
|
||||||
|
clone_url: https://git.deuill.org/deuill/informbot.git
|
||||||
|
---
|
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2022 Alex Palaistras
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,30 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en-us">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Not found :(</title>
|
||||||
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<h1>Not found <aside>:(</aside></h1>
|
||||||
|
<p>(404 Not Found)</p>
|
||||||
|
<p>Sorry, but the page you were trying to view does not exist.</p>
|
||||||
|
|
||||||
|
<span class="button">
|
||||||
|
<a href="/" class="icon">↶</a>
|
||||||
|
<span class="description">Home</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span class="button">
|
||||||
|
<i class="icon" onclick="history.back(-1)">↖</i>
|
||||||
|
<span class="description">Go Back</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span class="button">
|
||||||
|
<i class="icon" onclick="document.location.reload(true)">↺</i>
|
||||||
|
<span class="description">Try Again</span>
|
||||||
|
</span>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,2 @@
|
||||||
|
{{partial "header.html" .}}
|
||||||
|
{{partial "footer.html" .}}
|
|
@ -0,0 +1,15 @@
|
||||||
|
{{partial "header.html" .}}
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<h1>{{.Title}} <aside>{{.Description}}</aside></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>Install</dt>
|
||||||
|
<dd><pre>go install {{.Params.module.path}}@latest</pre></dd>
|
||||||
|
<dt>Documentation</dt>
|
||||||
|
<dd><a href="https://pkg.go.dev/{{.Params.module.path}}">https://pkg.go.dev/{{.Params.module.path}}</a></dd>
|
||||||
|
<dt>Code</dt>
|
||||||
|
<dd><a href="{{.Params.repository.http_url}}">{{.Params.repository.http_url}}</a></dd>
|
||||||
|
</dl>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{partial "footer.html" .}}
|
|
@ -0,0 +1,3 @@
|
||||||
|
<section>
|
||||||
|
<h2><a href="{{.Permalink}}">{{.Title}}</a> · <aside>{{.Description}}</aside></h2>
|
||||||
|
</section>
|
|
@ -0,0 +1,10 @@
|
||||||
|
{{partial "header.html" .}}
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<h1>{{.Site.Title}}</h1>
|
||||||
|
{{range .Site.RegularPages}}
|
||||||
|
{{.Render "summary"}}
|
||||||
|
{{end}}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
{{partial "footer.html" .}}
|
|
@ -0,0 +1,2 @@
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{.Site.LanguageCode}}" class="no-js">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{if .IsHome}}Go Modules{{else}}{{.Title}}{{end}} · {{.Site.Title}}</title>
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
{{ if and (.IsPage) (.Params.module) (.Params.repository) }}<meta name="go-import" content="{{.Params.module.path}} {{.Params.repository.type}} {{.Params.repository.clone_url}}">{{ end }}
|
||||||
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
|
@ -0,0 +1,85 @@
|
||||||
|
html {
|
||||||
|
background: #f0f0f0;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
margin: 0 0 1rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 aside,
|
||||||
|
h2 aside {
|
||||||
|
color: #999;
|
||||||
|
display: inline;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 1rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
background: #333;
|
||||||
|
color: #f0f0f0;
|
||||||
|
padding: 0.25rem 0.5rem;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: background .2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
background: #c82829;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
margin: 5rem auto 0;
|
||||||
|
max-width: 50rem;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
main section,
|
||||||
|
main dl {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
dl dt {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
dl dd pre,
|
||||||
|
dl dd a {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button {
|
||||||
|
display: inline-block;
|
||||||
|
width: 6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button a {
|
||||||
|
outline: none;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button .icon {
|
||||||
|
background: none;
|
||||||
|
color: #666;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
font-size: 3rem;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0 auto -0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button .description {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
name = "Go Mod"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://git.deuill.org/deuill/go.deuill.org/blob/trunk/themes/go-mod/LICENCE"
|
||||||
|
description = "A landing page for serving Go modules"
|
||||||
|
homepage = "http://go.deuill.org"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41.0"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Alex Palaistras"
|
||||||
|
homepage = "https://deuill.org"
|
Loading…
Reference in New Issue