Skip to content

Commit

Permalink
Renames articles to blog.
Browse files Browse the repository at this point in the history
Less pretentious, I guess.
  • Loading branch information
gwynforthewyn committed Aug 21, 2024
1 parent b781a29 commit acbf590
Show file tree
Hide file tree
Showing 17 changed files with 57 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion content/articles/index.html → content/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<nav class="navigation">
<a href="/" class="link">front page</a>
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
4 changes: 2 additions & 2 deletions content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<nav class="navigation">
<img src="images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
<a href="/social/index.html" class="link">social links</a>
</nav>
Expand All @@ -67,7 +67,7 @@
<div id="links">
<h4><u>site organisation</u></h4>
<p>
<a href="/articles/index.html">articles</a> are one-off articles I've written.
<a href="/blog/index.html">blog</a> is one-off things I've written, and a little life reflection.
</p>

<p>
Expand Down
38 changes: 38 additions & 0 deletions content/projects/andrew/andrew-is-a-glorious-time-sink.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<head>
<script type="text/javascript" src="/main.js"></script>
<title>Andrew is a glorious time sink</title>
<meta name="andrew-publish-time" content="2024-08-21"/>
</head>

<body>
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

<link rel="stylesheet" href="/styles.css">
<div id="playtechnique-header"></div>
<main>
<article>
<section id="introduction">
<p>
I started Andrew because I don't know html, css or javascript. I thought writing an old school, frameworkless, website was the way to go to solve this.
It's a decent strategy so far.
</p>
<p>
There are ideas coming out of its design constraints, and my naivete.
</p>
</section>
<section id="ideas">
<p>
Listing every page on a site consistently is tedious. I helped myself with that by providing a couple of go templates. Figuring out that
I should write the templates to generate html that has classes and IDs, not with hard-coded styles, was pretty eye opening. I could defer the design
decisions to the users.
</p>
<p>
Turned out that search engines don't care about go templates. Andrew helps with that by providing a
</p>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand All @@ -23,7 +23,7 @@
</p>
<p>
I want the site author to be able to write website content by hand, in html and css and javascript. I
want andrew to dynamically generate a set of listings of the articles inside the directory structure of the website.
want andrew to dynamically generate a set of listings of the html pages inside the directory structure of the website.
</p>
<p>I'm not sure yet whether andrew should offer to serve a site (makes it a one-stop solution!) or whether
it should write files on the file system, but a mentor noted to me recently that there are plenty of site
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion content/projects/andrew/andrew-is-minimalistic.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
4 changes: 2 additions & 2 deletions content/projects/andrew/attributes-and-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand All @@ -23,7 +23,7 @@ <h1>What are the data structures come out of the HTML parser in golang?</h1>
If you pass the two tags below into the go stdlib html parser, the parser's output has a few meaningful differences. This has been puzzling me in
Andrew, which aims to remove the things I find tedious about maintaining a website using html, css and javascript by hand.</p>
<p>
I want to sort articles in the { AndrewTableOfContents } structure by date; I also want to design Andrew to get this sort of metadata either through an
I want to sort html pages in the { AndrewTableOfContents } structure by date; I also want to design Andrew to get this sort of metadata either through an
obvious standard html tag, or from a custom meta tag. The outcome of calling Parse is a series of data structures, all of which are html.Nodes.
</p>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<nav class="navigation">
<a href="/" class="link">front page</a>
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion content/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion content/projects/p4merge-wrapper/2024-01-24.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
</nav>
<main>
Expand Down
2 changes: 1 addition & 1 deletion content/social/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<nav class="navigation">
<a href="/" class="link">front page</a>
<img src="/images/logo.png">
<a href="/articles/index.html" class="link">articles</a>
<a href="/blog/index.html" class="link">blog</a>
<a href="/projects/index.html" class="link">projects</a>
<a href="/make-it-usable/index.html" class="link">Make It Usable</a>
</nav>
Expand Down

0 comments on commit acbf590

Please sign in to comment.