diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 876c226..a24ca97 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,3 +20,10 @@ jobs: uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Set up Python + uses: actions/setup-python@v2 + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install curlylint + - run: curlylint --include .njk layout diff --git a/layout/_macro/sidebar.njk b/layout/_macro/sidebar.njk index 3a654b6..f19a830 100644 --- a/layout/_macro/sidebar.njk +++ b/layout/_macro/sidebar.njk @@ -39,7 +39,7 @@ - + {%- if theme.back2top.enable and theme.back2top.sidebar %}