Skip to content

Commit

Permalink
removed items and ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mwigham committed Apr 2, 2024
1 parent a21abc5 commit b18a1e5
Show file tree
Hide file tree
Showing 32 changed files with 706 additions and 724 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ module.exports = {
root: true,
parserOptions: {
ecmaVersion: '2022',
sourceType: 'module'
sourceType: 'module',
},
extends: [
'@nuxt/eslint-config',
'plugin:vue/vue3-recommended',
'plugin:vuetify/base',
'plugin:nuxt/recommended',
// put 'plugin:prettier/recommended' last, to avoid conflicting configuration
// note that 'plugin:prettier/recommended' extends 'prettier' and sets up the 'prettier' plugin
// note that 'plugin:prettier/recommended' extends 'prettier' and sets up the 'prettier' plugin
// see https://github.com/prettier/eslint-plugin-prettier#recommended-configuration
'plugin:prettier/recommended',
// NOTE: don't append here, 'plugin:prettier/recommended' should be last.
],
ignorePatterns: [
// use exact code given by Matomo, to track changes
"**/matomo-tracking-code.js",
'**/matomo-tracking-code.js',
],
rules: {
'vue/multi-word-component-names': [
Expand Down
32 changes: 16 additions & 16 deletions .forestry/front_matter/templates/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
label: API
hide_body: false
fields:
- type: text
name: title
label: title
- type: text
name: subtitle
label: subtitle
- type: file
name: image
label: image
- type: list
name: datasets
label: datasets
- name: hidden
type: boolean
label: Hidden
description: Turn on to hide this content from index pages
- type: text
name: title
label: title
- type: text
name: subtitle
label: subtitle
- type: file
name: image
label: image
- type: list
name: datasets
label: datasets
- name: hidden
type: boolean
label: Hidden
description: Turn on to hide this content from index pages
146 changes: 73 additions & 73 deletions .forestry/front_matter/templates/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,76 @@
label: Archive
hide_body: false
fields:
- type: text
name: title
label: Title
- type: text
name: subtitle
label: Subtitle
- name: type
type: select
default: []
config:
required: false
options:
- project
- example
- application
source:
type: simple
section: archive
file:
path:
label: Type
description: The type of archive item
- type: file
name: image
label: Image
- name: website_url
type: text
config:
required: false
label: Website URL
description: The URL of the archive item's website
- name: project
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: archive
file:
path:
label: Project
description: Project this archive item belongs to
- name: tags
type: tag_list
default: []
label: Tags
description: Tags of this archive item
- type: list
name: themes
label: Themes
- type: list
name: contenttypes
label: Contenttypes
- name: startDate
type: datetime
label: Start Date
description: ''
config:
required: false
date_format: DD-MM-YYYY
time_format:
display_utc: false
- name: endDate
type: datetime
label: End Date
description: ''
config:
required: false
date_format: DD-MM-YYYY
time_format:
display_utc: false
- type: text
name: title
label: Title
- type: text
name: subtitle
label: Subtitle
- name: type
type: select
default: []
config:
required: false
options:
- project
- example
- application
source:
type: simple
section: archive
file:
path:
label: Type
description: The type of archive item
- type: file
name: image
label: Image
- name: website_url
type: text
config:
required: false
label: Website URL
description: The URL of the archive item's website
- name: project
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: archive
file:
path:
label: Project
description: Project this archive item belongs to
- name: tags
type: tag_list
default: []
label: Tags
description: Tags of this archive item
- type: list
name: themes
label: Themes
- type: list
name: contenttypes
label: Contenttypes
- name: startDate
type: datetime
label: Start Date
description: ''
config:
required: false
date_format: DD-MM-YYYY
time_format:
display_utc: false
- name: endDate
type: datetime
label: End Date
description: ''
config:
required: false
date_format: DD-MM-YYYY
time_format:
display_utc: false
123 changes: 62 additions & 61 deletions .forestry/front_matter/templates/blog-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,65 @@
label: Blog Post
hide_body: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: text
name: subtitle
label: Subtitle
# the change below is commented out as we have no CMS at present to test the changes in
# - type: date
# name: publishedOn
# label: Date published
# description: The date the blog post was published, in the format YYYY-MM-dd
- type: file
name: image
label: Image
description: An image for the blog post's thumbnail and header, preferably landscape
orientation, max 2MB
config:
maxSize: 2
- type: text
name: tags
label: Tags
- type: list
name: datasets
label: Datasets
config:
use_select: true
source:
type: pages
section: data-sets
- name: project
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: projects
file:
path:
label: Project
description: A project that this blog post belongs to
- name: lab
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: labs
file:
path:
label: Lab
description: A lab that this blog post belongs to
- name: hidden
type: boolean
label: Hidden
description: Turn on to hide this content from index pages
- type: text
name: title
label: Title
config:
required: true
- type: text
name: subtitle
label: Subtitle
# the change below is commented out as we have no CMS at present to test the changes in
# - type: date
# name: publishedOn
# label: Date published
# description: The date the blog post was published, in the format YYYY-MM-dd
- type: file
name: image
label: Image
description:
An image for the blog post's thumbnail and header, preferably landscape
orientation, max 2MB
config:
maxSize: 2
- type: text
name: tags
label: Tags
- type: list
name: datasets
label: Datasets
config:
use_select: true
source:
type: pages
section: data-sets
- name: project
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: projects
file:
path:
label: Project
description: A project that this blog post belongs to
- name: lab
type: select
default: []
config:
required: false
options: []
source:
type: pages
section: labs
file:
path:
label: Lab
description: A lab that this blog post belongs to
- name: hidden
type: boolean
label: Hidden
description: Turn on to hide this content from index pages
Loading

0 comments on commit b18a1e5

Please sign in to comment.