Skip to content

Commit

Permalink
updated netlify.toml for sass
Browse files Browse the repository at this point in the history
removed old posts
  • Loading branch information
finleyjchen committed Apr 14, 2020
1 parent c6a17cc commit d530dbb
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 69 deletions.
2 changes: 1 addition & 1 deletion _includes/postslist.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ol reversed class="postlist" style="counter-reset: start-from {{ (postslistCounter or postslist.length) + 1 }}">
{% for post in postslist | reverse %}
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}">
<a href="{{ post.url | url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
<a href="{{ post.data.jobsPage | url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time>
{% for tag in post.data.tags %}
{%- if collections.tagList.indexOf(tag) != -1 -%}
Expand Down
7 changes: 4 additions & 3 deletions about/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: layouts/post.njk
title: About Me
title: About
templateClass: tmpl-post
eleventyNavigation:
key: About Me
key: About
order: 3
---

I am a person that writes stuff.
My name is Finley Chen, I'm a freelance Web Developer.
I created this site because I wanted to see the types of companies that might be hiring for web developer jobs.
2 changes: 1 addition & 1 deletion css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,17 @@ select {
body {
max-width:$medium;
margin:auto;
padding:1em;

}

header {
display:flex;
align-items: center;
ul {
display:flex;
& > * {
padding:0em 1em;
}
}
}
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
publish = "_site"
command = "DEBUG=* eleventy"
command = "npm run sass && eleventy"
2 changes: 1 addition & 1 deletion posts/amazon.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Amazon
description: This is a post on My Blog about agile frameworks.
jobsPage:
jobsPage: https://www.amazon.jobs/en/location/san-luis-obispo-california
date: 2018-05-01
tags:
- public
Expand Down
15 changes: 0 additions & 15 deletions posts/fourthpost.md

This file was deleted.

18 changes: 0 additions & 18 deletions posts/secondpost.md

This file was deleted.

28 changes: 0 additions & 28 deletions posts/thirdpost.md

This file was deleted.

0 comments on commit d530dbb

Please sign in to comment.