forked from yihong0618/running_page
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
71c2242
commit 9a9b8fb
Showing
50 changed files
with
45,532 additions
and
2 deletions.
There are no files selected for viewing
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,17 @@ | ||
# Project dependencies | ||
.cache | ||
*.pyc | ||
node_modules | ||
yarn-error.log | ||
|
||
/public | ||
# Build directory | ||
/build | ||
.DS_Store | ||
.sass-cache/ | ||
_posts/ | ||
_site/ | ||
db.csv | ||
danpalmer.sql | ||
|
||
.mypy_cache |
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 |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# running_page | ||
Make your own running page | ||
# Build your own Running Page | ||
|
||
## Install | ||
|
||
- yarn install | ||
- yarn develop | ||
|
||
## server | ||
|
||
- recommend vercel | ||
|
||
## support | ||
|
||
- Nike Run Club | ||
- Strave | ||
- Runstastic(Adidas Run) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,91 @@ | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
siteMetadata: { | ||
title: "Yihong0618", | ||
siteUrl: "https://yihong.run", | ||
description: "Personal site and blog", | ||
}, | ||
plugins: [ | ||
"gatsby-plugin-react-helmet", | ||
{ | ||
resolve: "gatsby-transformer-remark", | ||
options: { | ||
plugins: [ | ||
"gatsby-remark-responsive-iframe", | ||
"gatsby-remark-smartypants", | ||
"gatsby-remark-widows", | ||
"gatsby-remark-external-links", | ||
{ | ||
resolve: "gatsby-remark-autolink-headers", | ||
options: { | ||
className: "header-link", | ||
}, | ||
}, | ||
{ | ||
resolve: "gatsby-remark-images", | ||
options: { | ||
maxWidth: 600, | ||
quality: 80, | ||
withWebp: { quality: 80 }, | ||
}, | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
resolve: "gatsby-source-filesystem", | ||
options: { | ||
name: "src", | ||
path: `${__dirname}/posts`, | ||
}, | ||
}, | ||
{ | ||
resolve: "gatsby-plugin-sass", | ||
options: { | ||
precision: 8, | ||
}, | ||
}, | ||
"gatsby-transformer-yaml", | ||
"gatsby-transformer-json", | ||
{ | ||
resolve: "gatsby-source-filesystem", | ||
options: { | ||
path: "./data/", | ||
}, | ||
}, | ||
{ | ||
resolve: "gatsby-source-filesystem", | ||
options: { | ||
name: "images", | ||
path: `${__dirname}/posts/images`, | ||
}, | ||
}, | ||
{ | ||
resolve: "gatsby-source-filesystem", | ||
options: { | ||
name: "static_images", | ||
path: `${__dirname}/src/images`, | ||
ignore: ["**/.(js|jsx|scss)"], | ||
}, | ||
}, | ||
{ | ||
resolve: 'gatsby-plugin-react-svg', | ||
options: { | ||
rule: { | ||
include: /assets/ | ||
} | ||
} | ||
}, | ||
"gatsby-transformer-sharp", | ||
"gatsby-plugin-sharp", | ||
//"gatsby-redirect-from", | ||
"gatsby-plugin-sitemap", | ||
{ | ||
resolve: "gatsby-plugin-robots-txt", | ||
options: { | ||
policy: [{ userAgent: "*", allow: "/" }], | ||
}, | ||
}, | ||
], | ||
}; |
Oops, something went wrong.