first commit
This commit is contained in:
1
themes/osm/exampleSite/.gitignore
vendored
Normal file
1
themes/osm/exampleSite/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
public
|
||||
6
themes/osm/exampleSite/archetypes/default.md
Normal file
6
themes/osm/exampleSite/archetypes/default.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
5
themes/osm/exampleSite/config.toml
Normal file
5
themes/osm/exampleSite/config.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
baseURL = "http://example.org/"
|
||||
languageCode = "en-us"
|
||||
title = "My New Hugo Site"
|
||||
theme = "osm"
|
||||
disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||
8
themes/osm/exampleSite/content/_index.md
Normal file
8
themes/osm/exampleSite/content/_index.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: "OpenStreetMap"
|
||||
---
|
||||
|
||||
<code>\{\{< openstreetmap mapName="demo-map_1" scale="14" coordX="-37.7989" coordY="145.0003" >\}\}</code>
|
||||
|
||||
|
||||
{{< openstreetmap mapName="demo-map_1" >}}
|
||||
11
themes/osm/exampleSite/layouts/404.html
Normal file
11
themes/osm/exampleSite/layouts/404.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</body>
|
||||
</html>
|
||||
11
themes/osm/exampleSite/layouts/index.html
Normal file
11
themes/osm/exampleSite/layouts/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user