-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b81f2ee
Showing
141 changed files
with
20,509 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Empty file.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
import { defineStaticConfig } from "tinacms"; | ||
|
||
// Your hosting provider likely exposes this as an environment variable | ||
const branch = process.env.HEAD || process.env.VERCEL_GIT_COMMIT_REF || "main"; | ||
|
||
export default defineStaticConfig({ | ||
branch, | ||
clientId: null, // Get this from tina.io | ||
token: null, // Get this from tina.io | ||
build: { | ||
outputFolder: "admin", | ||
publicFolder: "static", | ||
}, | ||
media: { | ||
tina: { | ||
mediaRoot: "uploads", | ||
publicFolder: "static", | ||
}, | ||
}, | ||
schema: { | ||
collections: [ | ||
{ | ||
name: "post", | ||
label: "Posts", | ||
path: "content/posts", | ||
fields: [ | ||
{ | ||
type: "string", | ||
name: "title", | ||
label: "Title", | ||
isTitle: true, | ||
required: true, | ||
}, | ||
{ | ||
type: "datetime", | ||
label: "Date", | ||
name: "date", | ||
}, | ||
{ | ||
type: "boolean", | ||
name: "draft", | ||
label: "Draft", | ||
}, | ||
{ | ||
type: "rich-text", | ||
name: "body", | ||
label: "Body", | ||
isBody: true, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Hugo starter site. | ||
|
||
This is a hugo site setup with tina and ready for using. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
baseURL = 'http://example.org/' | ||
languageCode = 'en-us' | ||
title = 'My New Hugo Site' | ||
theme = "ananke" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: 'Hello, World!' | ||
date: '2022-10-10T03:00:00.000Z' | ||
draft: false | ||
--- | ||
|
||
## Hello World! | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non lorem diam. Quisque vulputate nibh sodales eros pretium tincidunt. Aenean porttitor efficitur convallis. Nulla sagittis finibus convallis. Phasellus in fermentum quam, eu egestas tortor. Maecenas ac mollis leo. Integer maximus eu nisl vel sagittis. | ||
|
||
Suspendisse facilisis, mi ac scelerisque interdum, ligula ex imperdiet felis, a posuere eros justo nec sem. Nullam laoreet accumsan metus, sit amet tincidunt orci egestas nec. Pellentesque ut aliquet ante, at tristique nunc. Donec non massa nibh. Ut posuere lacus non aliquam laoreet. Fusce pharetra ligula a felis porttitor, at mollis ipsum maximus. Donec quam tortor, vehicula a magna sit amet, tincidunt dictum enim. In hac habitasse platea dictumst. Mauris sit amet ornare ligula, blandit consequat risus. Duis malesuada pellentesque lectus, non feugiat turpis eleifend a. Nullam tempus ante et diam pretium, ac faucibus ligula interdum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: "My First Post" | ||
date: 2022-10-11T09:32:31-03:00 | ||
draft: true | ||
--- | ||
|
||
## My First Post | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non lorem diam. Quisque vulputate nibh sodales eros pretium tincidunt. Aenean porttitor efficitur convallis. Nulla sagittis finibus convallis. Phasellus in fermentum quam, eu egestas tortor. Maecenas ac mollis leo. Integer maximus eu nisl vel sagittis. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "tina-hugo-starter", | ||
"version": "1.0.0", | ||
"description": "This is a vanilla hugo site intended for demonstration purposes. Follow the guide to adding TinaCMS [here](https://tina.io/guides/tinacms/non-react-based-ssg/guide/)", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "tinacms dev -c \"hugo server -D -p 3003\"", | ||
"build": "tinacms dev -c \"hugo\"", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tinalabs/vanilla-hugo.git" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/tinalabs/vanilla-hugo/issues" | ||
}, | ||
"homepage": "https://github.com/tinalabs/vanilla-hugo#readme", | ||
"dependencies": { | ||
"@tinacms/cli": "^0.61.22", | ||
"styled-components": "^5.3.6", | ||
"tinacms": "^0.69.16" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/css/ananke/css/main.css_bb5467e0521bbea6b1e66429f6ec028e.content
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/css/ananke/css/main.css_bb5467e0521bbea6b1e66429f6ec028e.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Target":"ananke/css/main.min.css","MediaType":"text/css","Data":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
index.html | ||
assets/ | ||
vite.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# OS | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# IDEs | ||
.buildpath | ||
.project | ||
.settings/ | ||
.build/ | ||
.idea/ | ||
public/ | ||
nbproject/ | ||
|
||
# Vagrant | ||
.vagrant/ | ||
|
||
# FE Setup | ||
.bin/node_modules/ | ||
/node_modules/ | ||
src/node_modules/ | ||
exampleSite/node_modules/ | ||
src/npm-debug.log.* | ||
npm-debug.log | ||
/npm-debug.log* | ||
/dist/ | ||
/src/client.config.json | ||
/styleguide/ | ||
/docs/ | ||
|
||
/junit.xml | ||
partials/structure/stylesheet.html | ||
|
||
# Hugo | ||
.hugo_build.lock |
Oops, something went wrong.