Just need to config the blog parts...
|
@ -1,114 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=utf-8">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
|
||||
<title>Netscape Blog</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#000000" text="#FFFFFF">
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="140"><img src="logo.gif" width="200"
|
||||
height="200"></td>
|
||||
<td><font color="#008080" size="7">The Helm</font> <p><font
|
||||
color="#008080" size="3">Netscape's official home in the
|
||||
Tildeverse</font> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" bgcolor="#8BE4E9" nowrap><u>LINKS</u>
|
||||
<ul>
|
||||
<li><u>Foo</u></li>
|
||||
<li><u>Bar</u></li>
|
||||
<li><u>Baz</u></li>
|
||||
</ul>
|
||||
</td>
|
||||
<td><div align="center"><center><table border="4"
|
||||
cellpadding="0" cellspacing="0" width="90%"
|
||||
bordercolor="#008080">
|
||||
<tr>
|
||||
<td bgcolor="#008080">Undeniable Greatness of the
|
||||
56k Era</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Published March 1st, 1998</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Contrary to popular belief, Lorem Ipsum is
|
||||
not simply random text. It has roots in a piece
|
||||
of classical Latin literature from 45 BC, making
|
||||
it over 2000 years old. Richard McClintock, a
|
||||
Latin professor at Hampden-Sydney College in
|
||||
Virginia, looked up one of the more obscure Latin
|
||||
words, consectetur, from a Lorem Ipsum passage,
|
||||
and going through the cites of the word in
|
||||
classical literature, discovered the undoubtable
|
||||
source. Lorem Ipsum comes from sections 1.10.32
|
||||
and 1.10.33 of "de Finibus Bonorum et
|
||||
Malorum" (The Extremes of Good and Evil) by
|
||||
Cicero, written in 45 BC. This book is a treatise
|
||||
on the theory of ethics, very popular during the
|
||||
Renaissance. The first line of Lorem Ipsum,
|
||||
"Lorem ipsum dolor sit amet..", comes
|
||||
from a line in section 1.10.32. </td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><p><br />
|
||||
</p>
|
||||
<div align="center"><center><table border="4"
|
||||
cellpadding="0" cellspacing="0" width="90%"
|
||||
bordercolor="#008080">
|
||||
<tr>
|
||||
<td bgcolor="#008080">Undeniable Greatness of the
|
||||
56k Era</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Published March 1st, 1998</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Contrary to popular belief, Lorem Ipsum is
|
||||
not simply random text. It has roots in a piece
|
||||
of classical Latin literature from 45 BC, making
|
||||
it over 2000 years old. Richard McClintock, a
|
||||
Latin professor at Hampden-Sydney College in
|
||||
Virginia, looked up one of the more obscure Latin
|
||||
words, consectetur, from a Lorem Ipsum passage,
|
||||
and going through the cites of the word in
|
||||
classical literature, discovered the undoubtable
|
||||
source. Lorem Ipsum comes from sections 1.10.32
|
||||
and 1.10.33 of "de Finibus Bonorum et
|
||||
Malorum" (The Extremes of Good and Evil) by
|
||||
Cicero, written in 45 BC. This book is a treatise
|
||||
on the theory of ethics, very popular during the
|
||||
Renaissance. The first line of Lorem Ipsum,
|
||||
"Lorem ipsum dolor sit amet..", comes
|
||||
from a line in section 1.10.32. </td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><div align="center"><center><table
|
||||
border="0">
|
||||
<tr>
|
||||
<td>Prev</td>
|
||||
<td> </td>
|
||||
<td>Next</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><p align="center"><img src="debian.gif"
|
||||
width="88" height="31"> <img src="frontpage.gif"
|
||||
width="88" height="31"> <img src="mirc.gif" width="88"
|
||||
height="31"> <img src="neocities.gif" width="97"
|
||||
height="31"> <img src="netscape.gif" width="88"
|
||||
height="31"> <img src="office.gif" width="88" height="31">
|
||||
<img src="onion.gif" width="88" height="31"> <img
|
||||
src="ssb.gif" width="88" height="31"> </p>
|
||||
<p align="center"><img
|
||||
src="https://www.cutercounter.com/hits.php?id=gmmpqqpo&nd=6&style=21"></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,45 +1,34 @@
|
|||
<% if current_article %>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<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"/>
|
||||
|
||||
<title>The Navigator's Blog<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
</head>
|
||||
<body bgcolor="#092327">
|
||||
<!-- == BEGIN JANK LAYOUT -->
|
||||
<table width="100%" style="height: 100%;" cellpadding="10" cellspacing="0" border="0">
|
||||
<tr>
|
||||
|
||||
<%= partial "layout/headerr" %>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- ============ nav_bar.html ============== -->
|
||||
<%= partial "layout/navbar" %>
|
||||
|
||||
<tr>
|
||||
<%= partial "layout/leftcol" %>
|
||||
<td width="80%" valign="top" bgcolor="#90c2e7">
|
||||
<h1><%= current_article.title %></h1>
|
||||
<a href="https://tilde.town/~netscape_navigator">Part of the Navigator's Blog</a>
|
||||
|
||||
<%= current_article.body %>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
<%= partial "layout/_footer" %>
|
||||
</table>
|
||||
<!-- == END JANK LAYOUT -->
|
||||
</body>
|
||||
</html>
|
||||
<% else %>
|
||||
Missing article?
|
||||
<% end %>
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
|
||||
<title>Netscape Blog<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#000000" text="#FFFFFF">
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="140">
|
||||
<img src="img/logo.gif" width="200" height="200">
|
||||
</td>
|
||||
<td>
|
||||
<%= partial "layout/header" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" bgcolor="#8BE4E9" nowrap>
|
||||
<%= partial "layout/sidebar" %>
|
||||
</td>
|
||||
<td>
|
||||
<%= yield %>
|
||||
<%= partial "layout/pager" %>
|
||||
<%= partial "layout/footer" %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
xml.instruct!
|
||||
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
||||
site_url = "http://blog.url.com/"
|
||||
xml.title "Blog Name"
|
||||
xml.subtitle "Blog subtitle"
|
||||
xml.id URI.join(site_url, blog.options.prefix.to_s)
|
||||
xml.link "href" => URI.join(site_url, blog.options.prefix.to_s)
|
||||
xml.link "href" => URI.join(site_url, current_page.path), "rel" => "self"
|
||||
xml.updated(blog.articles.first.date.to_time.iso8601) unless blog.articles.empty?
|
||||
xml.author { xml.name "Blog Author" }
|
||||
|
||||
blog.articles[0..5].each do |article|
|
||||
xml.entry do
|
||||
xml.title article.title
|
||||
xml.link "rel" => "alternate", "href" => URI.join(site_url, article.url)
|
||||
xml.id URI.join(site_url, article.url)
|
||||
xml.published article.date.to_time.iso8601
|
||||
xml.updated File.mtime(article.source_file).iso8601
|
||||
xml.author { xml.name "Article Author" }
|
||||
# xml.summary article.summary, "type" => "html"
|
||||
xml.content article.body, "type" => "html"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1 +0,0 @@
|
|||
hey
|
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 904 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 947 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -3,23 +3,5 @@ pageable: true
|
|||
per_page: 10
|
||||
---
|
||||
|
||||
<!-- == BEGIN JANK LAYOUT -->
|
||||
<table width="100%" style="height: 100%;" cellpadding="10" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<%= partial "layout/article", locals: {current_article: current_article} %>
|
||||
|
||||
<%= partial "layout/headerr" %>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- ============ nav_bar.html ============== -->
|
||||
<%= partial "layout/navbar" %>
|
||||
|
||||
<tr>
|
||||
<%= partial "layout/leftcol" %>
|
||||
<%= partial "layout/rightcol" %>
|
||||
</tr>
|
||||
|
||||
<%= partial "layout/_footer" %>
|
||||
</table>
|
||||
<!-- == END JANK LAYOUT -->
|
||||
|
|
|
@ -1,14 +1,34 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<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"/>
|
||||
|
||||
<title>The Navigator's Blog<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
</head>
|
||||
<body bgcolor="#092327">
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
|
||||
<title>Netscape Blog<%= ' - ' + current_article.title unless current_article.nil? %></title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#000000" text="#FFFFFF">
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="140">
|
||||
<img src="img/logo.gif" width="200" height="200">
|
||||
</td>
|
||||
<td>
|
||||
<%= partial "layout/header" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" bgcolor="#8BE4E9" nowrap>
|
||||
<%= partial "layout/sidebar" %>
|
||||
</td>
|
||||
<td>
|
||||
<%= yield %>
|
||||
<%= partial "layout/pager" %>
|
||||
<%= partial "layout/footer" %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<div align="center">
|
||||
<center>
|
||||
<table border="4" cellpadding="0" cellspacing="0" width="90%" bordercolor="#008080">
|
||||
<tr>
|
||||
<td bgcolor="#008080">
|
||||
<%= current_article.to_json %>
|
||||
<%= "current_article.title" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
META
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<%= "current_article.body" %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<br />
|
|
@ -1,22 +1,13 @@
|
|||
<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
|
||||
<!-- Start of CuterCounter Code -->
|
||||
<a href="https://www.cutercounter.com/" target="_blank"><img src="https://www.cutercounter.com/hits.php?id=gmmpqqpo&nd=6&style=21" border="0" alt="hit counter"></a>
|
||||
<!-- End of CuterCounter Code -->
|
||||
</td>
|
||||
</tr>
|
||||
<p align="center">
|
||||
<img src="img/debian.gif">
|
||||
<img src="img/frontpage.gif">
|
||||
<img src="img/mirc.gif">
|
||||
<img src="img/neocities.gif">
|
||||
<img src="img/netscape.gif">
|
||||
<img src="img/office.gif">
|
||||
<img src="img/onion.gif">
|
||||
<img src="img/ssb.gif">
|
||||
</p>
|
||||
<p align="center">
|
||||
<img src="https://www.cutercounter.com/hits.php?id=gmmpqqpo&nd=6&style=21">
|
||||
</p>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<font color="#008080" size="7">
|
||||
The Helm
|
||||
</font>
|
||||
<p>
|
||||
<font color="#008080" size="3">
|
||||
Netscape's official home in the Tildeverse
|
||||
</font>
|
||||
</p>
|
|
@ -1,9 +0,0 @@
|
|||
<td colspan="2" style="height: 100px;" background="./header_logo.png">
|
||||
<h1>
|
||||
<font color="#D7E5E4">
|
||||
<marquee>/~netscape_navigator</marquee>
|
||||
</font>
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<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, relative: true %> <span><%= article.date.strftime('%b %e') %></span></li>
|
||||
<% end %>
|
||||
</ol>
|
||||
<br/>
|
||||
<hr/>
|
||||
|
||||
</td>
|
|
@ -1,3 +0,0 @@
|
|||
<tr>
|
||||
<td colspan="2" valign="middle" height="30" bgcolor="#007C85"><a href="https://tilde.town/~netscape_navigator">Home</a></td>
|
||||
</tr>
|
|
@ -0,0 +1,11 @@
|
|||
<div align="center">
|
||||
<center>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>Prev</td>
|
||||
<td>...</td>
|
||||
<td>Next</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
|
@ -1,12 +0,0 @@
|
|||
<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>
|
|
@ -0,0 +1,12 @@
|
|||
<u>LINKS</u>
|
||||
<ul>
|
||||
<li>
|
||||
Foo
|
||||
</li>
|
||||
<li>
|
||||
Bar
|
||||
</li>
|
||||
<li>
|
||||
Baz
|
||||
</li>
|
||||
</ul>
|