legacyweb-pages 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/page.js CHANGED
@@ -96,6 +96,7 @@ Page.prototype.start = function() {
96
96
  page: {
97
97
  header: legacyPage.headerHtml,
98
98
  strip: legacyPage.stripHtml,
99
+ title: page.title,
99
100
  links: legacyPage.links,
100
101
  content
101
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legacyweb-pages",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A toolkit for generating legacyweb pages",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,5 @@
1
1
  <html>
2
+ <title><%= page.title %></title>
2
3
  <body bgcolor="<%= body.bgColor %>" <% if (body.bgImage) { %>background="<%- body.bgImage %>"<% } %> link="<%= body.linkColor %>" vlink="<%= body.linkColor %>">
3
4
 
4
5
  <table width="780px" border=0>
@@ -1,4 +1,5 @@
1
1
  <html>
2
+ <title><%= page.title %></title>
2
3
  <body bgcolor="<%= body.bgColor %>" <% if (body.bgImage) { %>background="<%- body.bgImage %>"<% } %> link="<%= body.linkColor %>" vlink="<%= body.linkColor %>">
3
4
  <center>
4
5
  <table width="786px" border=0>
package/ejstest.js DELETED
File without changes