├── .circleci └── config.yml ├── .editorconfig ├── .gitignore ├── .gitmodules ├── CNAME ├── README.md ├── archetypes ├── default.md ├── newsletters.md └── posts.md ├── config.toml ├── content ├── blog │ └── 2020-08-22-asdf.md └── post │ └── Example.md └── netlify.toml /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | 3 | jobs: 4 | build: 5 | docker: 6 | # Primary container 7 | - image: cibuilds/hugo 8 | environment: 9 | HUGO_PUBLISHDIR: public 10 | steps: 11 | - checkout 12 | - run: 13 | name: Install Submodules 14 | command: git submodule sync && git submodule update --init 15 | - run: 16 | name: Build Static Site for Production 17 | # command: hugo --buildDrafts 18 | command: hugo 19 | environment: 20 | HUGO_ENV: production 21 | # - run: htmlproofer $HUGO_BUILD_DIR --allow-hash-href --check-html --empty-alt-ignore --disable-external 22 | - deploy: 23 | name: Deploy to GitHub Pages 24 | command: | 25 | if [ $CIRCLE_BRANCH == "master" ]; then 26 | ls -al themes/beautifulhugo 27 | elif [ $CIRCLE_TAG ]; then 28 | echo "hello" 29 | fi 30 | # - store_test_results: 31 | # path: ~/reports 32 | # - store_artifacts: 33 | # path: ~/reports 34 | 35 | workflows: 36 | version: 2 37 | build-and-deploy: 38 | jobs: 39 | - build: 40 | context: hugo 41 | filters: 42 | branches: 43 | only: 44 | - master 45 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Top-most EditorConfig file 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = LF 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### Code ### 2 | # Visual Studio Code - https://code.visualstudio.com/ 3 | .settings/ 4 | .vscode/ 5 | tsconfig.json 6 | jsconfig.json 7 | 8 | 9 | ### Hugo ### 10 | hugo.exe 11 | /public/ 12 | 13 | 14 | ### OSX ### 15 | *.DS_Store 16 | .AppleDouble 17 | .LSOverride 18 | 19 | # Icon must end with two \r 20 | Icon 21 | 22 | # Thumbnails 23 | ._* 24 | 25 | # Files that might appear in the root of a volume 26 | .DocumentRevisions-V100 27 | .fseventsd 28 | .Spotlight-V100 29 | .TemporaryItems 30 | .Trashes 31 | .VolumeIcon.icns 32 | .com.apple.timemachine.donotpresent 33 | 34 | # Directories potentially created on remote AFP share 35 | .AppleDB 36 | .AppleDesktop 37 | Network Trash Folder 38 | Temporary Items 39 | .apdisk 40 | 41 | 42 | ### Vim ### 43 | # swap 44 | .sw[a-p] 45 | .*.sw[a-p] 46 | # session 47 | Session.vim 48 | # temporary 49 | .netrwhist 50 | *~ 51 | # auto-generated tag files 52 | tags 53 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "themes/beautifulhugo"] 2 | path = themes/beautifulhugo 3 | url = https://github.com/halogenica/beautifulhugo 4 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | lv0.dev 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 |

Posquit0's blog

7 |
8 | 9 |

10 | Technical Blog with :heart: and Hugo 11 |

