<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tranquilpeak on</title><link>https://taetaetae.github.io/tags/tranquilpeak/</link><description>Recent content in Tranquilpeak on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 27 Aug 2017 17:52:56 +0000</lastBuildDate><atom:link href="https://taetaetae.github.io/tags/tranquilpeak/index.xml" rel="self" type="application/rss+xml"/><item><title>hexo 블로그에 tranquilpeak 테마 적용하기</title><link>https://taetaetae.github.io/2017/08/27/hexo-themes-tranquilpeak/</link><pubDate>Sun, 27 Aug 2017 17:52:56 +0000</pubDate><guid>https://taetaetae.github.io/2017/08/27/hexo-themes-tranquilpeak/</guid><description>&lt;p>여러가지 hexo 테마중에 그나마(?) 영어로 된 문서가 있어서 적용해보게 된 tranquilpeak 라는 테마. 오늘은 해당 테마를 적용하면서 겪은 문제, 그리고 적용 방법에 대해서 간략하게나마 정리해보고자 한다. (다른 테마들은 거의다 중국쪽이나 일본&amp;hellip;)&lt;!-- more -->
먼저 hexo 공식사이트에서 알려주는 테마들은 다음 사이트에서 확인해 볼수 있다.&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://hexo.io/themes/index.html" target="_blank" rel="noopener noreffer ">https://hexo.io/themes/index.html&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>기존에는 &lt;code>hueman&lt;/code>이라는 테마를 사용하고 있었는데 (&lt;a href="https://github.com/ppoffice/hexo-theme-hueman" target="_blank" rel="noopener noreffer ">링크&lt;/a>), 오랜만에 블로그를 다시(?) 시작하는 느낌을 내보고 싶었고 보다 더 심플하고 유행에 안탈것 같은(순전히 필자 생각) 테마를 찾아보다 &lt;code>tranquilpeak&lt;/code>이라는 테마를 선택하게 되었다.&lt;/p>
&lt;ul>
&lt;li>공식홈페이지 : &lt;a href="https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak" target="_blank" rel="noopener noreffer ">https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak&lt;/a>&lt;/li>
&lt;li>샘플사이트 : &lt;a href="http://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/" target="_blank" rel="noopener noreffer ">http://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>우선 간략하게 설치과정을 나열해보면 다음과 같다.&lt;/p>
&lt;ol>
&lt;li>themes 폴더내에 테마파일을 받은후 압축 해제&lt;/li>
&lt;li>테마 폴더 이름을 변경&lt;/li>
&lt;li>_config.yml 파일 내에 테마 설정 부분 변경 ( theme: tranquilpeak )&lt;/li>
&lt;li>hexo clean → hexo generate → hexo server(or hexo deploy)&lt;/li>
&lt;/ol>
&lt;p>이렇게 하면 아주 간단하게 테마가 변경이 된다. 혹여나(필자처럼) 기존 테마를 커스터마이징 하고 싶을 경우는 별도의 과정이 추가로 필요하다. 기존에는 css나 js만 변경하면 간단히 수정되었는데 이 테마는 약간의 빌드(?)를 필요로 한다. 따라서 css나 js등 html 요소들을 수정하였다면 다음과 같은 과정이 필요하다.(테마폴더 최상위에서)&lt;/p>
&lt;ol>
&lt;li>npm install&lt;/li>
&lt;li>bower install&lt;/li>
&lt;li>css 나 js 변경&lt;/li>
&lt;li>grunt build&lt;/li>
&lt;li>hexo clean → hexo generate → hexo server(or hexo deploy)&lt;/li>
&lt;/ol>
&lt;p>나같은 경우는 테마에 적용된 폰트를 바꾸기 위해 &lt;a href="http://blog.lattecom.xyz/2016/05/08/tranquilpeak-theme-web-font" target="_blank" rel="noopener noreffer ">블로그&lt;/a> 를 참조하였다. (해당 아티클에다 댓글폭탄을 ㅎㅎ;;)&lt;/p></description></item></channel></rss>