Skip to content

Commit

Permalink
Use remote files (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 authored May 15, 2023
2 parents dd54b4e + 72a37a3 commit ff912f6
Show file tree
Hide file tree
Showing 30 changed files with 68 additions and 3,709 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ yarn-error.log*

# contentlayer
.contentlayer
content/posts

# obsidian
.obsidian
3 changes: 2 additions & 1 deletion content/definitions/Post.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineDocumentType } from 'contentlayer/source-files'
import { slug } from '../../src/lib/utils'
import { authors } from '../../src/lib/authors'

export const Post = defineDocumentType(() => ({
Expand Down Expand Up @@ -38,7 +39,7 @@ export const Post = defineDocumentType(() => ({
computedFields: {
id: {
type: 'string',
resolve: post => post._raw.sourceFileName.replace(/\.mdx$/, '')
resolve: post => slug(post.title)
}
}
}))
24 changes: 0 additions & 24 deletions content/posts/black-wallpaper-xfce.mdx

This file was deleted.

41 changes: 0 additions & 41 deletions content/posts/difference-between-pgp-and-gpg.mdx

This file was deleted.

Loading

1 comment on commit ff912f6

@vercel
Copy link

@vercel vercel bot commented on ff912f6 May 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mfg-b – ./

mateusf.vercel.app
mfg-b-git-main-mateusfg7.vercel.app
mfg-b-mateusfg7.vercel.app

Please sign in to comment.