Skip to content

Commit

Permalink
Get basic webpack setup working
Browse files Browse the repository at this point in the history
  • Loading branch information
jo12bar committed Jan 15, 2020
1 parent 59f8218 commit 7ac83bd
Show file tree
Hide file tree
Showing 10 changed files with 5,889 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ _site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
node_modules
.commit
18 changes: 17 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
title: "Johann M. Barnard - CV"
baseurl: "/cv"

sass:
sass_dir: _sass
style: compressed

compress-site: yes

encoding: "utf-8"
compress_html:
clippings: all
ignore:
envs: development

plugins:
- jekyll-sitemap
- jekyll-seo-tag
baseurl: "/cv"

exclude: ['node_modules', 'webpack']
3 changes: 3 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>

<link rel="stylesheet" href="{{ "/assets/generated/bundle.css" | relative_url }}">

<link rel="stylesheet" href="{{ "/assets/css/styles.css" | relative_url }}">

{{ seo }}
Expand Down
1 change: 1 addition & 0 deletions assets/generated/bundle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
body{background:blue}
1 change: 1 addition & 0 deletions assets/generated/bundle.js

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

Loading

0 comments on commit 7ac83bd

Please sign in to comment.