Why are images broke on front page?

This commit is contained in:
Netscape Navigator 2019-11-16 21:43:52 -06:00
parent 49d3237401
commit 32852f7f08
5 changed files with 14 additions and 13 deletions

View File

@ -3,7 +3,6 @@
title: New Year, New Layout title: New Year, New Layout
date: 2019-11-16 21:02 UTC date: 2019-11-16 21:02 UTC
tags: tags:
--- ---
I hope you like it! It's cold outside, my back is injured, and it just felt like a great weekend for staying inside and relaxing with a nice cup of FrontPage Express '97. I hope you like it! It's cold outside, my back is injured, and it just felt like a great weekend for staying inside and relaxing with a nice cup of FrontPage Express '97.

View File

@ -1,12 +1,3 @@
<p align="center">
<%= link_to 'https://en.wikipedia.org/wiki/Microsoft_FrontPage' do image_tag "img/frontpage.gif" end %>
<%= link_to 'https://www.mirc.com/' do image_tag "img/mirc.gif" end %>
<%= link_to 'https://neocities.org/' do image_tag "img/neocities.gif" end %>
<%= link_to 'https://en.wikipedia.org/wiki/Netscape_(web_browser)' do image_tag "img/netscape.gif" end %>
<%= link_to 'https://www.theonion.com/' do image_tag "img/onion.gif" end %>
<%= link_to 'https://en.wikipedia.org/wiki/Microsoft_Office_97' do image_tag "img/office.gif" end %>
<%= link_to 'https://scuttlebutt.nz/' do image_tag "img/ssb.gif" end %>
</p>
<p align="center"> <p align="center">
<img src="https://www.cutercounter.com/hits.php?id=gmmpqqpo&amp;nd=6&amp;style=21"> <img src="https://www.cutercounter.com/hits.php?id=gmmpqqpo&amp;nd=6&amp;style=21">
</p> </p>

View File

@ -1,10 +1,10 @@
<center> <center>
<font color="#008080" size="7" face="comic sans"> <font color="#008080" size="7">
The Helm The Helm
</font> </font>
<p> <p>
<font color="#008080" size="3"> <font color="#008080" size="3">
Netscape's official home in the Tildeverse Hello, world!
</font> </font>
</p> </p>
</center> </center>

View File

@ -19,3 +19,15 @@
<p> <p>
Please contact me for banner exchange opportunities. I can be found on #meta in TildeChat IRC or on the Scuttleverse. Please contact me for banner exchange opportunities. I can be found on #meta in TildeChat IRC or on the Scuttleverse.
</p> </p>
<p align="center">
<%= link_to 'https://en.wikipedia.org/wiki/Microsoft_Office_97' do image_tag "img/office.gif" end %>
<%= link_to 'https://en.wikipedia.org/wiki/Microsoft_FrontPage' do image_tag "img/frontpage.gif" end %>
<br/>
<%= link_to 'https://en.wikipedia.org/wiki/Netscape_(web_browser)' do image_tag "img/netscape.gif" end %>
<%= link_to 'https://scuttlebutt.nz/' do image_tag "img/ssb.gif" end %>
<br/>
<%= link_to 'https://www.theonion.com/' do image_tag "img/onion.gif" end %>
<%= link_to 'https://www.mirc.com/' do image_tag "img/mirc.gif" end %>
<br/>
<%= link_to 'https://neocities.org/' do image_tag "img/neocities.gif" end %>
</p>

View File

@ -43,7 +43,6 @@ posts.map do |post|
path = BLOB_PATH % [b64, extension] path = BLOB_PATH % [b64, extension]
File.write(path, open(url).read) unless File.file?(path) File.write(path, open(url).read) unless File.file?(path)
content.gsub!(hash, path.gsub("source/", "/")) content.gsub!(hash, path.gsub("source/", "/"))
# content.gsub!("image.png", "")
end end
end end
File.write("source/blog/ssb-#{key}.html.markdown", POST_TEMPLATE.result(binding)) File.write("source/blog/ssb-#{key}.html.markdown", POST_TEMPLATE.result(binding))