Skip to content

Commit

Permalink
Removed hidden blog posts from vault
Browse files Browse the repository at this point in the history
  • Loading branch information
wcarhart committed Oct 20, 2021
1 parent d75b411 commit b2259df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/blogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ authorImg: {{cdn:img/profile.jpg}}
status: active
tags:
id: why-i-deleted-my-facebook
hidden: false
hidden: true

title: How to Print File Trees on the Command Line
subtitle: Spruce up your file system
Expand Down
2 changes: 2 additions & 0 deletions generator/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,7 @@ const buildVaultRowsMobile = async (experiences, projects, blogs) => {

// parse blog posts into rows
for (let blog of blogs) {
if (blog.hidden === 'true') continue
let r = new RowTemplate({})
let date = new Date(blog.published * 1000)
r.year = date.getFullYear()
Expand Down Expand Up @@ -1319,6 +1320,7 @@ const buildVaultRows = async (experiences, projects, blogs) => {

// parse blog posts into rows
for (let blog of blogs) {
if (blog.hidden === 'true') continue
let r = new RowTemplate({})
let date = new Date(blog.published * 1000)
r.year = date.getFullYear()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator",
"version": "2.3.0",
"version": "2.3.2",
"description": "Custom static site generator for willcarh.art",
"main": "generator/generator.js",
"repository": "git@github.com:wcarhart/willcarh.art.git",
Expand Down
2 changes: 1 addition & 1 deletion snippets/common/credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<a id="footer-github-icon" href="https://github.com/wcarhart" target="_blank"><i class="fab fa-github"></i></a>
<a id="footer-stackoverflow-icon" href="https://stackoverflow.com/users/6246128/wcarhart" target="_blank"><i class="fab fa-stack-overflow" data-fa-transform="left-2"></i></a>
<a id="footer-linkedin-icon" href="https://linkedin.com/in/willcarhart" target="_blank"><i class="fab fa-linkedin" data-fa-transform="left-2"></i></a>
<a id="footer-facebook-icon" href="{{src:blog/why-i-deleted-my-facebook}}"><i class="fab fa-facebook-f" data-fa-transform="left-4"></i></a>
<!-- <a id="footer-facebook-icon" href="{{src:blog/why-i-deleted-my-facebook}}"><i class="fab fa-facebook-f" data-fa-transform="left-4"></i></a> -->
<div style="text-align:center"><a class="fancy-link" href="{{src:etc.html#license}}">&copy;&nbsp; Will Carhart <span id="year"></span></a></div>
</div>

0 comments on commit b2259df

Please sign in to comment.