12 | 13 |
14 | 15 | CircleCI 16 | 17 | 18 | CC BY-NC 4.0 19 | 20 | 21 | Open Source Love 22 | 23 |
24 | 25 |
26 | 27 | 28 | ## Contact 29 | 30 | If you have any questions, feel free to join me at [`#posquit0` on Freenode](irc://irc.freenode.net/posquit0) and ask away. Click [here](https://kiwiirc.com/client/irc.freenode.net/posquit0) to connect. 31 | 32 | 33 | ## License 34 | 35 | Provided under the terms of the CC BY-NC 4.0 License. 36 | 37 | Copyright © 2018, [Byungjin Park](http://www.posquit0.com). 38 | -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/posquit0/blog/de84cf43cb96418b3f6324979cd7d8255663ebc7/archetypes/default.md -------------------------------------------------------------------------------- /archetypes/newsletters.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | --- 6 | 7 | **Insert Lead paragraph here.**** 8 | 9 | ## New Cool Posts 10 | 11 | {{ range first 10 ( where .Site.RegularPages "Type" "cool" ) }} 12 | * {{ .Title }} 13 | {{ end }} 14 | -------------------------------------------------------------------------------- /archetypes/posts.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .TranslationBaseName "-" " " | title }}" 3 | author: "Byungjin Park" 4 | cover: "/img/cover.jpg" 5 | tags: ["tagA", "tagB"] 6 | date: {{ .Date }} 7 | draft: true 8 | --- 9 | 10 | Cut out summary from your post content here. 11 | 12 | 13 | 14 | The remaining content of your post. 15 | 16 | 17 | -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- 1 | # baseURL = "http://blog.posquit0.com" 2 | languageCode = "ko-KR" 3 | title = "Posquit0" 4 | theme = "beautifulhugo" 5 | # Make .Summary and .WordCount behave correctly for CJK languages 6 | hasCJKLanguage = true 7 | enableRobotsTXT = true 8 | PygmentsCodeFences = true 9 | canonifyurls = true 10 | 11 | # Disqus Username 12 | disqusShortname = "posquit0-blog" 13 | 14 | # Google Analytics UA number 15 | googleAnalytics = "UA-33369276-1" 16 | 17 | # Copyright of your post 18 | copyright = "© This post is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License,please give source if you likes to quote or reproduce." 19 | 20 | # Initial site menu, you can extend menu with content. 21 | [[menu.main]] 22 | name = "Posts" 23 | weight = 10 24 | identifier = "home" 25 | url = "/" 26 | 27 | [[menu.main]] 28 | name = "GitHub" 29 | weight = 20 30 | identifier = "works" 31 | url = "https://github.com/posquit0" 32 | 33 | [[menu.main]] 34 | name = "Tags" 35 | weight = 30 36 | identifier = "tags" 37 | url = "/tags/" 38 | 39 | # Add your own params here 40 | [params] 41 | author = "Byungjin Park" 42 | avatar = "/img/avatar.jpg" 43 | seotitle = "米老朱的博客 Ritchie Pub." 44 | subtitle = "Software Architect" 45 | description = "这里是 @米老朱 的个人博客,记录他在互联网新世界探索的点点滴滴 This is melaozhu's personal blog, he takes note here while exploring the new world." 46 | paginate = 10 47 | 48 | # Choose your social networks 49 | email = "posquit0.bj@gmail.com" 50 | github = "posquit0" 51 | # twitter = "posquit0" 52 | linkedin = "posquit0" 53 | facebook = "posquit0" 54 | # google = "109063353665074282689" 55 | # instagram = "melaozhu" 56 | # medium = "melaozhu" 57 | # quora = "melaozhu" 58 | # dribbble = "laozhu" 59 | # behance = "melaozhu" 60 | 61 | # Google Webmaster 62 | # https://www.google.com/webmasters/ 63 | # googleSiteVerification = "" 64 | -------------------------------------------------------------------------------- /content/blog/2020-08-22-asdf.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: asdf 3 | date: 2020-08-22T17:16:18.082Z 4 | description: asdf 5 | --- 6 | asdf -------------------------------------------------------------------------------- /content/post/Example.md: -------------------------------------------------------------------------------- 1 | --- 2 | author: posquit0 3 | date: 2018-03-25 4 | draft: false 5 | tags: 6 | - CSS 7 | - Menu 8 | title: Test Post 9 | --- 10 | 11 | Hello World! 12 | ```js 13 | console.log('hello world!'); 14 | ``` 15 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | publish = "public" 3 | command = "hugo" 4 | 5 | [context.production.environment] 6 | HUGO_VERSION = "0.37.1" 7 | HUGO_ENV = "production" 8 | HUGO_ENABLEGITINFO = "true" 9 | --------------------------------------------------------------------------------