Browse Source

UPDATED to support hCard v1.

DELETED uneeded files.
UPDATED to v0.2.1.
master
Eric Woodward 3 years ago
parent
commit
33313f09f8
  1. 1
      .gitignore
  2. 20
      README.md
  3. 4
      content/pages/about.ejs
  4. 8
      content/support/root/index.html.ejs
  5. 2
      package.json
  6. 16
      templates/default.ejs.bak
  7. 4
      templates/partials/bio.ejs
  8. 13
      todo.md

1
.gitignore

@ -4,4 +4,3 @@ www/
base_uri
base_uri.development
package-lock.json
TODO.md

20
README.md

@ -8,23 +8,33 @@ You can see this site at: https://www.itsericwoodward.com/
+ Clone from the git repo:
git clone https://git.itsericwoodward.com/eric/itsericwoodward-site.git itsericwoodward
```shell
git clone https://git.itsericwoodward.com/eric/itsericwoodward-site.git itsericwoodward
```
+ Go into the directory for the site:
cd itsericwoodward
```shell
cd itsericwoodward
```
+ Install the required NPM libraries:
npm install
```shell
npm install
```
+ Put the site's base URI in a file called `base_uri` (or copy the supplied one, based on your chosen environment):
cp base_uri.production base_uri
```shell
cp base_uri.production base_uri
```
+ Build the site
gulp build
```shell
gulp build
```
+ The build command will output to the `www` directory.

4
content/pages/about.ejs

@ -9,13 +9,13 @@
"short_code": "ma"
}
---
<div id="bio" class="h-card p-author author mainBio">
<div id="bio" class="vcard h-card p-author author mainBio">
<div class="mainBio-div">
<a href="/"
class="u-url u-uid url icon-container mainBio-div-link mainBio-div-imgLink"
rel="author"><img
class="photo u-photo mainBio-div-img"
alt="Photo of Eric"
alt="It's Eric Woodward's avatar"
src="/images/eric-8bit.gif"/></a>
<a class="p-name fn u-url u-uid url mainBio-div-link mainBio-div-textLink"
href="/">Eric Woodward</a>

8
content/support/root/index.html.ejs

@ -230,17 +230,17 @@
</style>
</head>
<body>
<div class="container h-card">
<div class="container h-card vcard">
<a href="/"
class="avatar u-url u-uid url icon-container"
class="avatar url fn u-url u-uid url icon-container"
rel="author">
<figure class="avatar-fig">
<img
class="photo u-photo avatar-img"
alt="It's Eric Woodward's Avatar"
alt="It's Eric Woodward's avatar"
src="<%= site.base_uri %>/images/eric-8bit.gif"/>
<br />
<figcaption class="avatar-figcaption p-name">It&apos;s Eric Woodward!</figccaption>
<figcaption class="avatar-figcaption">It&apos;s <span class="p-name">Eric Woodward</span>!</figccaption>
</figure>
</a>

2
package.json

@ -1,6 +1,6 @@
{
"name": "itsericwoodward-com-gulp",
"version": "0.2.0",
"version": "0.2.1",
"description": "IEW site, now using Gulp.",
"dependencies": {},
"devDependencies": {

16
templates/default.ejs.bak

@ -1,16 +0,0 @@
<%- include('partials/top') %>
<body class="h-card vcard">
<a name="top" id="topAnchor" class="topAnchor"></a>
<div class="page">
<%- include('partials/header') %>
<main id='content' class='main pageMain pageSection'>
<div class='pageMain-inner'>
<%- content %>
</div>
<!-- !!START HERE!! -->
<%- include('partials/pagemenu') %>
</main>
</div>
<%- include("partials/bottom") %>

4
templates/partials/bio.ejs

@ -6,13 +6,13 @@
if (show_bio) {
%>
<aside id="bio" class="h-card p-author author asideContent asideLeft asideBio asideMenu">
<aside id="bio" class="vcard h-card p-author author asideContent asideLeft asideBio asideMenu">
<div class="asideBio-div <%=photo_class%>">
<a href="/"
class="u-url u-uid url icon-container asideBio-div-link asideBio-div-imgLink"
rel="author"><img
class="photo u-photo asideBio-div-img"
alt="Photo of Eric"
alt="It's Eric Woodward's avatar"
src="<%=site.author.photo%>"/></a>
<a class="p-name fn u-url u-uid url asideBio-div-link asideBio-div-textLink"
href="/"><%=site.author.name%></a>

13
todo.md

@ -1,13 +0,0 @@
Restarting this listed - check everything before next update!
+ add images to all posts (in frontmatter 'image:')
+ cards page
+ All of the demo cards as individual images
+ videos page
+ just eddie's video for now
+ KS video - after I caption it
+ Trailers - after Tuesday
+ remove instagram from all links - don't think I'll use it.
+ Rules - do the regeexp searching for the rules version / date in the gulpfile as well.
+ fix watch
+ fix JS
Loading…
Cancel
Save