mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
docs: doks 0.5.0 preparation work (#3672)
This commit is contained in:
parent
24f5caed97
commit
3225ecf537
|
@ -2,9 +2,15 @@
|
|||
title: "Say hello to the new website 👋"
|
||||
description: "Introducing the new website"
|
||||
lead: "Introducing the new website"
|
||||
excerpt: "Introducing the new website"
|
||||
date: 2022-06-15T17:51:47+10:00
|
||||
draft: false
|
||||
images: []
|
||||
categories: ["News"]
|
||||
tags: ["website"]
|
||||
contributors: ["James Elliott"]
|
||||
pinned: false
|
||||
homepage: false
|
||||
---
|
||||
|
||||
We're pleased to have you take a look at our new website. It combines both the main landing site and the documentation
|
||||
|
|
22
docs/layouts/information/list.html
Normal file
22
docs/layouts/information/list.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
{{ define "main" }}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12 col-lg-10 col-xl-8">
|
||||
<article>
|
||||
<h1 class="text-center">{{ if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</h1>
|
||||
<div class="text-center">{{ .Content }}</div>
|
||||
<div class="card-list">
|
||||
{{ $currentSection := .CurrentSection }}
|
||||
{{ range where .Site.RegularPages.ByWeight "Section" .Section }}
|
||||
{{ if in (.RelPermalink | string) $currentSection.RelPermalink }}
|
||||
<div class="card my-3">
|
||||
<div class="card-body">
|
||||
<a class="stretched-link" href="{{ .RelPermalink }}">{{ if (eq $currentSection.Title .Title) }}Introduction{{ else }}{{ .Params.title | title }}{{ end }} →</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
|
@ -3,7 +3,7 @@
|
|||
"description": "Doks theme",
|
||||
"version": "0.4.2",
|
||||
"engines": {
|
||||
"node": ">=16.15.0"
|
||||
"node": ">=16.15.1"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
|
@ -38,28 +38,28 @@
|
|||
"version": "auto-changelog -p && git add CHANGELOG.md"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.17.10",
|
||||
"@babel/core": "7.18.5",
|
||||
"@babel/preset-env": "^7.16",
|
||||
"@babel/cli": "7.18.6",
|
||||
"@babel/core": "7.18.6",
|
||||
"@babel/preset-env": "7.18.6",
|
||||
"@fullhuman/postcss-purgecss": "4.1.3",
|
||||
"auto-changelog": "2.4.0",
|
||||
"autoprefixer": "10.4.7",
|
||||
"bootstrap": "5.1.3",
|
||||
"bootstrap": "5.2.0-beta1",
|
||||
"bootstrap-icons": "1.8.3",
|
||||
"clipboard": "2.0.11",
|
||||
"eslint": "8.18.0",
|
||||
"eslint": "8.19.0",
|
||||
"exec-bin": "1.0.0",
|
||||
"flexsearch": "0.7.21",
|
||||
"highlight.js": "11.5.1",
|
||||
"hugo-installer": "3.1.0",
|
||||
"instant.page": "5.1.0",
|
||||
"instant.page": "5.1.1",
|
||||
"katex": "0.16.0",
|
||||
"lazysizes": "5.3.2",
|
||||
"markdownlint-cli2": "0.4.0",
|
||||
"netlify-plugin-submit-sitemap": "0.4.0",
|
||||
"node-fetch": "3.2.6",
|
||||
"postcss": "8.4.14",
|
||||
"postcss-cli": "9.1.0",
|
||||
"postcss-cli": "10.0.0",
|
||||
"purgecss-whitelister": "2.4.0",
|
||||
"shx": "0.3.4",
|
||||
"stylelint": "14.9.1",
|
||||
|
|
1158
docs/pnpm-lock.yaml
1158
docs/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user