Skip to content

Commit b81dc8a

Browse files
committed
Update metadata for HTML snippets
1 parent acd5ca0 commit b81dc8a

15 files changed

+28
-13
lines changed

collections/html/head-basics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
slug: html/head-basics
22
name: HTML Head Basics
3+
miniName: Head Basics
34
featured: true
45
snippetIds:
56
- html/s/recommended-minimum-head

collections/html/index.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
slug: html
2+
name: HTML Snippets
3+
shortName: HTML
4+
topLevel: true
5+
languageMatcher: html
6+
featured: true
7+
splash: tram-car-2.png
8+
description: >-
9+
The HTML snippet collection contains tips, tricks and practical code examples
10+
to help you master web development. This collection covers elements, tags,
11+
links, forms, tables and more.
12+
shortDescription: >-
13+
Master HTML 5 with this collection of tips, tricks and code examples.
14+

snippets/html/s/8-tips-for-accessible-websites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 8 tips for accessible websites
33
shortTitle: Accessibility tips
44
type: story
55
language: html
6-
tags: [accessibility,webdev]
6+
tags: [accessibility,form,link,metadata]
77
author: chalarangelo
88
cover: accessibility
99
excerpt: Accessibility (a11y) can improve your website and attract new users. Learn how to get started with these 8 quick tips.

snippets/html/s/custom-file-download-names.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tip: Customize the names of downloadable files"
33
shortTitle: Customize the names of downloadable files
44
type: tip
55
language: html
6-
tags: [webdev,browser]
6+
tags: [link]
77
author: chalarangelo
88
cover: hard-disk
99
excerpt: Learn what HTML5 attribute you can use to customize the names of your downloadable files with this quick tip.

snippets/html/s/head-icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Recommended HTML head icon tags
33
shortTitle: HTML favicons template
44
type: story
55
language: html
6-
tags: [webdev,browser]
6+
tags: [metadata,head]
77
author: chalarangelo
88
cover: boutique-home-office-3
99
excerpt: Ensure your HTML documents have a proper favicon by including these lines in your `<head>` element.

snippets/html/s/head-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Recommended HTML head links
33
shortTitle: HTML head links template
44
type: story
55
language: html
6-
tags: [webdev,browser]
6+
tags: [metadata,head]
77
author: chalarangelo
88
cover: boutique-home-office-4
99
excerpt: Make your HTML documents more SEO-friendly by including these lines in your `<head>` element.

snippets/html/s/head-social-tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Recommended social tags for HTML head
33
shortTitle: HTML social tags template
44
type: story
55
language: html
6-
tags: [webdev,browser]
6+
tags: [metadata,head]
77
author: chalarangelo
88
cover: boutique-home-office-2
99
excerpt: Ensure your HTML documents can be shared on social media by including these lines in your `<head>` element.

snippets/html/s/lazy-loading-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tip: Lazy load images in HTML"
33
shortTitle: Image lazy loading
44
type: tip
55
language: html
6-
tags: [webdev,image]
6+
tags: [image]
77
author: chalarangelo
88
cover: bridge
99
excerpt: Did you know you can use a native HTML attribute to add lazy load to images? Learn all you need to know with this quick tip.

snippets/html/s/password-autocomplete-suggestion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tip: Adding autocomplete to a password field"
33
shortTitle: Password field autocomplete
44
type: tip
55
language: html
6-
tags: [webdev]
6+
tags: [form]
77
author: chalarangelo
88
cover: padlocks
99
excerpt: Use the HTML `autocomplete` attribute to create more secure and accessible password fields.

snippets/html/s/prefetching-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tip: Prefetching resources in the browser"
33
shortTitle: Resource prefetching
44
type: tip
55
language: html
6-
tags: [webdev,browser]
6+
tags: [metadata]
77
author: chalarangelo
88
cover: playing-fetch
99
excerpt: Resource prefetching is a great way to improve perceived page speed on your website and requires little effort. Learn how to use it today.

0 commit comments

Comments
 (0)