-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
138 lines (88 loc) · 10.5 KB
/
index.xml
File metadata and controls
138 lines (88 loc) · 10.5 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
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>GitCourse – Kfcoding</title>
<link>http://kfcoding.github.io/</link>
<description>Recent Hugo news from gohugo.io</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 20 Oct 2019 12:00:00 -0500</lastBuildDate>
<image>
<url>http://kfcoding.github.io/img/hugo.png</url>
<title>GoHugo.io</title>
<link>http://kfcoding.github.io/</link>
</image>
<atom:link href="http://kfcoding.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Showcase: Pro Git</title>
<link>http://kfcoding.github.io/showcase/progit/</link>
<pubDate>Wed, 23 Oct 2019 00:00:00 +0000</pubDate>
<guid>http://kfcoding.github.io/showcase/progit/</guid>
<description>
<![CDATA[<img src="http://kfcoding.github.io/showcase/progit/featured_hu897b7c247c741323c00e40800f8fd43e_24287_640x0_resize_catmullrom_2.png" width="640" height="400"/>]]>
<p>At 1Password, we used to go through a different documentation platform every month: blog engines, ebooks, wikis, site generators written in Ruby and JavaScript. Each was inadequate in its own special way. Then we found <strong>Hugo</strong>. We made one last switch, and we&rsquo;re glad we did.</p>
<h3 id="not-all-static-site-generators-are-created-equal">Not all static site generators are created equal</h3>
<p>Finding a tool that will make your customers, writers, designers, <em>and</em> DevOps team happy is no easy task, but we managed it with Hugo:</p>
<p><strong>Hugo is static</strong>. We&rsquo;re a security company, so we swear by static sites and use them wherever possible. We feel much safer pointing customers at HTML files than at a complicated server which needs to be hardened.</p>
<p><strong>Hugo is Go</strong>. We love the Go programming language at 1Password, and we were delighted to learn that Hugo used the same Go template syntax that our designers and front-end developers had already mastered.</p>
<p><strong>Hugo is FAST</strong>. Our previous static site generator took nearly a minute to compile our (then much smaller) site. Developers might be used to this, but it wasn&rsquo;t cutting it for writers who wanted to see live previews of their work. Hugo did the same job in milliseconds, and to this day compiles 400 pages in five languages in the blink of an eye.</p>
<p><strong>Hugo is flexible</strong>. Thanks to Hugo&rsquo;s content and layout system, we were able to preserve our existing file and folder structure and port our entire production site in a few days. We could then create new content types that weren&rsquo;t possible before, like these snazzy <a href="https://support.1password.com/explore/extension/">showcases</a>.</p>
<p><strong>Hugo is great for writers</strong>. Our documentation team was already comfortable with Markdown and Git and could start creating content for Hugo with zero downtime. Once we added shortcodes, our writers were able to dress up articles with features like <a href="https://support.1password.com/get-the-apps/">platform boxes</a> with just a bit of new syntax.</p>
<p><strong>Hugo has an amazing developer community</strong>. Hugo updates are frequent and filled to the brim with features and fixes. As we developed the multilingual version of our site, we submitted PRs for features we needed and were helped through the process by <a href="https://github.com/bep">@bep</a> and others.</p>
<p><strong>Hugo is simple to deploy</strong>. Hugo has just the right amount of configuration options to fit into our build system without being too complicated.</p>
<h3 id="tech-specs">Tech specs</h3>
<ul>
<li><a href="https://support.1password.com">1Password Support</a> uses Hugo with a custom theme. It shares styles and some template code with <a href="https://1password.com">1Password.com</a>, which we also moved to Hugo in 2016.</li>
<li>Code and articles live in a private GitHub repository, which is deployed to a static content server using Git hooks.</li>
<li>Writers build and preview the site on their computers and contribute content using pull requests.
<ul>
<li>We use Hugo&rsquo;s <a href="http://kfcoding.github.io/content-management/multilingual/">multilingual support</a> to build the site in English, Spanish, French, Italian, German, and Russian. With the help of Hugo, 1Password Support became our very first site in multiple languages.</li>
</ul></li>
<li>Our <a href="https://support.1password.com/contact">contact form</a> is a single-page React app. We were able to integrate it with Hugo seamlessly thanks to its support for static files.</li>
<li>The one part of the support site which is not static is our search engine, which we developed with Elasticsearch and host on AWS.</li>
</ul>
</description>
</item>
<item>
<title>Showcase: 云计算原理与实践</title>
<link>http://kfcoding.github.io/showcase/ppcc/</link>
<pubDate>Wed, 23 Oct 2019 00:00:00 +0000</pubDate>
<guid>http://kfcoding.github.io/showcase/ppcc/</guid>
<description>
<![CDATA[<img src="http://kfcoding.github.io/showcase/ppcc/featured-template_hu521ae49c9f92565a905ce037fe035a82_632590_640x0_resize_catmullrom_2.png" width="640" height="474"/>]]>
<p>Swiss <a href="http://www.camping-arolla.com/">Arolla campsite</a> runs the highest campsite in Europe and I&rsquo;m completely re-doing their actuel Website with Hugo.</p>
<p>But they just launch a brand new offer (luxury tents with bed and fire oven), and we couldn&rsquo;t wait for the proper new website for having this promoted: we needed the website up and running within 24h!</p>
<p>So we decided to quickly launch a dedicated <a href="https://www.cocoon-arolla.com">independent web site</a> using all the powerful tools included with <a href="https://gohugo.io">gohugo.io</a> and some things we already knew &amp; used:</p>
<ul>
<li>Choose a spectacular landing theme in the rich <a href="https://themes.gohugo.io/">Hugo Themes</a> collection : <a href="https://themes.gohugo.io/airspace-hugo/">Airspace Theme</a> by Themefisher.</li>
<li>Replace the main images.</li>
<li>Add a <a href="https://github.com/liwenyip/hugo-easy-gallery">hugo-easy-gallery / photoswipe</a> on the main page with attractive images.</li>
<li>Add the promo video with a simple <em>vimeo</em> shortcode.</li>
<li>Replace the Google Maps widget by the <a href="http://www.openstreetmap.org/">OpenStreetMap</a> equivalent</li>
<li>Use a <a href="http://www.zotabox.com">Zotabox</a> contact form.</li>
<li>Write the content in French &amp; in English directly on the content pages, describe their services, add fun facts and true testimonies.</li>
<li>Setup a GDPR compliant site with the new Hugo options.</li>
<li>Use <a href="https://www.netlify.com">Netlify</a> for publishing it in a breeze.</li>
</ul>
<p>The first version was up in 4 hours, and the polished 2 languages version was published on Netlify the next day.</p>
<p>This would have been impossible to do it in such a short time without all the powerful Hugo tools and Netlify simplicity.</p>
</description>
</item>
<item>
<title>Showcase: 数据科学与工程导论</title>
<link>http://kfcoding.github.io/showcase/dase/</link>
<pubDate>Wed, 23 Oct 2019 00:00:00 +0000</pubDate>
<guid>http://kfcoding.github.io/showcase/dase/</guid>
<description>
<![CDATA[<img src="http://kfcoding.github.io/showcase/dase/featured_hudb4e3c7177b4b601ab49219d1b78bf3e_78114_640x0_resize_catmullrom_2.png" width="640" height="360"/>]]>
<p>The British Broadcasting Corporation (BBC) (UK), Deutsche Welle (DW) (Germany), France Médias Monde (FMM) (France), the U.S. Agency for Global Media (USAGM) (US) and the Open Technology Fund (OTF) (US) co-sponsor the Bypass Censorship website.</p>
<p>Websites of international news agencies are often blocked in many countries. In order to connect people to these sites, Bypass Censorship feature and recommend tools in the following languages: English, French, Spanish, Arabic, Farsi, Chinese, and Russian.</p>
<p>One of the tools is the Bypass Censorship Extension for Firefox and Chrome. The extension help direct people to mirrors of partners sites if they are being censored.</p>
<p>The first version of the site was built in Drupal 8 but it was relaunched as a static site built with Hugo in 2019.</p>
<p>Security, page load time and easy of hosting is the main reasons for switching to a static site. As the lead developer I had good experience with Hugo and was interested in exploring the multilingual features.</p>
<p>It&rsquo;s a simply site, basically one page in seven languages. I had no problems getting Hugo to output what I wanted. Found the multilingual support straight forward and easy to work with.</p>
<p>Thanks to the design by <a href="https://www.leylaavsar.com/">Leyla Avsar</a> the site also looks good. I used the <a href="https://github.com/frjo/hugo-theme-zen">Hugo Zen theme</a> with a few custom templates and the needed CSS.</p>
<p>The editors can maintain content via <a href="https://forestry.io/">Forestry.io CMS</a> or directly via Git. Forestry does unfortunately not have multilingual support. All the language versions are in one pile making it harder to find the right file to edit, but it works.</p>
</description>
</item>
</channel>
</rss>