Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
module.exports = {
siteName: 'Dev Kimchi',
siteDescription: "Fermentation: Turning .NET, Web and Cloud into Something",
siteUrl: 'https://devkimchi.com',
titleTemplate: `%s | DevKimchi`,
icon: 'src/favicon.png',
...
...
module.exports = {
siteName: 'Aliencube',
siteDescription: "cloud-native open source developers community",
siteUrl: 'https://blog.aliencube.org',
titleTemplate: `%s | Aliencube`,
icon: 'src/favicon.png',
...
...
{
use: 'gridsome-plugin-rss',
options: {
...
feedItemOptions: node => ({
title: node.title,
description: node.description,
//url: 'https://devkimchi.com' + node.slug,
url: 'https://devkimchi.com' + node.path,
author: node.author,
date: node.date,
}),
...
},
},
...
...
{
use: 'gridsome-plugin-rss',
options: {
...
feedItemOptions: node => ({
title: node.title,
description: node.description,
//url: 'https://blog.aliencube.org' + node.slug,
url: 'https://blog.aliencube.org' + node.path,
author: node.author,
date: node.date,
}),
...
},
},
...
...
fontFamily: {
sans: [
'Nanum Gothic',
'Fira Sans',
...
---
title: "Cloud Service Lock-in Guidelines from UK Government"
date: "2019-12-31"
---
---
title: "영국 정부 클라우드 서비스 록인 관리 가이드"
date: "2019-12-31"
---
---
title: "Post Title"
slug: post-unique-slug
description: "Post description"
date: "2020-01-03"
author: Justin-Yoo
tags:
cover:
fullscreen: false
---
---
title: "포스트 제목"
slug: post-unique-slug
description: "포스트 설명"
date: "2020-01-03"
author: Justin-Yoo
tags:
cover:
fullscreen: false
---
on:
push:
branches:
- dev
jobs:
build_and_publish:
runs-on: ubuntu-latest
- name: Build app
shell: bash
run: |
npm run build
steps:
- name: Checkout the repo
uses: actions/checkout@v1
- name: Apply redirects
shell: bash
run: |
cp _redirects dist
- name: Install Netlify CLI
shell: bash
run: |
sudo npm install -g netlify-cli
- name: Monkey patch npm package (Interim)
shell: bash
run: |
cp patches/Gist.js node_modules/@noxify/gridsome-plugin-remark-embed/src/providers
- name: Publish app
shell: bash
run: |
netlify deploy -p -s ${{ secrets.NETLIFY_SITE_ID }} -a ${{ secrets.NETLIFY_AUTH_TOKEN }}
- name: Install npm packages
shell: bash
run: |
npm install
...
edges {
node {
...on Post {
id
title
datetime: date (format: "YYYY-MM-DD HH:mm:ss")
path
content
excerpt
description
timeToRead
cover
tags {
id
title
path
}
}
}
}
...
...
head.link.push({
rel: 'stylesheet',
href: 'https://github.githubassets.com/assets/gist-embed-d89dc96f3ab6372bb73ee45cafdd0711.css'
})
...
...
head.link.push({
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700,800&display=swap&subset=korean'
})
...
...
<header class="text-center mb-8">
<div v-if="post.cover">
<g-link :to="`${post.path}/`" class="text-black font-bold"><img :src="`${post.cover}`" /></g-link>
</div>
<time :datetime="post.datetime" class="text-gray-700 text-xs mb-2 uppercase">{{ formatPublishDate(post.datetime) }}</time>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.