-
Notifications
You must be signed in to change notification settings - Fork 1
/
move-to-github-pages-and-pelican.html
283 lines (245 loc) · 14.5 KB
/
move-to-github-pages-and-pelican.html
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
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<title>Bye! Google Sites, Hello! Github pages - Starting Point</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://www.nacnez.com/move-to-github-pages-and-pelican.html">
<meta name="author" content="Srinivas Narayanan" />
<meta name="keywords" content="publishing,github pages,pelican,bootstrap" />
<meta name="description" content="I moved from Google sites to Github pages for my blog and am using pelican for it" />
<meta property="og:site_name" content="Starting Point" />
<meta property="og:type" content="article"/>
<meta property="og:title" content="Bye! Google Sites, Hello! Github pages"/>
<meta property="og:url" content="https://www.nacnez.com/move-to-github-pages-and-pelican.html"/>
<meta property="og:description" content="I moved from Google sites to Github pages for my blog and am using pelican for it"/>
<meta property="article:published_time" content="2014-11-04" />
<meta property="article:section" content="Publishing" />
<meta property="article:tag" content="publishing" />
<meta property="article:tag" content="github pages" />
<meta property="article:tag" content="pelican" />
<meta property="article:tag" content="bootstrap" />
<meta property="article:author" content="Srinivas Narayanan" />
<!-- Bootstrap -->
<link rel="stylesheet" href="https://www.nacnez.com/theme/css/bootstrap.darkly.min.css" type="text/css"/>
<link href="https://www.nacnez.com/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="https://www.nacnez.com/theme/css/pygments/monokai.css" rel="stylesheet">
<link rel="stylesheet" href="https://www.nacnez.com/theme/css/style.css" type="text/css"/>
<link href="https://www.nacnez.com/css/custom.css" rel="stylesheet">
<link href="https://www.nacnez.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="Starting Point ATOM Feed"/>
<link href="https://www.nacnez.com/feeds/publishing.atom.xml" type="application/atom+xml" rel="alternate"
title="Starting Point Publishing ATOM Feed"/>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79BTGL1LJS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', G-79BTGL1LJS);
</script>
<!-- End Google Analytics Code -->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NBHLX3B');</script>
<!-- End Google Tag Manager -->
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a href="https://www.nacnez.com/" class="navbar-brand">
<img class="img-responsive pull-left gap-right" src="https://www.nacnez.com/images/myLogo.png" width=""/> Starting Point </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
</ul>
<ul class="nav navbar-nav navbar-right">
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<!-- Content Container -->
<div class="container">
<div class="row">
<div class="col-sm-9">
<section id="content">
<article>
<header class="page-header">
<h1>
<a href="https://www.nacnez.com/move-to-github-pages-and-pelican.html"
rel="bookmark"
title="Permalink to Bye! Google Sites, Hello! Github pages">
Bye! Google Sites, Hello! Github pages
</a>
</h1>
</header>
<div class="entry-content">
<div class="panel">
<div class="panel-body">
<footer class="post-info">
<span class="label label-success">2 min. read</span>
<span class="label label-default">Date</span>
<span class="published">
<i class="fa fa-calendar"></i><time datetime="2014-11-04T00:00:00+05:30"> Tue 04 November 2014</time>
</span>
<span class="label label-default">Tags</span>
<a href="https://www.nacnez.com/tag/publishing.html">publishing</a>
/
<a href="https://www.nacnez.com/tag/github-pages.html">github pages</a>
/
<a href="https://www.nacnez.com/tag/pelican.html">pelican</a>
/
<a href="https://www.nacnez.com/tag/bootstrap.html">bootstrap</a>
</footer><!-- /.post-info --> </div>
</div>
<p>For close to 2 years (the time since I got the domain), I had married myself to <a href="http://en.wikipedia.org/wiki/Google_Sites">Google sites</a> for my own blog and site. It was not a happy marriage. While it might have worked for others, the inherent inability to change anything or use any of the good tools out there, for my content creation did not give me any comfort. I tried hard to use what is provided and finally gave up. I decided that, may be having my own site is really not worth it.</p>
<h4 id="github-pages"><a href="https://pages.github.com">Github Pages</a></h4>
<p>For sometime, I have been hearing about <a href="https://pages.github.com">Github pages</a>, but never thought too much about it. Then I got chatting with <a href="http://www.undefinednull.com">one of my friends</a> and he talked about using Github pages with <a href="http://octopress.org">Octopress</a> as the content management system for his blog. This really piqued my interest and I decided that I would give it a go.</p>
<p>So I went through the documentation of <a href="https://pages.github.com"><em>github pages</em></a> and figured out how to create a user site and put a place holder page in it.</p>
<p><img alt="My placeholder page" src="https://www.nacnez.com/images/placeholder_page.png"></p>
<p>It was not great but it was a start. I used <a href="http://getbootstrap.com">bootstrap</a> for the css and used some basic elements on the page.</p>
<p>I also made my domain point to it. It took a day (may be two) for the dns records to get updated and viola! my new site was up. I had finally broken the shackles and escaped from the tyranny of Google sites. My new journey had begun.</p>
<h4 id="pelican"><a href="http://blog.getpelican.com">Pelican</a></h4>
<p>Now my friend had talked about using <a href="http://octopress.org">octopress</a> for his blog. I felt that using a static file based content management system was surely a good idea but I wanted to use a python based one instead of a ruby one. A quick search lead me to <a href="http://blog.getpelican.com">Pelican</a>.</p>
<p><a href="http://blog.getpelican.com">Pelican</a> seemed to fit my bill. I could use <a href="http://daringfireball.net/projects/markdown/">markdown</a> (which was another thing I meant to learn) to get my content. Pelican <a href="http://docs.getpelican.com/en/3.4.0/">documentation</a> looked pretty good and it was easy to get started. There was a good amount of configurability in Pelican. Also there was support for themes and plugins (which is python based and that looks interesting to me). The available collection of ready made themes seemed reasonable and I picked the bootstrap 3 based one called <a href="https://github.com/DandyDev/pelican-bootstrap3">pelican-bootstrap3</a> from <a href="http://dandydev.net/">Daan</a>. This post is written on this base setup. I am still to add any plugins to the site but that can wait.</p>
<p>I wanted to get started. And now I have! </p>
</div>
<!-- /.entry-content -->
<hr/>
<section class="comments" id="comments">
<h2>Comments</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'nacnez'; // required: replace example with your forum shortname
var disqus_config = function () {
this.language = "en";
this.page.identifier = '2014-11-04-move-to-github-pages-and-pelican';
this.page.url = 'https://www.nacnez.com/move-to-github-pages-and-pelican.html';
};
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</article>
</section>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<div id="aboutme">
<p>
<img width="100%" class="img-thumbnail" src="https://www.nacnez.com/images/profile.jpeg"/>
</p>
<p>
<strong>About Srinivas Narayanan (Srini)</strong><br/>
Living in Bengaluru. Family man & Software engineer. Currently I am a <span class="bold-green"><a href="https://getsimpl.com/"><img src="https://www.google.com/s2/favicons?domain=https://getsimpl.com">Simpl</a></span>fier. <br/>This, a place for me to write about anything under the 🌞. <span class="bold-angry">My views are mine alone</span> & not related to any person or organisation including my employer.
</p>
</div><!-- Sidebar -->
<section class="well well-sm">
<ul class="list-group list-group-flush">
<!-- Sidebar/Social -->
<li class="list-group-item">
<h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4>
<ul class="list-group" id="social">
<li class="list-group-item"><a href="http://twitter.com/srininara"><i class="fa fa-twitter-square fa-lg"></i> twitter</a></li>
<li class="list-group-item"><a href="http://github.com/srininara"><i class="fa fa-github-square fa-lg"></i> github</a></li>
<li class="list-group-item"><a href="https://www.linkedin.com/in/srinivas-narayanan-1912b14/"><i class="fa fa-linkedin-square fa-lg"></i> linkedin</a></li>
<li class="list-group-item"><a href="https://www.nacnez.com/feeds/all.atom.xml"><i class="fa fa-rss-square fa-lg"></i> rss</a></li>
</ul>
</li>
<!-- End Sidebar/Social -->
<!-- Sidebar/Tag Cloud -->
<li class="list-group-item">
<a href="https://www.nacnez.com/"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">Tags</span></h4></a>
<ul class="list-group " id="tags">
<li class="list-group-item tag-1">
<a href="https://www.nacnez.com/tag/life.html">life</a>
</li>
<li class="list-group-item tag-1">
<a href="https://www.nacnez.com/tag/development.html">development</a>
</li>
<li class="list-group-item tag-1">
<a href="https://www.nacnez.com/tag/software-engineering.html">software-engineering</a>
</li>
<li class="list-group-item tag-2">
<a href="https://www.nacnez.com/tag/architecture.html">architecture</a>
</li>
<li class="list-group-item tag-2">
<a href="https://www.nacnez.com/tag/people.html">people</a>
</li>
<li class="list-group-item tag-2">
<a href="https://www.nacnez.com/tag/python.html">python</a>
</li>
<li class="list-group-item tag-2">
<a href="https://www.nacnez.com/tag/microservices.html">microservices</a>
</li>
<li class="list-group-item tag-2">
<a href="https://www.nacnez.com/tag/technology.html">technology</a>
</li>
<li class="list-group-item tag-4">
<a href="https://www.nacnez.com/tag/teaching.html">teaching</a>
</li>
<li class="list-group-item tag-4">
<a href="https://www.nacnez.com/tag/education.html">education</a>
</li>
</ul>
</li>
<!-- End Sidebar/Tag Cloud -->
</ul>
</section>
<!-- End Sidebar --> </aside>
</div>
</div>
</div>
<!-- End Content Container -->
<footer>
<div class="container">
<hr>
<div class="row">
<div class="col-xs-10">© 2023 Srinivas Narayanan (Srini)
· Powered by <a href="https://github.com/getpelican/pelican-themes/tree/master/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>,
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> </div>
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
</div>
</div>
</footer>
<script src="https://www.nacnez.com/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://www.nacnez.com/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="https://www.nacnez.com/theme/js/respond.min.js"></script>
<!-- Disqus -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'nacnez'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script');
s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- End Disqus Code -->
</body>
</html>