[06/08/23] removed cats+tags in posts, removed til-post.html
This commit is contained in:
parent
ac0ca49f97
commit
d5f0acdc6c
17 changed files with 5 additions and 1390 deletions
|
@ -1,51 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="{{ page.url }}">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/default.css" rel="stylesheet">
|
||||
{% include style.html a=page.title %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-start">
|
||||
{% include nav.html a=page.title %}
|
||||
<div class="col col-md-9">
|
||||
{% assign categories = page.title %}
|
||||
{% assign category = site.data.categories[categories] %}
|
||||
<h1 style="font-weight: 500;">
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <i class="fas fa-folder"></i> {{ page.title }} </span>
|
||||
</h1>
|
||||
<hr>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in page.posts %}
|
||||
{% assign categories = post.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
<li>
|
||||
<h4><a href="{{ post.url }}">{{ post.title }}</a></h4>
|
||||
<div style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ post.date | date_to_string }} |
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <i
|
||||
class="fas fa-folder"></i> {{ categories }} </span>
|
||||
</div>
|
||||
{{ post.content | strip_html | truncatewords: 30 }}
|
||||
<br>
|
||||
<br>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -2,27 +2,10 @@
|
|||
layout: default
|
||||
---
|
||||
|
||||
{% capture time %}{{ content | reading_time }}{% endcapture %}
|
||||
|
||||
{% assign categories = page.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
|
||||
{% assign tags = page.tags %}
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ page.date | date_to_string }}
|
||||
|
|
||||
<i class="fas fa-clock"></i> {{ content | reading_time | pluralize: "minute" }}
|
||||
|
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <a class="text-decoration-none" style="color:{{category.textColor}}" href="/blog/category/{{ categories.first }}"><i class="fas fa-folder"></i> {{ categories.first }}</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
{% for tag in tags %}
|
||||
<span style="background-color:#171717;color:white;font-family:Rubik;padding:3px;border-radius:10px;"><a class="text-decoration-none" href="/blog/tag/{{ tag }}">{{ tag }}</a></span>
|
||||
{% if tag != tags.last %}
|
||||
,
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="{{ page.title }}">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<meta property="og:url" content="{{ page.url }}">
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/default.css" rel="stylesheet">
|
||||
{% include style.html a=page.title %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-start">
|
||||
{% include nav.html a=page.title %}
|
||||
<div class="col col-md-9">
|
||||
<h1 style="font-weight: 500;">
|
||||
<span style="font-size: 30px;"><i class="fas fa-tag"></i></span> {{ page.title }}
|
||||
</h1>
|
||||
<hr>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in page.posts %}
|
||||
{% assign categories = post.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
<li>
|
||||
<h4><a href="{{ post.url }}">{{ post.title }}</a></h4>
|
||||
<div style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ post.date | date_to_string }} |
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <i
|
||||
class="fas fa-folder"></i> {{ categories }} </span>
|
||||
</div>
|
||||
{{ post.content | strip_html | truncatewords: 30 }}
|
||||
<br>
|
||||
<br>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
{% assign categories = page.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
|
||||
{% assign tags = page.tags %}
|
||||
|
||||
<p style="font-family:Rubik;font-weight:500;">
|
||||
<i class="fas fa-calendar"></i> {{ page.date | date_to_string }}
|
||||
|
|
||||
<i class="fas fa-clock"></i> {{ content | reading_time | pluralize: "minute" }}
|
||||
|
|
||||
<span style="background-color:{{category.backColor}};color:{{category.textColor}};"> <a class="text-decoration-none" style="color:{{category.textColor}}" href="/til/"><i class="fas fa-folder"></i> {{ categories.first }}</a> </span>
|
||||
|
|
||||
<i class="fas fa-tag"></i>
|
||||
{% for tag in tags %}
|
||||
<span style="background-color:#171717;color:white;font-family:Rubik;padding:3px;border-radius:10px;"><a class="text-decoration-none" href="/blog/tag/{{ tag }}">{{ tag }}</a></span>
|
||||
{% if tag != tags.last %}
|
||||
,
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
{{ content }}
|
Loading…
Add table
Add a link
Reference in a new issue