New look, same great browser.
This commit is contained in:
parent
d11223a6da
commit
b860eb7e38
|
@ -16,3 +16,5 @@
|
|||
|
||||
# Ignore .DS_store file
|
||||
.DS_Store
|
||||
|
||||
*scratchpad*
|
||||
|
|
|
@ -106,8 +106,6 @@ DEPENDENCIES
|
|||
middleman (~> 4.1)
|
||||
middleman-blog
|
||||
redcarpet (~> 3.3, >= 3.3.3)
|
||||
tzinfo-data
|
||||
wdm (~> 0.1.0)
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.2
|
||||
|
|
|
@ -34,7 +34,7 @@ activate :blog do |blog|
|
|||
# blog.year_link = "{year}.html"
|
||||
# blog.month_link = "{year}/{month}.html"
|
||||
# blog.day_link = "{year}/{month}/{day}.html"
|
||||
# blog.default_extension = ".markdown"
|
||||
blog.default_extension = ".html.markdown"
|
||||
|
||||
blog.tag_template = "tag.html"
|
||||
blog.calendar_template = "calendar.html"
|
||||
|
@ -47,9 +47,9 @@ end
|
|||
|
||||
page "/feed.xml", layout: false
|
||||
# Reload the browser automatically whenever files change
|
||||
configure :development do
|
||||
activate :livereload
|
||||
end
|
||||
# configure :development do
|
||||
# activate :livereload
|
||||
# end
|
||||
|
||||
# Methods defined in the helpers block are available in templates
|
||||
helpers do
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: Example Article
|
||||
date: 2012-01-01
|
||||
tags: example
|
||||
---
|
||||
|
||||
This is an example article. You probably want to delete it and write your own articles!
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Contemplating "Full Ownership Software"
|
||||
date: 2019-06-10
|
||||
---
|
||||
|
||||
Doop dee doo.
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1 @@
|
|||
hey
|
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
|
@ -2,23 +2,24 @@
|
|||
pageable: true
|
||||
per_page: 10
|
||||
---
|
||||
<% if paginate && num_pages > 1 %>
|
||||
<p>Page <%= page_number %> of <%= num_pages %></p>
|
||||
|
||||
<% if prev_page %>
|
||||
<p><%= link_to 'Previous page', prev_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<!-- == BEGIN JANK LAYOUT -->
|
||||
<table width="100%" style="height: 100%;" cellpadding="10" cellspacing="0" border="0">
|
||||
<tr>
|
||||
|
||||
<% page_articles.each_with_index do |article, i| %>
|
||||
<h2><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></h2>
|
||||
<!-- use article.summary(250) if you have Nokogiri available to show just
|
||||
the first 250 characters -->
|
||||
<%= article.body %>
|
||||
<% end %>
|
||||
<%= partial "layout/headerr" %>
|
||||
|
||||
<% if paginate %>
|
||||
<% if next_page %>
|
||||
<p><%= link_to 'Next page', next_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- ============ nav_bar.html ============== -->
|
||||
<%= partial "layout/navbar" %>
|
||||
|
||||
<tr>
|
||||
<%= partial "layout/leftcol" %>
|
||||
<%= partial "layout/rightcol" %>
|
||||
</tr>
|
||||
|
||||
<%= partial "layout/_footer" %>
|
||||
</table>
|
||||
<!-- == END JANK LAYOUT -->
|
||||
|
|
|
@ -3,38 +3,13 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
|
||||
<title>Blog Title<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
<title>The Navigator's Blog<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<%= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="main" role="main">
|
||||
<body bgcolor="#092327">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
<aside>
|
||||
<h2>Recent Articles</h2>
|
||||
<ol>
|
||||
<% blog.articles[0...10].each do |article| %>
|
||||
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li>
|
||||
<% end %>
|
||||
</ol>
|
||||
|
||||
<h2>Tags</h2>
|
||||
<ol>
|
||||
<% blog.tags.each do |tag, articles| %>
|
||||
<li><%= link_to "#{tag} (#{articles.size})", tag_path(tag) %></li>
|
||||
<% end %>
|
||||
</ol>
|
||||
|
||||
<h2>By Year</h2>
|
||||
<ol>
|
||||
<% blog.articles.group_by {|a| a.date.year }.each do |year, articles| %>
|
||||
<li><%= link_to "#{year} (#{articles.size})", blog_year_path(year) %></li>
|
||||
<% end %>
|
||||
</ol>
|
||||
</aside>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<tr>
|
||||
<td colspan="2" align="center" height="20" bgcolor="#0b5351">
|
||||
<small>Last updated <%= Time.now %>
|
||||
<% if paginate && num_pages > 1 %>
|
||||
<p>Page <%= page_number %> of <%= num_pages %></p>
|
||||
<% if prev_page %>
|
||||
<p><%= link_to 'Previous page', prev_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if paginate %>
|
||||
<% if next_page %>
|
||||
<p><%= link_to 'Next page', next_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Copyleft ©2002
|
||||
</td>
|
||||
</tr>
|
|
@ -0,0 +1,9 @@
|
|||
<td colspan="2" style="height: 100px;" background="./header_logo.png">
|
||||
<h1>
|
||||
<font color="#D7E5E4">
|
||||
<marquee>/~netscape_navigator</marquee>
|
||||
</font>
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<td width="20%" valign="top" bgcolor="#007C85">
|
||||
<hr/>
|
||||
<h4>Around ~Town</h4>
|
||||
<a href="https://tilde.town/~jumblesale/fp.html">Friday Postcard</a><br>
|
||||
<a href="https://tilde.tel/">TildeTel</a><br>
|
||||
<a href="https://tilde.news/">TildeNews</a><br>
|
||||
<a href="https://tilde.chat/">TildeChat</a><br>
|
||||
<a href="https://tilde.town/~netscape_navigator/search.html">Desolation Search</a>
|
||||
<br/>
|
||||
<hr/>
|
||||
<h2>Recent Articles</h2>
|
||||
<ol>
|
||||
<% blog.articles[0...10].each do |article| %>
|
||||
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li>
|
||||
<% end %>
|
||||
</ol>
|
||||
<br/>
|
||||
<hr/>
|
||||
|
||||
</td>
|
|
@ -0,0 +1,3 @@
|
|||
<tr>
|
||||
<td colspan="2" valign="middle" height="30" bgcolor="#007C85"><a href="#">Home</a></td>
|
||||
</tr>
|
|
@ -0,0 +1,12 @@
|
|||
<td width="80%" valign="top" bgcolor="#90c2e7">
|
||||
<% page_articles.each_with_index do |article, i| %>
|
||||
<h2>
|
||||
<%= link_to article.title, article %>
|
||||
<span>
|
||||
<%= article.date.strftime('%b %e') %>
|
||||
</span>
|
||||
</h2>
|
||||
<!-- use article.summary(250) if you have Nokogiri available to show just the first 250 characters -->
|
||||
<%= article.body %>
|
||||
<% end %>
|
||||
</td>
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
pageable: true
|
||||
per_page: 12
|
||||
---
|
||||
<h1>Articles tagged '<%= tagname %>'</h1>
|
||||
|
||||
<% if paginate && num_pages > 1 %>
|
||||
<p>Page <%= page_number %> of <%= num_pages %></p>
|
||||
|
||||
<% if prev_page %>
|
||||
<p><%= link_to 'Previous page', prev_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<ul>
|
||||
<% page_articles.each_with_index do |article, i| %>
|
||||
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<% if paginate %>
|
||||
<% if next_page %>
|
||||
<p><%= link_to 'Next page', next_page %></p>
|
||||
<% end %>
|
||||
<% end %>
|
Loading…
Reference in New Issue