-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrite-post.html
More file actions
938 lines (554 loc) · 39.7 KB
/
Copy pathwrite-post.html
File metadata and controls
938 lines (554 loc) · 39.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
<!DOCTYPE html>
<html>
<head>
<!-- Document Settings -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Base Meta -->
<!-- dynamically fixing the title for tag/author pages -->
<title>VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Styles'n'Scripts -->
<link rel="stylesheet" type="text/css" href="/assets/built/screen.css" />
<link rel="stylesheet" type="text/css" href="/assets/built/screen.edited.css" />
<link rel="stylesheet" type="text/css" href="/assets/built/syntax.css" />
<!-- custom.css -->
<link rel="stylesheet" type="text/css" href="/assets/built/custom.css" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- 웹폰트 추가 -->
<link rel="stylesheet" href="https://fonts.googleapis.com/earlyaccess/nanumgothic.css">
<!-- highlight.js -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<style>.hljs { background: none; }</style>
<!--[if IE]>
<style>
p, ol, ul{
width: 100%;
}
blockquote{
width: 100%;
}
</style>
<![endif]-->
<!-- This tag outputs SEO meta+structured data and other important settings -->
<meta name="description" content="기술 블로그" />
<link rel="shortcut icon" href="https://simplehanlab.github.io/assets/built/images/favicon.jpg" type="image/png" />
<link rel="canonical" href="https://simplehanlab.github.io/write-post" />
<meta name="referrer" content="no-referrer-when-downgrade" />
<!--title below is coming from _includes/dynamic_title-->
<meta property="og:site_name" content="SimpleHan Lab" />
<meta property="og:type" content="website" />
<meta property="og:title" content="VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)" />
<meta property="og:description" content="jekyll 포스트를 작성하는 방법에 대해 작성하려 한다. 나는 공개된 테마 중 minimal-mistakes 테마를 이용하고 있으므로 해당 테마 기반으로 글을 작성한다. 그리고 jekyll 사용 편의성을 높히기 위해 VSCode와 Typora를 같이 이용하기로 하였다. jekyll, minimal-mistakes 등에 관한 설명은 지난 포스트를 참조하자. minimal-mistakes 테마 로컬에서 구동하기 포스트 작성 전에 VSCode와 Typora를 설치해보자. VSCode" />
<meta property="og:url" content="https://simplehanlab.github.io/write-post" />
<meta property="og:image" content="https://simplehanlab.github.io/assets/built/images/jekyll/jekyll-logo.png" />
<meta property="article:publisher" content="https://www.facebook.com/" />
<meta property="article:author" content="https://www.facebook.com/" />
<meta property="article:published_time" content="2019-08-01T17:00:00+00:00" />
<meta property="article:modified_time" content="2019-08-01T17:00:00+00:00" />
<meta property="article:tag" content="github pages" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)" />
<meta name="twitter:description" content="jekyll 포스트를 작성하는 방법에 대해 작성하려 한다. 나는 공개된 테마 중 minimal-mistakes 테마를 이용하고 있으므로 해당 테마 기반으로 글을 작성한다. 그리고 jekyll 사용 편의성을 높히기 위해 VSCode와 Typora를 같이 이용하기로 하였다. jekyll, minimal-mistakes 등에 관한 설명은 지난 포스트를 참조하자. minimal-mistakes 테마 로컬에서 구동하기 포스트 작성 전에 VSCode와 Typora를 설치해보자. VSCode" />
<meta name="twitter:url" content="https://simplehanlab.github.io/" />
<meta name="twitter:image" content="https://simplehanlab.github.io/assets/built/images/jekyll/jekyll-logo.png" />
<meta name="twitter:label1" content="Written by" />
<meta name="twitter:data1" content="SimpleHan Lab" />
<meta name="twitter:label2" content="Filed under" />
<meta name="twitter:data2" content="github pages" />
<meta name="twitter:site" content="@" />
<meta name="twitter:creator" content="@" />
<meta property="og:image:width" content="1400" />
<meta property="og:image:height" content="933" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Website",
"publisher": {
"@type": "Organization",
"name": "SimpleHan Lab",
"logo": "https://simplehanlab.github.io/"
},
"url": "https://simplehanlab.github.io/write-post",
"image": {
"@type": "ImageObject",
"url": "https://simplehanlab.github.io/assets/built/images/jekyll/jekyll-logo.png",
"width": 2000,
"height": 666
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://simplehanlab.github.io/write-post"
},
"description": "jekyll 포스트를 작성하는 방법에 대해 작성하려 한다. 나는 공개된 테마 중 minimal-mistakes 테마를 이용하고 있으므로 해당 테마 기반으로 글을 작성한다. 그리고 jekyll 사용 편의성을 높히기 위해 VSCode와 Typora를 같이 이용하기로 하였다. jekyll, minimal-mistakes 등에 관한 설명은 지난 포스트를 참조하자. minimal-mistakes 테마 로컬에서 구동하기 포스트 작성 전에 VSCode와 Typora를 설치해보자. VSCode"
}
</script>
<!-- <script type="text/javascript" src="https://demo.ghost.io/public/ghost-sdk.min.js?v=724281a32e"></script>
<script type="text/javascript">
ghost.init({
clientId: "ghost-frontend",
clientSecret: "f84a07a72b17"
});
</script> -->
<meta name="generator" content="Jekyll 3.6.2" />
<link rel="alternate" type="application/rss+xml" title="VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)" href="/feed.xml" />
</head>
<body class="post-template">
<div class="site-wrapper">
<!-- All the main content gets inserted here, index.hbs, post.hbs, etc -->
<!-- default -->
<!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template -->
<header class="site-header outer">
<div class="inner">
<nav class="site-nav">
<div class="site-nav-left">
<a class="site-nav-logo" href="https://simplehanlab.github.io/">SimpleHan Lab</a>
<ul class="nav" role="menu">
<li class="nav-about" role="menuitem"><a href="/about/">About</a></li>
<li class="nav-jekyll" role="menuitem"><a href="/category/react/">react</a></li>
<li class="nav-python" role="menuitem"><a href="/category/spring/">spring</a></li>
<li class="nav-java" role="menuitem"><a href="/category/ios/">ios</a></li>
<li class="nav-jekyll" role="menuitem"><a href="/category/jekyll/">jekyll</a></li>
<li class="nav-python" role="menuitem"><a href="/category/minimal-mistakes/">minimal-mistakes</a></li>
<li class="nav-python" role="menuitem"><a href="/category/ssl/">ssl</a></li>
<li class="nav-python" role="menuitem"><a href="/category/tensorflow/">tensorflow</a></li>
<li class="nav-python" role="menuitem"><a href="/category/ssh/">ssh</a></li>
<li class="nav-archive" role="menuitem">
<a href="/archive.html">All Posts</a>
</li>
<li class="nav-archive" role="menuitem">
<a href="/categories.html">카테고리별 Posts</a>
</li>
<li class="nav-archive" role="menuitem">
<a href="/author_archive.html">Tag별 Posts</a>
</li>
</ul>
</div>
<div class="site-nav-right">
<div class="social-links">
</div>
<a class="subscribe-button" href="#subscribe">Search</a>
</div>
</nav>
</div>
</header>
<!-- Everything inside the #post tags pulls data from the post -->
<!-- #post -->
<main id="site-main" class="site-main outer" role="main">
<div class="inner">
<article class="post-full tag-github-pages tag-jekyll tag-minimal-mistakes tag-vscode tag-typora ">
<header class="post-full-header">
<section class="post-full-meta">
<time class="post-full-meta-date" datetime=" 1 August 2019"> 1 August 2019</time>
<span class="date-divider">/</span>
<a href='/category/jekyll/'>JEKYLL</a>,
<a href='/category/minimal-mistakes/'>MINIMAL-MISTAKES</a>
</section>
<h1 class="post-full-title">VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)</h1>
</header>
<!--
<figure class="post-full-image" style="background-image: url(/assets/built/images/jekyll/jekyll-logo.png)">
</figure>
-->
<section class="post-full-content">
<div class="kg-card-markdown">
<p>jekyll 포스트를 작성하는 방법에 대해 작성하려 한다. 나는 공개된 테마 중 minimal-mistakes 테마를 이용하고 있으므로 해당 테마 기반으로 글을 작성한다. 그리고 jekyll 사용 편의성을 높히기 위해 VSCode와 Typora를 같이 이용하기로 하였다.</p>
<p>jekyll, minimal-mistakes 등에 관한 설명은 지난 포스트를 참조하자.</p>
<p><a href="https://simplehanlab.github.io/jekyll/minimal-mistakes/run-on-local/">minimal-mistakes 테마 로컬에서 구동하기</a></p>
<p>포스트 작성 전에 VSCode와 Typora를 설치해보자.</p>
<h2 id="vscode-설치">VSCode 설치</h2>
<p>VSCode는 Visual Studio Code의 약칭으로 마이크로소프트가 제작한 소스 코드 편집기이다. 이를 이용해서 jekyll 프로젝트의 편집을 할 계획이다.</p>
<p>VSCode를 받기 위해서 <a href="https://code.visualstudio.com/">VSCode 사이트</a>에 접속한다. 사이트에서 Installer를 다운로드 받자.</p>
<p><img src="\assets\built\images\write-post\vscode-site.jpg" alt="" /></p>
<p>VSCode 설치가 끝난 뒤 실행을 해보면 아래와 같은 화면이 나온다.</p>
<p><img src="\assets\built\images\write-post\vscode-exec.jpg" alt="" /></p>
<p>VSCode의 폴더 열기를 이용하여 자신의 소스 코드 폴더를 열면 아래처럼 화면이 변한다. 이제부터 소스 코드 편집을 진행할 수 있다.</p>
<p><img src="\assets\built\images\write-post\vscode-load-folder.jpg" alt="" /></p>
<h2 id="typora-설치">Typora 설치</h2>
<p>VSCode를 이용하여 파일을 빠르게 작성하는 것은 좋으나, jekyll 포스트는 기본적으로 파일 형식이 md이다. md파일은 마크다운 포맷으로 구성되기 때문에 작성과 출력에 차이가 있다. 이 포맷을 작성하는 도중에도 확인할 수 있다면 더욱 편하게 포스트 작성이 가능하기 때문에 마크다운 에디터인 Typora를 이용하기로 했다.</p>
<p>Typora를 설치하기 위해 <a href="https://typora.io/">Typora 사이트</a>에 접속한다. Download 탭에서 자신의 OS에 맞는 버전을 선택하여 다운받는다. (나는 Windows로 진행하였다.)</p>
<p><img src="\assets\built\images\write-post\typora-site.jpg" alt="" /></p>
<p>Typora를 다운받은 뒤 실행해보면 아래와 같은 화면이 나온다.</p>
<p><img src="\assets\built\images\write-post\typora-exec.jpg" alt="" /></p>
<p>이제부터 Typora를 이용하여 마크다운 문서를 작성할 수 있다. Typora의 다양한 기능을 이용하여 마크다운 문서를 작성해보자.</p>
<p>Typora 상단 메뉴 중 본문, 서식 등을 이용하여 문서를 작성할 수 있는데 문서를 작성하면 실시간으로 마크다운 문서가 어떻게 해석되서 나타나는 지 볼 수 있다. 아래 이미지처럼 말이다.</p>
<p><img src="\assets\built\images\write-post\typora-p.jpg" alt="" /></p>
<p><img src="\assets\built\images\write-post\typora-basic.jpg" alt="" /></p>
<p>물론 소스 코드 상태로도 볼 수 있는데 Typora 아래쪽의 <strong></></strong> 아이콘을 클릭하면 소스 코드 모드로 변환된다. 이 상태에서 위의 문서를 보게 되면 아래와 같이 변한다.</p>
<p><img src="\assets\built\images\write-post\typora-source.jpg" alt="" /></p>
<p>현재 작성한 이 포스트도 Typora에서 작성한 포스트이다. 앞으로 포스트들은 이를 이용해서 작성될 예정이다.</p>
<p>이제 준비가 끝났으니 VSCode를 이용하여 첫 포스트를 작성해보자.</p>
<h2 id="포스트-작성하기">포스트 작성하기</h2>
<p>포스트를 작성하기 위해선 일단 <strong>_posts</strong> 폴더가 필요하다. jekyll은 _posts 폴더에 특정한 이름의 마크다운 파일을 자동으로 포스트로 인식한다. 이 폴더가 있다면 상관없지만 없다면 다음과 같이 폴더를 생성해주자.</p>
<p><img src="\assets\built\images\write-post\mkdir-posts.jpg" alt="" /></p>
<p>폴더를 생성했다면 다음으로 포스트를 작성해볼 차례인데, 주의점이 있다. 파일의 이름 형식을 꼭 맞춰줘야 하는데, 파일 형식은 다음과 같다.</p>
<blockquote>
<p>YEAR-MONTH-DAY-title.MARKUP</p>
<blockquote>
<p>YEAR : 4자리의 숫자<br />
MONTH, DAY : 2자리의 숫자<br />
title : 포스트 제목 (파일 이름 정도로 인식하면 된다.)<br />
MARKUP : 마크다운 포맷이 인식되는 확장자</p>
</blockquote>
</blockquote>
<p>이를 토대로 만들어진 올바른 포스트 파일명은 아래와 같다.</p>
<blockquote>
<p>2011-12-31-new-years-eve-is-awesome.md<br />
2012-09-12-how-to-write-a-blog.md</p>
</blockquote>
<p>이제 첫 포스트를 작성해보자. 파일 이름은 <strong>2019-08-01-first-post.md</strong> 로 지정했다.</p>
<p><img src="\assets\built\images\write-post\first-post.jpg" alt="" /></p>
<p>이제 간단히 글을 작성해보자. jekyll 문서들은 첫 문단에 머리글(Front Matter)을 작성할 수 있는데 문서의 각종 설정, 메타 데이터라고 인식하면 된다. 첫 포스트의 머리글은 아래와 같이 작성할 수 있는데 이미지 아래에서 설명하겠다.</p>
<p><img src="\assets\built\images\write-post\front-matter.jpg" alt="" /></p>
<table>
<thead>
<tr>
<th>이름</th>
<th>기능</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>title</strong></td>
<td>포스트 제목</td>
</tr>
<tr>
<td><strong>categories</strong></td>
<td>포스트 카테고리 정의</td>
</tr>
<tr>
<td><strong>tags</strong></td>
<td>포스트 태그 정의</td>
</tr>
<tr>
<td><strong>date</strong></td>
<td>작성일</td>
</tr>
</tbody>
</table>
<p>이 외에도 정말 다양한 설정값이 존재하나 추후 포스트에서 설명하겠다.</p>
<p>머리글 작성이 끝나면 그 아래에 작성하는 내용이 포스트의 본문이 된다. 테스트용으로 간단하게 작성해보자.</p>
<p><img src="\assets\built\images\write-post\write-first-post.jpg" alt="" /></p>
<p>작성이 다 끝났으면 자신의 로컬서버, 혹은 github pages 서버에서 포스트가 잘 작성되었는지 확인해보자. <em>(github pages를 이용하는 방법은 추후 포스팅 예정이다.)</em></p>
<p><img src="\assets\built\images\write-post\check-first-post.jpg" alt="" /></p>
<p>첫 포스트가 잘 올라간 모습을 볼 수 있다. <em>(나는 minimal-mistakes 테마의 다른 설정들도 건드린 상태이기 때문에 순정 상태와 모습이 다르다.)</em></p>
</div>
</section>
<a href='/tag/github-pages/'>GITHUB PAGES</a>,
<a href='/tag/jekyll/'>JEKYLL</a>,
<a href='/tag/minimal-mistakes/'>MINIMAL-MISTAKES</a>,
<a href='/tag/vscode/'>VSCODE</a>,
<a href='/tag/typora/'>TYPORA</a>
<!-- Email subscribe form at the bottom of the page -->
<!--
<section class="subscribe-form">
<h3 class="subscribe-form-title">Subscribe to SimpleHan Lab</h3>
<p>Get the latest posts delivered right to your inbox</p>
<span id="searchform" method="post" action="/subscribe/" class="">
<input class="confirm" type="hidden" name="confirm" />
<input class="location" type="hidden" name="location" />
<input class="referrer" type="hidden" name="referrer" />
<div class="form-group">
<input class="subscribe-email" onkeyup="myFunc()"
id="searchtext" type="text" name="searchtext"
placeholder="Search..." />
</div>
<script type="text/javascript">
function myFunc() {
if(event.keyCode == 13) {
var url = encodeURIComponent($("#searchtext").val());
location.href = "/search.html?query=" + url;
}
}
</script>
</span>
</section>
-->
<footer class="post-full-footer">
<!-- Everything inside the #author tags pulls data from the author -->
<!-- #author-->
<section class="author-card">
<img class="author-profile-image" src="/assets/built/images/author-logo.jpg" alt="Simplehan" />
<section class="author-card-content">
<h4 class="author-card-name"><a href="/author/Simplehan">Simplehan</a></h4>
<p>We are amazing developers.</p>
</section>
</section>
<div class="post-full-footer-right">
<a class="author-card-button" href="/author/Simplehan">Read More</a>
</div>
<!-- /author -->
</footer>
<!-- If you use Disqus comments, just uncomment this block.
The only thing you need to change is "test-apkdzgmqhj" - which
should be replaced with your own Disqus site-id. -->
<section class="post-full-comments">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
var this_page_url = 'https://simplehanlab.github.io/write-post';
var this_page_identifier = '/write-post';
var this_page_title = 'VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://simplehanlab.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</section>
</article>
</div>
</main>
<!-- Links to Previous/Next posts -->
<aside class="read-next outer">
<div class="inner">
<div class="read-next-feed">
<article class="read-next-card"
style="background-image: url(/assets/built/images/blog-cover1.png)"
>
<header class="read-next-card-header">
<small class="read-next-card-header-sitetitle">— SimpleHan Lab —</small>
<h3 class="read-next-card-header-title"><a href="/tag/github-pages/">Github pages</a></h3>
</header>
<div class="read-next-divider"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 14.5s2 3 5 3 5.5-2.463 5.5-5.5S21 6.5 18 6.5c-5 0-7 11-12 11C2.962 17.5.5 15.037.5 12S3 6.5 6 6.5s4.5 3.5 4.5 3.5"/></svg>
</div>
<div class="read-next-card-content">
<ul>
<li><a href="/google-analytics">minimal-mistakes에 Google Analytics 연동하기</a></li>
<li><a href="/run-on-local">minimal-mistakes 테마 로컬에서 구동하기</a></li>
</ul>
</div>
<footer class="read-next-card-footer">
<a href="/tag/github-pages/">
See all 2 posts →
</a>
</footer>
</article>
<!-- If there's a next post, display it using the same markup included from - partials/post-card.hbs -->
<article class="post-card post-template">
<a class="post-card-image-link" href="/ssh-how_to_setup_ssh">
<div class="post-card-image" style="background-image: url(/assets/built/images/ubuntu/ubuntu-logo.png)"></div>
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/ssh-how_to_setup_ssh">
<header class="post-card-header">
<span class="post-card-tags">Ssh</span>
<span class="post-card-tags">Ubuntu</span>
<span class="post-card-tags">Linux</span>
<h2 class="post-card-title">[Ubuntu 18.04] SSH 접속 설정 하기</h2>
</header>
<section class="post-card-excerpt">
<p>SSH 란?
</p>
</section>
</a>
<footer class="post-card-meta">
<img class="author-profile-image" src="/assets/built/images/author-logo.jpg" alt="Simplehan" />
<span class="post-card-author">
<a href="/author/Simplehan/">Simplehan</a>
</span>
<span class="reading-time">
1 min read
</span>
</footer>
</div>
</article>
<!-- If there's a previous post, display it using the same markup included from - partials/post-card.hbs -->
<article class="post-card post-template">
<a class="post-card-image-link" href="/run-on-local">
<div class="post-card-image" style="background-image: url(/assets/built/images/jekyll/jekyll-logo.png)"></div>
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/run-on-local">
<header class="post-card-header">
<span class="post-card-tags">Github pages</span>
<span class="post-card-tags">Jekyll</span>
<span class="post-card-tags">Minimal-mistakes</span>
<span class="post-card-tags">Git</span>
<span class="post-card-tags">Ruby</span>
<h2 class="post-card-title">minimal-mistakes 테마 로컬에서 구동하기</h2>
</header>
<section class="post-card-excerpt">
<p>블로그를 시작하였다. 처음엔 티스토리를 이용하여 블로그를 개설하려 했으나 github에서 무료로 제공하는 github pages 호스팅 서비스가 있길래 이를 이용해보기로 했다. github pages는 jekyll로 동작하기 때문에 jekyll의 공개된 테마 중 인기가 많은 minimal-mistakes 테마를 이용하였다.</p>
</section>
</a>
<footer class="post-card-meta">
<img class="author-profile-image" src="/assets/built/images/author-logo.jpg" alt="Simplehan" />
<span class="post-card-author">
<a href="/author/Simplehan/">Simplehan</a>
</span>
<span class="reading-time">
5 min read
</span>
</footer>
</div>
</article>
</div>
</div>
</aside>
<!-- Floating header which appears on-scroll, included from includes/floating-header.hbs -->
<div class="floating-header">
<div class="floating-header-logo">
<a href="https://simplehanlab.github.io/">
<span>SimpleHan Lab</span>
</a>
</div>
<span class="floating-header-divider">—</span>
<div class="floating-header-title">VSCode, Typora를 이용하여 jekyll 포스트 작성하기 (with minimal-mistakes)</div>
<div class="floating-header-share">
<div class="floating-header-share-label">Share this <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M7.5 15.5V4a1.5 1.5 0 1 1 3 0v4.5h2a1 1 0 0 1 1 1h2a1 1 0 0 1 1 1H18a1.5 1.5 0 0 1 1.5 1.5v3.099c0 .929-.13 1.854-.385 2.748L17.5 23.5h-9c-1.5-2-5.417-8.673-5.417-8.673a1.2 1.2 0 0 1 1.76-1.605L7.5 15.5zm6-6v2m-3-3.5v3.5m6-1v2"/>
</svg>
</div>
<a class="floating-header-share-tw" href="https://twitter.com/share?text=VSCode%2C+Typora%EB%A5%BC+%EC%9D%B4%EC%9A%A9%ED%95%98%EC%97%AC+jekyll+%ED%8F%AC%EC%8A%A4%ED%8A%B8+%EC%9E%91%EC%84%B1%ED%95%98%EA%B8%B0+%28with+minimal-mistakes%29&url=https://simplehanlab.github.io/write-post"
onclick="window.open(this.href, 'share-twitter', 'width=550,height=235');return false;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M30.063 7.313c-.813 1.125-1.75 2.125-2.875 2.938v.75c0 1.563-.188 3.125-.688 4.625a15.088 15.088 0 0 1-2.063 4.438c-.875 1.438-2 2.688-3.25 3.813a15.015 15.015 0 0 1-4.625 2.563c-1.813.688-3.75 1-5.75 1-3.25 0-6.188-.875-8.875-2.625.438.063.875.125 1.375.125 2.688 0 5.063-.875 7.188-2.5-1.25 0-2.375-.375-3.375-1.125s-1.688-1.688-2.063-2.875c.438.063.813.125 1.125.125.5 0 1-.063 1.5-.25-1.313-.25-2.438-.938-3.313-1.938a5.673 5.673 0 0 1-1.313-3.688v-.063c.813.438 1.688.688 2.625.688a5.228 5.228 0 0 1-1.875-2c-.5-.875-.688-1.813-.688-2.75 0-1.063.25-2.063.75-2.938 1.438 1.75 3.188 3.188 5.25 4.25s4.313 1.688 6.688 1.813a5.579 5.579 0 0 1 1.5-5.438c1.125-1.125 2.5-1.688 4.125-1.688s3.063.625 4.188 1.813a11.48 11.48 0 0 0 3.688-1.375c-.438 1.375-1.313 2.438-2.563 3.188 1.125-.125 2.188-.438 3.313-.875z"/></svg>
</a>
<a class="floating-header-share-fb" href="https://www.facebook.com/sharer/sharer.php?u=https://simplehanlab.github.io/write-post"
onclick="window.open(this.href, 'share-facebook','width=580,height=296');return false;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M19 6h5V0h-5c-3.86 0-7 3.14-7 7v3H8v6h4v16h6V16h5l1-6h-6V7c0-.542.458-1 1-1z"/></svg>
</a>
</div>
<progress class="progress" value="0">
<div class="progress-container">
<span class="progress-bar"></span>
</div>
</progress>
</div>
<!-- /post -->
<!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs -->
<!-- Previous/next page links - displayed on every page -->
<!-- The footer at the very bottom of the screen -->
<footer class="site-footer outer">
<div class="site-footer-content inner">
<section class="copyright"><a href="https://simplehanlab.github.io/">SimpleHan Lab</a> © 2021</section>
<section class="poweredby">Proudly published with <a href="https://jekyllrb.com/">Jekyll</a> &
<a href="https://pages.github.com/" target="_blank" rel="noopener">GitHub Pages</a> using
<a href="https://github.com/jekyllt/jasper2" target="_blank" rel="noopener">Jasper2</a></section>
<nav class="site-footer-nav">
<a href="/">Latest Posts</a>
<a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
</nav>
</div>
</footer>
</div>
<!-- The big email subscribe modal content -->
<div id="subscribe" class="subscribe-overlay">
<a class="subscribe-overlay-close" href="#"></a>
<div class="subscribe-overlay-content">
<h1 class="subscribe-overlay-title">Search SimpleHan Lab</h1>
<p class="subscribe-overlay-description">
lunr.js를 이용한 posts 검색 </p>
<span id="searchform" method="post" action="/subscribe/" class="">
<input class="confirm" type="hidden" name="confirm" />
<input class="location" type="hidden" name="location" />
<input class="referrer" type="hidden" name="referrer" />
<div class="form-group">
<input class="subscribe-email" onkeyup="myFunc()"
id="searchtext" type="text" name="searchtext"
placeholder="Search..." />
</div>
<script type="text/javascript">
function myFunc() {
if(event.keyCode == 13) {
var url = encodeURIComponent($("#searchtext").val());
location.href = "/search.html?query=" + url;
}
}
</script>
</span>
</div>
</div>
<!-- highlight.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.10.0/components/prism-abap.min.js"></script>
<script>$(document).ready(function() {
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
});
});</script>
<!-- jQuery + Fitvids, which makes all video embeds responsive -->
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="/assets/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="https://demo.ghost.io/assets/js/jquery.fitvids.js?v=724281a32e"></script>
<!-- Paginator increased to "infinit" in _config.yml -->
<!-- if paginator.posts -->
<!-- <script>
var maxPages = parseInt('');
</script>
<script src="/assets/js/infinitescroll.js"></script> -->
<!-- /endif -->
<!-- Add Google Analytics -->
<!-- Google Analytics Tracking code -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxxx-x', 'auto');
ga('send', 'pageview');
</script>
<!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. -->
<script>
// NOTE: Scroll performance is poor in Safari
// - this appears to be due to the events firing much more slowly in Safari.
// Dropping the scroll event and using only a raf loop results in smoother
// scrolling but continuous processing even when not scrolling
$(document).ready(function () {
// Start fitVids
var $postContent = $(".post-full-content");
$postContent.fitVids();
// End fitVids
var progressBar = document.querySelector('progress');
var header = document.querySelector('.floating-header');
var title = document.querySelector('.post-full-title');
var lastScrollY = window.scrollY;
var lastWindowHeight = window.innerHeight;
var lastDocumentHeight = $(document).height();
var ticking = false;
function onScroll() {
lastScrollY = window.scrollY;
requestTick();
}
function onResize() {
lastWindowHeight = window.innerHeight;
lastDocumentHeight = $(document).height();
requestTick();
}
function requestTick() {
if (!ticking) {
requestAnimationFrame(update);
}
ticking = true;
}
function update() {
var trigger = title.getBoundingClientRect().top + window.scrollY;
var triggerOffset = title.offsetHeight + 35;
var progressMax = lastDocumentHeight - lastWindowHeight;
// show/hide floating header
if (lastScrollY >= trigger + triggerOffset) {
header.classList.add('floating-active');
} else {
header.classList.remove('floating-active');
}
progressBar.setAttribute('max', progressMax);
progressBar.setAttribute('value', lastScrollY);
ticking = false;
}
window.addEventListener('scroll', onScroll, {passive: true});
window.addEventListener('resize', onResize, false);
update();
});
</script>
<!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag -->
<!-- ghost_foot -->
</body>
</html>