Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Aug 29, 2023
1 parent 11130f3 commit 95ea8f8
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ block_comment_start = /*
block_comment = *
block_comment_end = */

[*.{scss,css,js,json}]
[*.{scss,css,js,json,yml,md}]
indent_size = 2

[acf-json/*.json]
Expand Down
64 changes: 32 additions & 32 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:
workflow_dispatch:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
lint:
name: Lint
runs-on: ubuntu-latest

steps:
-
name: Checkout repository
uses: actions/checkout@v3
-
name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
-
name: Install dependencies
run: npm ci
-
name: Run linter
run: npm run sass:lint
-
name: Check EditorConfig configuration
run: test -f .editorconfig
-
name: Check adherence to EditorConfig
uses: greut/eclint-action@v0
with:
eclint_args: |
-exclude=css/*
steps:
-
name: Checkout repository
uses: actions/checkout@v3
-
name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
-
name: Install dependencies
run: npm ci
-
name: Run linter
run: npm run sass:lint
-
name: Check EditorConfig configuration
run: test -f .editorconfig
-
name: Check adherence to EditorConfig
uses: greut/eclint-action@v0
with:
eclint_args: |
-exclude=css/*
15 changes: 5 additions & 10 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,16 @@ community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* The use of sexualized language or imagery, and sexual attention or advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
* Publishing others' private information, such as a physical or email address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Enforcement Responsibilities

Expand Down
4 changes: 2 additions & 2 deletions src/posts/customization/customization.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Customization"
eleventyNavigation:
key: Customization
order: 2
key: Customization
order: 2
---
6 changes: 3 additions & 3 deletions src/posts/getting-started/posts/content-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Content Management"
summary: "Today more people and experts write about accessibility. For the better progression it is a good idea to read them."
eleventyNavigation:
key: Content Management
parent: Getting Started
order: 5
key: Content Management
parent: Getting Started
order: 5
---

Adding content to the template is easy as almost everything is in Eleventy.
Expand Down
6 changes: 3 additions & 3 deletions src/posts/getting-started/posts/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Features"
summary: "We tried to make a simple but well-structured theme. Managing the content is straightforward but still comes with some helpful features."
eleventyNavigation:
key: Features
parent: Getting Started
order: 2
key: Features
parent: Getting Started
order: 2
---

We tried to make a simple but well-structured theme. Managing the content is straightforward but still comes with some helpful features.
Expand Down
6 changes: 3 additions & 3 deletions src/posts/getting-started/posts/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Introduction"
summary: "Welcome to the official documentation of Spruce Docs Elventy theme. A small template that you can use to document any of your projects."
eleventyNavigation:
key: Introduction
parent: Getting Started
order: 1
key: Introduction
parent: Getting Started
order: 1
---

Welcome to the official documentation of **Spruce Docs** Elventy theme. A small template that you can use to document any of your projects.
Expand Down
6 changes: 3 additions & 3 deletions src/posts/getting-started/posts/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Setup"
summary: "We use eleventy --serve and compile Sass with sass-cli with npm scripts."
eleventyNavigation:
key: Setup
parent: Getting Started
order: 4
key: Setup
parent: Getting Started
order: 4
---

## Clone the repository
Expand Down
6 changes: 3 additions & 3 deletions src/posts/getting-started/posts/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Structure"
summary: "The structure is a generic Eleventy theme with the standard folder and file names."
eleventyNavigation:
key: Structure
parent: Getting Started
order: 3
key: Structure
parent: Getting Started
order: 3
---

The structure is a generic Eleventy theme with the standard folder and file names.
Expand Down

0 comments on commit 95ea8f8

Please sign in to comment.