Golang

This Is New Blog Post

鳳山房價較高雄市中心便宜,吸引首購自住客前往置產,成為今年高雄上半年不動產交易 量最多的行政區,而交易主力在總價500~700萬外加車位的20年以上透天。 鳳山生活機能完善,房價較高雄市中心便宜,吸引首購族置產 鳳山生活圈鄰近鳳山捷運站及鳳山火車站,具備雙鐵優勢,加上距國道1號約10分鐘車程 ,交通便利,且商圈林立,吸引家樂福、迪卡儂等大型賣場進駐,區域內還有大東文化藝 術中心、大東濕地公園等公共建設,近期鳳山體育館也規劃將改建成運動中心,生活機能 十分豐富。 print("hello,world!") print() 1var a string 2var b string 3var c string 4var d string <section id="main"> <div> <h1 id="title">{{ .Title }}</h1> {{ range .Data.Pages }} {{ .Render "summary"}} {{ end }} </div> </section> »

(Hu)go Template Primer

Hugo uses the excellent go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates. This document is a brief primer on using go templates. »

Getting Started with Hugo

Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture. Save it somewhere specific as we will be using it in the next step. More complete instructions are available at installing hugo Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now. Follow the following steps: Clone the hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands: »