Yay works
This commit is contained in:
parent
746cd129cd
commit
4ca3756b78
|
@ -1,3 +1,8 @@
|
|||
# Blog
|
||||
|
||||
It me.
|
||||
|
||||
# TODO
|
||||
|
||||
* Way of feeding my SSB stream into here.
|
||||
* Degrade image quality to 256 colors using image magick?
|
||||
|
|
12
config.rb
12
config.rb
|
@ -7,22 +7,22 @@ page "/*.txt", layout: false
|
|||
|
||||
activate :blog do |blog|
|
||||
# This will add a prefix to all links, template references and source paths
|
||||
# blog.prefix = "blog"
|
||||
blog.prefix = "blog"
|
||||
|
||||
blog.permalink = "./{title}.html"
|
||||
# Matcher for blog source files
|
||||
# blog.sources = "{year}-{month}-{day}-{title}.html"
|
||||
blog.sources = "{title}.html"
|
||||
# blog.taglink = "tags/{tag}.html"
|
||||
blog.layout = "blog_layout"
|
||||
# blog.summary_separator = /(READMORE)/
|
||||
blog.layout = "layout"
|
||||
blog.summary_separator = /(READMORE)/
|
||||
# blog.summary_length = 250
|
||||
# blog.year_link = "{year}.html"
|
||||
# blog.month_link = "{year}/{month}.html"
|
||||
# blog.day_link = "{year}/{month}/{day}.html"
|
||||
blog.default_extension = ".html.markdown"
|
||||
|
||||
blog.tag_template = "tag.html"
|
||||
blog.calendar_template = "calendar.html"
|
||||
# blog.tag_template = "tag.html"
|
||||
# blog.calendar_template = "calendar.html"
|
||||
|
||||
# Enable pagination
|
||||
# blog.paginate = true
|
||||
|
|
|
@ -11,6 +11,8 @@ Many rudimentary software packages that resembled software seen today began to t
|
|||
|
||||
Even vendors of Free (as in freedom) Software would occasionally offer boxed software for a fee. These fees helped pay for the CD-ROM and printed documentation that came with the software. Many of these companies still exist today, such as Red Hat and [Suse](https://www.suse.com/community/museum/media-box/). Indeed, my first Linux installation disk was purchased from the shelf of a Best Buy retail outlet. In the 90's, downloading an ISO image was simply not feasible and having access to physical media was a necessity.
|
||||
|
||||
READMORE
|
||||
|
||||
# In Some Ways, Things Got Worse
|
||||
|
||||
Despite low bandwidth, low CPU speeds and expensive storage costs, the CD-ROM era of the 90's and early 2000's offered many advantages not seen in modern software.
|
|
@ -1,34 +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<%= ' - ' + 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,33 +0,0 @@
|
|||
---
|
||||
pageable: true
|
||||
---
|
||||
<h1>Archive for
|
||||
<% case page_type
|
||||
when 'day' %>
|
||||
<%= Date.new(year, month, day).strftime('%b %e %Y') %>
|
||||
<% when 'month' %>
|
||||
<%= Date.new(year, month, 1).strftime('%b %Y') %>
|
||||
<% when 'year' %>
|
||||
<%= year %>
|
||||
<% end %>
|
||||
</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 %>
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB |
|
@ -1,7 +1,4 @@
|
|||
---
|
||||
pageable: true
|
||||
per_page: 10
|
||||
---
|
||||
|
||||
<%= partial "layout/article", locals: {current_article: current_article} %>
|
||||
|
||||
<br>
|
||||
<% blog.articles[0...5].each do |article| %>
|
||||
<%= partial "layout/article", locals: {current_article: article} %>
|
||||
<% end %>
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
<table border="0">
|
||||
<tr>
|
||||
<td width="140">
|
||||
<a href="https://tilde.town/~netscape_navigator">
|
||||
<img src="img/logo.gif" width="200" height="200">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<%= partial "layout/header" %>
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
<table border="4" cellpadding="0" cellspacing="0" width="90%" bordercolor="#008080">
|
||||
<tr>
|
||||
<td bgcolor="#008080">
|
||||
<%= current_article.to_json %>
|
||||
<%= "current_article.title" %>
|
||||
<%= current_article.title %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -14,7 +13,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<%= "current_article.body" %>
|
||||
<%= current_article.body %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue