-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot-cdn-config-example.yml
34 lines (32 loc) · 1.24 KB
/
dot-cdn-config-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
name: User-Readable Name Here
description: User-readable description here
type: javascript # Available types: web-component, javascript, stylesheet, font, images, unknown, other
resources: # Resources tells the CDN which files to include. You can use globs to include entire directories.
- 'my-file.js' #This is just a file name/glob. It'll be copied as-is
- src: dist/** #This object, using src: and dest: , defines files that we want to move from one location to another.
dest: ./ # In this example, some build process puts files in 'dist', but we want to move them to the root directory
basic_usage:
head:
meta:
- name: viewport
content: 'width=device-width, initial-scale=1.0'
preload:
styles:
- https://cloud.typography.com/75214/6517752/css/fonts.css
- byu-theme-components.min.css
scripts:
- src: byu-theme-components.min.js
async: true
body: >
<byu-header>
<h1 slot="site-title">Your Site Title Here</h1>
</byu-header>
<div>
Content Goes Here
</div>
<byu-footer></byu-footer>
show_in_directory: false #defaults to true
docs: https://github.com/byu-oit/byu-theme-components #This is a URL to documentation about how to use the library
build:
provider: circleci