Skip to content

Commit

Permalink
Merge pull request #94 from pbrucla/set-permalink
Browse files Browse the repository at this point in the history
Set permalink option remove .html suffix from URLs
  • Loading branch information
Arc-blroth authored Dec 31, 2023
2 parents e042214 + a2f4594 commit aa68f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ url: "https://pbr.uclaacm.com"
github: pbrucla
twitter: pbrucla
image: "assets/images/pbr-team-photo.jpeg"
permalink: /:categories/:year/:month/:day/:title

sass:
sass_dir: assets/styles
Expand All @@ -16,4 +17,4 @@ kramdown:

exclude:
- README.md
- .github/
- .github/
4 changes: 2 additions & 2 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1>Blog</h1>
<ul class="blog-cards">
{% for post in site.posts %}
<li>
<a href="{{ post.url | replace: '.html', '' }}">
<a href="{{ post.url }}">
<div class="card-title">{{ post.title }}</div>
<div class="card-date-author">{{ post.date | date: "%B %-d, %Y" }} - {{ post.author }}</div>
<div class="tags">
Expand All @@ -21,4 +21,4 @@ <h1>Blog</h1>
</a>
</li>
{% endfor %}
</ul>
</ul>

0 comments on commit aa68f3a

Please sign in to comment.