Last active
January 3, 2020 09:44
-
-
Save justinyoo/53cefa22732c8bc33348aa99e0674a37 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ... | |
| 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', | |
| ... |
This file contains hidden or 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
| ... | |
| module.exports = { | |
| siteName: 'Aliencube', | |
| siteDescription: "cloud-native open source developers community", | |
| siteUrl: 'https://blog.aliencube.org', | |
| titleTemplate: `%s | Aliencube`, | |
| icon: 'src/favicon.png', | |
| ... |
This file contains hidden or 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
| ... | |
| templates: { | |
| //Post: '/:title', | |
| Post: '/:year/:month/:day/:slug', | |
| Tag: '/tag/:id', | |
| Author: '/author/:id', | |
| }, | |
| ... |
This file contains hidden or 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
| ... | |
| templates: { | |
| //Post: '/:title', | |
| Post: '/ko/:year/:month/:day/:slug', | |
| Tag: '/tag/:id', | |
| Author: '/author/:id', | |
| }, | |
| ... |
This file contains hidden or 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
| ... | |
| { | |
| 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, | |
| }), | |
| ... | |
| }, | |
| }, | |
| ... |
This file contains hidden or 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
| ... | |
| { | |
| 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, | |
| }), | |
| ... | |
| }, | |
| }, | |
| ... |
This file contains hidden or 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
| ... | |
| fontFamily: { | |
| sans: [ | |
| 'Nanum Gothic', | |
| 'Fira Sans', | |
| ... |
This file contains hidden or 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
| --- | |
| title: "Cloud Service Lock-in Guidelines from UK Government" | |
| date: "2019-12-31" | |
| --- |
This file contains hidden or 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
| --- | |
| title: "영국 정부 클라우드 서비스 록인 관리 가이드" | |
| date: "2019-12-31" | |
| --- |
This file contains hidden or 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
| --- | |
| title: "Post Title" | |
| slug: post-unique-slug | |
| description: "Post description" | |
| date: "2020-01-03" | |
| author: Justin-Yoo | |
| tags: | |
| cover: | |
| fullscreen: false | |
| --- |
This file contains hidden or 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
| --- | |
| title: "포스트 제목" | |
| slug: post-unique-slug | |
| description: "포스트 설명" | |
| date: "2020-01-03" | |
| author: Justin-Yoo | |
| tags: | |
| cover: | |
| fullscreen: false | |
| --- |
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - dev |
This file contains hidden or 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
| jobs: | |
| build_and_publish: | |
| runs-on: ubuntu-latest |
This file contains hidden or 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
| - name: Build app | |
| shell: bash | |
| run: | | |
| npm run build |
This file contains hidden or 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
| steps: | |
| - name: Checkout the repo | |
| uses: actions/checkout@v1 |
This file contains hidden or 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
| - name: Apply redirects | |
| shell: bash | |
| run: | | |
| cp _redirects dist |
This file contains hidden or 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
| - name: Install Netlify CLI | |
| shell: bash | |
| run: | | |
| sudo npm install -g netlify-cli |
This file contains hidden or 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
| - name: Monkey patch npm package (Interim) | |
| shell: bash | |
| run: | | |
| cp patches/Gist.js node_modules/@noxify/gridsome-plugin-remark-embed/src/providers |
This file contains hidden or 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
| - name: Publish app | |
| shell: bash | |
| run: | | |
| netlify deploy -p -s ${{ secrets.NETLIFY_SITE_ID }} -a ${{ secrets.NETLIFY_AUTH_TOKEN }} |
This file contains hidden or 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
| - name: Install npm packages | |
| shell: bash | |
| run: | | |
| npm install |
This file contains hidden or 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
| ... | |
| 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 | |
| } | |
| } | |
| } | |
| } | |
| ... |
This file contains hidden or 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
| ... | |
| head.link.push({ | |
| rel: 'stylesheet', | |
| href: 'https://github.githubassets.com/assets/gist-embed-d89dc96f3ab6372bb73ee45cafdd0711.css' | |
| }) | |
| ... |
This file contains hidden or 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
| ... | |
| head.link.push({ | |
| rel: 'stylesheet', | |
| href: 'https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700,800&display=swap&subset=korean' | |
| }) | |
| ... |
This file contains hidden or 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
| ... | |
| <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