Skip to content

Commit

Permalink
Add initial website scaffolding
Browse files Browse the repository at this point in the history
Signed-off-by: lucperkins <lucperkins@gmail.com>
  • Loading branch information
lucperkins committed Apr 29, 2019
1 parent 68b6b4a commit d72b519
Show file tree
Hide file tree
Showing 67 changed files with 16,847 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Hugo-generated assets
public/
resources/

# npm assets
node_modules/
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
serve:
hugo server \
--buildDrafts \
--buildFuture

preview-build:
hugo \
--baseURL $(DEPLOY_PRIME_URL) \
--minify

production-build:
hugo \
--minify
3 changes: 3 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title = "OpenTelemetry"
baseURL = "https://opentelemetry.io"
disableKinds = ["taxonomy", "taxonomyTerm"]
Empty file added content/.gitkeep
Empty file.
10 changes: 10 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>

</head>
<body>
{{ block "main" . }}
{{ end }}
</body>
</html>
5 changes: 5 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ define "main" }}
<h1>
{{ site.Title }}
</h1>
{{ end }}
12 changes: 12 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[build]
publish = "public"
command = "make production-build"

[build.environment]
HUGO_VERSION = "0.55.3"

[context.deploy-preview]
command = "make preview-build"

[context.branch-deploy]
command = "make preview-build"
16 changes: 16 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d72b519

Please sign in to comment.