Skip to content

Commit

Permalink
chore: Update devcontainer.json, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjparkinson authored Jun 29, 2024
1 parent 8b72093 commit 3dfe630
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 34 deletions.
9 changes: 0 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@

"image": "mcr.microsoft.com/devcontainers/jekyll",

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
// Jekyll server
Expand All @@ -19,9 +13,6 @@
35729
],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "cat Gemfile.lock | tail -n 2 | grep -C2 'BUNDLED WITH' | tail -n 1 | xargs gem install bundler -v; bundle install",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source 'https://rubygems.org'

gem 'github-pages', group: :jekyll_plugins

gem "webrick"
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ sass:

defaults:
- scope:
path: ""
type: posts
values:
layout: post
Expand Down Expand Up @@ -46,4 +47,4 @@ plugins: &plugins
- jekyll-sitemap
- jekyll-titles-from-headings

whitelist: *plugins
whitelist: *plugins
19 changes: 1 addition & 18 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,5 @@ <h1>
</h1>
<p class="lead">{{ site.description }}</p>
</header>

<nav class="sidebar-nav">
{% comment %}
The code below dynamically generates a sidebar nav of pages with
`layout: page` in the front-matter. See readme for usage.
{% endcomment %}

{% assign pages_list = site.pages %}
{% for node in pages_list %}
{% if node.title != null %}
{% if node.layout == "page" %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{
node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
</nav>
</div>
</div>
</div>
5 changes: 0 additions & 5 deletions _layouts/page.html

This file was deleted.

0 comments on commit 3dfe630

Please sign in to comment.