all repos — h3rald @ e9821a8422c50a901e210da26cb764f8a34dffa6

The sources of https://h3rald.com

layouts/default.erb

 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
-----
filter: erb
-----
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>H3RALD</title>
		<title><%= @item[:title] %> - H3RALD</title>
		<% if @item[:feed_url] then %>
		<link rel="alternate" type="application/rss+xml" title="H3RALD - <%= @item[:feed_title]%>" href="<%= @item[:feed_url]%>" />
		<% else %>
		<% if @item[:feed] then %>
		<link rel="alternate" type="application/rss+xml" title="H3RALD - <%= @item[:feed_title]%>" href="<%= @item[:feed]%>rss/" />
		<link rel="alternate" type="application/atom+xml" title="H3RALD - <%= @item[:feed_title]%>" href="<%= @item[:feed]%>atom/" />
		<% end %>
		<% end %>
		<meta name="author" content="Fabio Cevasco" />
		<meta name="copyright" content="Fabio Cevasco" />
		<meta name="robots" content="all, follow" />
		<meta name="Revisit-After" content="2 Days" />
		<meta name="language" content="en" />
		<meta name="target_country" content="en-us" />
		<meta name="country" content="United States" />
		<meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />
		<% 	
		min_keywords = "h3rald, fabio cevasco, "
		default = "ruby, rails technical writing, reviews, software, browsers, articles, traveling, books, genova"
		case @item[:type] 
		when 'article' then
		keywords = min_keywords+@item[:tags].join(', ')
		when 'project' then
		keywords = @item[:permalink] == 'h3rald' ? "fabio cevasco, "+@item[:permalink] : min_keywords+@item[:permalink]
		else
		keywords = min_keywords+default
		end
		%>
		<meta name="keywords" content="<%= keywords %>" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<meta charset="utf-8" />
		<meta content="44.388041;9.073248" name="ICBM" />


		<link rel="stylesheet" type="text/css" href="/styles/html5reset.css" />
		<link rel="stylesheet" type="text/css" href="/styles/style.css" />

		<![if lte IE 8]>
		<script src="/js/html5.js" type="text/javascript"></script>
		<![endif]>
	</head>
	<body>
		<![if lte IE 6]>
		<div id="ie-warning">
			This site is not compatible with Internet Explorer 6 or lower. You should consider using a more modern browser for a better &ndash; and <em>safer</em> &ndash; web experience. [<a href="http://browsehappy.com/browsers/">Read More &raquo;</a>]
		</div>
		<![endif]>

		<section id="container">
			<nav class="home">
				<%= ['projects', 'links'].map{|l| %{<a href="/#{l}/"><strong>#{l.upcase}</strong></a>} }.join("|") + "|" + 
				['review', 'ruby', 'opensource', 'productivity', 'writing', 'software'].map{|l| %{<a href="/tags/#{l}/" rel="tag">#{l.upcase}</a>} }.join("|") +
				%{|<a href="/archives/" rel="archives"><strong>MORE</strong>&nbsp;&raquo;</a> } %>
			</nav>
			<header class="home">
				<nav class="left">
					<script type="text/javascript"><!--
google_ad_client = "pub-2871497824158668";
/* 234x60, created 9/5/10 */
google_ad_slot = "5027018393";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
	src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
			</nav>
			<h1>
				<a href="#">
					<img src="/images/h3rald.png" alt="H3RALD" class="default"/>
					<![if !IE]>
					<img src="/images/h3rald_hover.png" alt="H3RALD" class="hover"/>
					<![endif]>
				</a>
			</h1>
			<nav class="right">
				<script type="text/javascript"><!--
google_ad_client = "pub-2871497824158668";
/* 234x60, created 9/10/10 */
google_ad_slot = "7316796658";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
	src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
			</nav>
			<time></time>
		</header>
		<!-- TODO from here -->
		<section id="topbar">
			<section id="social">
				<a href="http://www.h3rald.com/rss/"><img src="/images/social/rss.png" alt="RSS" /></a>
				<a href="http://blog.h3rald.com/"><img src="/images/social/posterous.png" alt="posterous" /></a>
				<a href="http://www.twitter.com/h3rald/"><img src="/images/social/twitter.png" alt="RSS" /></a>
				<a href="http://it.linkedin.com/in/fabiocevasco"><img src="/images/social/linkedin.png" alt="linkedin" /></a>
				<a href="http://www.delicious.com/h3rald/"><img src="/images/social/delicious.png" alt="delicious" /></a>
				<a href="http://www.reddit.com/user/h3rald/"><img src="/images/social/reddit.png" alt="reddit" /></a>
			</section>
			<aside id="search">
				<section id="search_form"></section> 
			</aside>
		</section>
		<section id="search_results"></section> 
		<section class="left" id="main-content">
			<article id="recent-1">
				<header>
					<h1><a href="/page.html">H3RALD.com v8.1 Released</a></h1>
					<h2>Featuring a a brand new newspaper-like design, powered by HTML5 and CSS3</h2>
					<p class="pubdate"><time>September 4th 2010</time></p>
					<p class="author">By <em>Fabio Cevasco</em></p>
				</header>
				<section class="three-columns">
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est.</p> 
					<p>Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
				</section>
			</article>
			<section class="clear-left left">
				<script src="http://widgets.twimg.com/j/2/widget.js"></script>
				<section>
					<script id="twitter">
						new TWTR.Widget({
						version: 2,
						type: 'profile',
						rpp: 4,
						interval: 6000,
						width: 280,
						height: 250,
						theme: {
						shell: {
						background: '#ffffff',
						color: '#333333'
						},
						tweets: {
						background: '#ffffff',
						color: '#333333',
						links: '#3b6deb'
						}
						},
						features: {
						scrollbar: false,
						loop: false,
						live: false,
						hashtags: true,
						timestamp: true,
						avatars: false,
						behavior: 'all'
						}
						}).render().setUser('h3rald').start();
					</script>
				</section>
				<article id="recent-4">
					<header>
						<h1><a href="#">Glyph 0.3.0 Released</a></h1>
						<h2>The third release of the Glyph Authoring Framework features dramatic speed improvements, and much more</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					</section>
				</article>
				<article class="feature">
					<header>
						<p>FEATURED CONTENT</p>
						<h1><a href="#">Holidays in Italy?</a></h1>
						<h2>Yes, I am really renting my house in the countryside!</h2>
					</header>
					<section>
						<img src="/images/sessarego.jpg" alt="Sessarego" style="margin: 0 5px;" />
						<p>Looking for a peaceful and relaxing holiday in the Italian Riviera? I'm renting part of my family country home in the center of the old village of Sessarego, on a peaceful hill a few minutes away from Bogliasco, a small coastal town on the Golfo Paradiso. </p>
						<p>The center of Genoa can be reached by car, bus or train in about 30 minutes and a lot of tourist locations like Camogli, Rapallo, Santa Margherita and Portofino are just a few train stops away.</p>
					</section>
				</article>

			</section>
			<section class="right border-left">
				<article id="recent-2">
					<header>
						<h1><a href="#">Glyph 0.4.0 Released</a></h1>
						<h2>Featuring web output, HTML5 support, stats, wkhtmltopdf, and much more</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					</section>
				</article>
				<article id="recent-3">
					<header>
						<h1><a href="#">Book Review: Distributed Programming with Ruby</a></h1>
						<h2>Just what you need to get started with the right tools to build large and scalable applications in Ruby</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					</section>
				</article>
				<article id="recent-5">
					<header>
						<h1><a href="#">Glyph 0.2.0 Released</a></h1>
						<h2>Featuring single-file compilation, programmatic usage and auto-regeneration, and more</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
					</section>
				</article>
			</section>
		</section>
		<section class="right" id="secondary-content">
			<article id="popular-1">
				<header>
					<h1><a href="#">10 programming languages worth checking out</a></h1>
					<h2>A quick comparison of 10 non-mainstream programming languages</h2>
					<p class="pubdate"><time>September 4th 2010</time></p>
					<p class="author">By <em>Fabio Cevasco</em></p>
				</header>
				<section class="two-columns">
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
					<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
				</section>
			</article>
			<article class="feature">
				<header>
					<p>FEATURED CONTENT</p>
					<h1><a href="#">Glyph &ndash; Rapid Document Authoring Framework</a></h1>
					<h2>A free and extensible solution for personal publishing, 100% open source!</h2>
				</header>
				<section>
					<img src="/images/glyph.png" alt="Glyph Logo" class="img-right" />
					<p>With Glyph, creating and maintaining any kind of document becomes as easy as... programming. </p>
					<p>Glyph enables you to minimize text duplication, focus on content rather than presentation, manage references seamlessly and automate tedious tasks through a simple but effective macro language, specifically geared towards customization and extensibility.</p>
				</section>
			</article>
			<section class="left border-right">
				<article id="popular-2">
					<header>
						<h1><a href="#">Herald (Vim Color Scheme)</a></h1>
						<h2>My very own VIM color scheme. Featuring 256, 16 and 8 color support, high readability and... pretty colors!</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					</section>
				</article>
			</section>
			<section class="right">
				<article class="right popular3">
					<header>
						<h1><a href="#">A closer look at Komodo Edit</a></h1>
						<h2>A comprehensive review of the free editor from ActiveState</h2>
						<p class="pubdate"><time>September 4th 2010</time></p>
						<p class="author">By <em>Fabio Cevasco</em></p>
					</header>
					<section>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
						<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
					</section>
				</article>
			</section>
		</section>
		<footer>
			<section class="ads">
				<script type="text/javascript"><!--
google_ad_client = "pub-2871497824158668";
/* 728x90, created 9/10/10 */
google_ad_slot = "3963343166";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
	src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</section>
<section>
	<nav>
		<a href="#">ABOUT</a>|<a href="#">CONTACT</a>
	</nav>
	<p>&copy; 2010 &mdash; <em>Fabio Cevasco</em></p>
</section>
		</footer>
	</section>
	<script src="http://www.google.com/jsapi?key=ABQIAAAA6h3j8Jri5D_da53UPbEbThRlq2n1sm52B5HDRR5tm6o8XM18FhTKn3v155RpPeD0kWnWG81QEhhifQ" type="text/javascript"></script> 
	<script src="/js/jquery.js" type="text/javascript"></script>
	<script src="/js/jquery-timeago.js" type="text/javascript"></script>
	<script src="/js/jquery-easing.js" type="text/javascript"></script>
	<script src="/js/jquery-fancybox.js" type="text/javascript"></script>
	<script src="/js/jquery-toc.js" type="text/javascript"></script>
	<script src="/js/date.js" type="text/javascript"></script>
	<script src="/js/feeds.js" type="text/javascript"></script>
	<script src="/js/search.js" type="text/javascript"></script>
	<script src="/js/init.js" type="text/javascript"></script>
</body>
</html>