-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
35 changed files
with
6,453 additions
and
236 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 |
---|---|---|
@@ -1,2 +1 @@ | ||
public | ||
themes/shiro/static/css/main.css | ||
/public |
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,14 @@ | ||
module.exports = { | ||
dest: 'public', | ||
title: `Pine Wu's Blog`, | ||
description: `Pine Wu's Blog`, | ||
markdown: { | ||
anchor: { | ||
permalink: false | ||
} | ||
}, | ||
head: [ | ||
['link', { rel: 'shortcut icon', href: '/favicon.ico' }], | ||
['link', { rel: 'stylesheet', href: '/style.css' }] | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
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
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 @@ | ||
<template> | ||
<li class="flex justify-between pb3"> | ||
<a class="link" :href="cleanPath">{{ page.title }}</a> | ||
<span class="date gray">{{ page.frontmatter.date }}</span> | ||
</li> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: ['page'], | ||
computed: { | ||
cleanPath() { | ||
return this.page.path.replace(/.html$/g, '') | ||
} | ||
} | ||
} | ||
</script> |
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,35 @@ | ||
<template> | ||
<div class="f6 avenir"> | ||
<Nav :page="$page" /> | ||
|
||
<section id="main" class="gray mb6 lh-copy"> | ||
<ul class="ph0"> | ||
<BlogItem | ||
v-for="(page ,i) in postsOrderedByDate" | ||
v-if="!page.frontmatter.top_page" | ||
:page="page" :key="i" | ||
></BlogItem> | ||
</ul> | ||
</section> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Nav from './Nav.vue' | ||
import BlogItem from './BlogItem.vue' | ||
export default { | ||
components: { Nav, BlogItem }, | ||
computed: { | ||
postsOrderedByDate() { | ||
return this.$site.pages | ||
.filter(p => !p.frontmatter.top_page) | ||
.sort((p1, p2) => p1 > p2) | ||
.reverse() | ||
}, | ||
data() { | ||
return this.$page.frontmatter | ||
} | ||
} | ||
} | ||
</script> |
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,16 @@ | ||
<template> | ||
<div class="theme-container"> | ||
<Home v-if="$page.frontmatter.home"/> | ||
<Page v-else></Page> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Vue from 'vue' | ||
import Home from './Home.vue' | ||
import Page from './Page.vue' | ||
export default { | ||
components: { Home, Page } | ||
} | ||
</script> |
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,20 @@ | ||
<template> | ||
<header id="header" class="measure-wide center mt6 mb4"> | ||
<nav> | ||
<div class="mb2 dib"> | ||
<a class="gray link" :class="{ active: page.path !== '/about' }" href="/" title="blog">blog</a> | ||
. | ||
<a class="gray link" :class="{ active: page.path === '/about' }" href="/about" title="matsu">matsu</a> | ||
</div> | ||
<div> | ||
<a class="rss gray link" href="/feed.xml" title="matsu" >/rss</a> | ||
</div> | ||
</nav> | ||
</header> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: ['page'] | ||
} | ||
</script> |
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,20 @@ | ||
<template> | ||
<div class="f6 avenir"> | ||
<header id="header" class="measure-wide center mt6 mb4"> | ||
<nav> | ||
<div class="mb2 dib"> | ||
<a class="gray link active" href="/" title="blog">blog</a> | ||
. | ||
<a class="gray link" href="/about" title="matsu">matsu</a> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<section id="main" class="gray mb6 lh-copy"> | ||
<div class="content custom"> | ||
<p>Nothing found.</p> | ||
</div> | ||
</section> | ||
</div> | ||
</template> | ||
|
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,21 @@ | ||
<template> | ||
<div class="f6 avenir"> | ||
<Nav :page="$page" /> | ||
|
||
<section id="main" class="gray mb6 lh-copy"> | ||
<ul class="ph0"> | ||
<BlogItem :page="$page"></BlogItem> | ||
</ul> | ||
<Content/> | ||
</section> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Nav from './Nav.vue' | ||
import BlogItem from './BlogItem.vue' | ||
export default { | ||
components: { Nav, BlogItem } | ||
} | ||
</script> |
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,16 @@ | ||
--- | ||
title: 'About' | ||
lastUpdated: '2016-09-18' | ||
top_page: true | ||
--- | ||
|
||
Hi, I'm Pine. I work on Visual Studio Code at Microsoft. | ||
|
||
Software engineer is my title, but I aim to become an Information Architect. In the literary level, I work to organize and present information at the right place & time. In a figurative sense, I try to approach programming with empathy and ethics, despite programming itself being a very technical endeavor. | ||
|
||
Some projects that I work on: | ||
|
||
- [Vetur](https://github.com/vuejs/vetur): Vue tooling for VS Code. | ||
- [Polacode](https://github.com/octref/polacode): Polaroid for your code. | ||
|
||
You can find me on [GitHub](https://github.com/octref) and [Twitter](https://twitter.com/octref). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.