Skip to content

Commit

Permalink
Added by line to article with date stamp fixed date stap
Browse files Browse the repository at this point in the history
  • Loading branch information
torvos committed Jul 22, 2024
1 parent b2bf008 commit 1c4b9cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 2 additions & 7 deletions articles/website.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,8 @@ <h2><a href="#content">Summary</a></h2>
<h1 style="margin-bottom: 0px;">How This Website Works</h1>
<h5>
By <a rel="author" href="mailto:[email protected]">Phil</a>
on <wa-format-date id="publishdate" month="long" day="numeric" year="numeric" date=""></wa-format-date>
(<wa-relative-time id="publishrelativedate" date=""></wa-relative-time>)
<script>
let text = document.lastModified;
document.getElementById("publishdate").date = text;
document.getElementById("publishrelativedate").date = text;
</script>
on <wa-format-date id="publishdate" month="long" day="numeric" year="numeric" date="2024-07-21T22:20:00-04:00"></wa-format-date>
(<wa-relative-time id="publishrelativedate" date="2024-07-21T22:20:00-04:00"></wa-relative-time>)
</h5>

<p><a name="artcle-top"></a>In this article I'm going to break down how this website works. First this website is hosted on GitHub, and it's code is public, you can <a href="https://github.com/torvos/Torvos.ca" target="_blank">view the code here (opens in a new tab)</a> and even send pull requests if you spot an error or want to suggest changes.</p>
Expand Down
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ <h2>Articles</h2>
</nav>

<!-- Page Content -->
<h1 class="title">Welcome to my website</h1>
<h1 style="margin-bottom: 0px;">Welcome to my website</h1>
<h5>
By <a rel="author" href="mailto:[email protected]">Phil</a>
on <wa-format-date id="publishdate" month="long" day="numeric" year="numeric" date="2024-07-20T19:17:00-05:00"></wa-format-date>
(<wa-relative-time id="publishrelativedate" date="2024-07-20T19:17:00-05:00"></wa-relative-time>)
</h5>
<p>The site is still in development, I'm going to focus on writing artciles about technology.</p>
<p>Take a look at the <a href="about.html">about me</a> page for more information about who I am and my background.</p>
<p>Thank you for your patience while I build this site, stay tuned for updates.</p>
Expand Down

0 comments on commit 1c4b9cd

Please sign in to comment.