Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bohyunjung committed Jun 23, 2024
0 parents commit adc12bc
Show file tree
Hide file tree
Showing 21 changed files with 269 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: github pages

on:
push:
branches:
- main # Set a branch to deploy
pull_request:

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
# extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-theme-console"]
path = themes/hugo-theme-console
url = https://github.com/mrmierzejewski/hugo-theme-console.git
Empty file added .hugo_build.lock
Empty file.
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD042": false,
"MD013": false
}
8 changes: 8 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
date: {'[object Object]': null}
tags: null
draft: false
---


36 changes: 36 additions & 0 deletions content/about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: About
date: 2024-06-23T11:39:10.000Z
draft: false
tags: null
---

안녕하세요, 연출하고 소통하는 개발자 정보현입니다. 기술적인 것과 문학적인 것, 그 사이 어딘가에서 균형을 찾고 있습니다. 이 블로그에서는 제가 보고, 듣고, 느끼고, 하는 것들에 대한 이야기를 나누고자 합니다.

## 기술 커뮤니케이션

- 문서 엔지니어링 | Document Engineering
- 테크니컬 라이팅 | Technical Writing
- UX 라이팅 | UX Writing

## 개발자 경험 | Developer Experience

- 창작 플랫폼 | Creation Platform
- API/SDK 디자인 | API/SDK Design
- 개발자 관계 | Developer Relations

## 확장현실 eXtended Reality

- 메타 퀘스트 | Meta Quest
- 몰입형 경험 | Immersive Experience

## 인간과 기술

- 시적 연산 | Poetic Computation
- AI 윤리 | AI Ethics

## 삶과 커리어

---

[email](mailto:[email protected])이나 [LinkedIn](https://www.linkedin.com/in/bohyun-jung/)을 통해 제게 연락하실 수 있습니다.
21 changes: 21 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
baseURL = 'https://bohyunjung.com'
title = "bohyunjung.com"
theme = "hugo-theme-console"
languageCode = "ko-kr"

[params]
animateStyle = "animated zoomIn fast"
custom_css = ["css/custom.css"]
googleAnalyticsID = "G-6MX4MC9754"

[[params.navlinks]]
name = "about/"
url = "about/"

[[params.navlinks]]
name = "posts/"
url = "posts/"

[[params.navlinks]]
name = "tags/"
url = "tags/"
56 changes: 56 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ .Page.Title }} | {{ .Site.Title }}</title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<link rel="stylesheet" href="{{ "hugo-theme-console/css/terminal-0.7.2.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "hugo-theme-console/css/animate-4.1.1.min.css" | absURL }}">
<link rel="stylesheet" href="{{ "hugo-theme-console/css/console.css" | absURL }}">
{{ `
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
` | safeHTML }}

{{- partial "favicon.html" . -}}
{{ with .OutputFormats.Get "RSS" }}
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
{{ end }}
{{- partial "opengraph.html" . -}}
{{- partial "twitter_cards.html" . -}}
{{ template "_internal/google_analytics.html" . }}

{{- partial "header.html" . -}}
</head>
<body class="terminal">
<div class="container">
<div class="terminal-nav">
<header class="terminal-logo">
<div class="logo terminal-prompt">
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ $.Scratch.Add "path" .Site.BaseURL }}
<a href="{{ .Site.BaseURL }}" class="no-style {{ with .Site.Params.TitleCutting }}site-name{{ end }}">{{ .Site.Title }}</a>:~#
{{ range $index, $element := split $url "/" }}{{ $.Scratch.Add "path" $element }}{{ if ne $element "" }}<a href='{{ $.Scratch.Get "path" | absURL }}'>{{ . }}</a>/{{ $.Scratch.Add "path" "/" }}{{ end }}{{ end }}</div></header>
<nav class="terminal-menu">
<ul vocab="https://schema.org/" typeof="BreadcrumbList">
{{ range .Site.Params.navlinks }}
<li><a href="{{ absURL .url }}" typeof="ListItem">{{ .name }}</a></li>
{{ end }}
</ul>
</nav>
</div>
</div>

<div class="container {{ .Site.Params.animateStyle }}" >
{{ block "main" . }}
{{ end }}
{{ partial "footer.html" . }}
</div>
</body>
</html>
26 changes: 26 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{ define "main" }}

<h1>About</h1>

<p>
안녕하세요, 연출하고 소통하는 개발자 정보현입니다. 기술적인 것과 문학적인 것, 그 사이 어딘가에서 균형을 찾고 있습니다. <a href="about/">(more)</a>
</p>
<br />

<h1>Latest posts</h1>

<div class="posts-list">
{{ with .Site.GetPage "/posts" }}
{{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
<div class="post">
<p>
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
{{ .Summary }}
</p>
</div>
{{ end }}
{{ end }}
</div>

{{ end }}
9 changes: 9 additions & 0 deletions layouts/partials/analytics-gtag.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsID }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', '{{ .Site.Params.GoogleAnalyticsID }}');
</script>
4 changes: 4 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="footer">
Powered by <a href="https://gohugo.io/">Hugo</a> with
<a href="https://github.com/mrmierzejewski/hugo-theme-console/">Console Theme</a>.
</div>
8 changes: 8 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- Keep - override to add code to <header /> tag -->
{{ range .Site.Params.custom_css -}}
<link rel="stylesheet" href="{{ . | absURL }}">
{{- end }}

{{ if .Site.Params.GoogleAnalyticsID }}
{{ partial "analytics-gtag.html" . }}
{{ end }}
36 changes: 36 additions & 0 deletions layouts/tags/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{{ define "main" }}
<h1>{{ .Page.Title }}</h1>
<br/>
{{ .Content }}

<div class="posts-list">

{{ if ( eq .Page.Kind "taxonomy" )}}
{{range $index, $var := .Site.Taxonomies.tags.ByCount }}
{{ with $.Site.GetPage (printf "/tags/%s" .Name) }}
<div class="post">
{{$var.Count}}
<div class="date">
</div>
<a href={{ .RelPermalink }} title="All pages with tag <i>{{.Name}}</i>">{{.Name}}</a>
</div>
{{end}}
{{end}}

{{else}}
{{ range sort .Data.Pages "Date" "desc" }}
{{ if not .Params.private }}
<div class="post">
<p>
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
{{ .Summary }}
</p>
</div>
{{ end }}
{{ end }}
{{ end }}

</div>

{{ end }}
Binary file added static/.DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@font-face {
font-family: 'D2Coding';
src: url('../font/D2Coding.ttf') format('truetype');
font-style: normal;
font-weight: 400;
text-rendering: optimizeLegibility;
}

@font-face {
font-family: 'D2Coding';
src: url('../font/D2CodingBold.ttf') format('truetype');
font-style: normal;
font-weight: 700;
text-rendering: optimizeLegibility;
}

:root {
--mono-font-stack: D2Coding, Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
--font-stack: D2Coding, Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
--primary-color: #ff4f01;
}
Binary file added static/favicon.ico
Binary file not shown.
Binary file added static/font/.DS_Store
Binary file not shown.
Binary file added static/font/D2Coding.ttf
Binary file not shown.
Binary file added static/font/D2CodingBold.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions themes/hugo-theme-console
Submodule hugo-theme-console added at a03f41

0 comments on commit adc12bc

Please sign in to comment.