|
1 | 1 | { |
2 | | - "page_html": { |
3 | | - "prefix": "page_html", |
4 | | - "isFileTemplate": true, |
5 | | - "scope": "astro", |
6 | | - "body": [ |
7 | | - "---", |
8 | | - "$1", |
9 | | - "---", |
10 | | - "", |
11 | | - "<html lang=\"en\">", |
12 | | - "\t<head>", |
13 | | - "\t\t<meta charset=\"utf-8\" />", |
14 | | - "\t\t<meta name=\"viewport\" content=\"width=device-width\" />", |
15 | | - "\t\t<meta name=\"generator\" content={Astro.generator} />", |
16 | | - "\t\t<title>${2:Document}</title>", |
17 | | - "\t</head>", |
18 | | - "\t<body>", |
19 | | - "\t\t$0", |
20 | | - "\t</body>", |
21 | | - "</html>", |
22 | | - ], |
23 | | - "description": "Page with full HTML", |
24 | | - }, |
25 | | - "page_layout": { |
26 | | - "prefix": "page_layout", |
27 | | - "isFileTemplate": true, |
28 | | - "scope": "astro", |
29 | | - "body": [ |
30 | | - "---", |
31 | | - "import ${1:Layout} from \"../layouts/$1.astro\"", |
32 | | - "---", |
33 | | - "", |
34 | | - "<$1>", |
35 | | - "\t$0", |
36 | | - "</$1>", |
37 | | - ], |
38 | | - "description": "Page from Layout", |
39 | | - }, |
40 | | - "component": { |
41 | | - "prefix": "component", |
42 | | - "isFileTemplate": true, |
43 | | - "scope": "astro", |
44 | | - "body": ["---", "$1", "---", "", "$0"], |
45 | | - "description": "Component", |
46 | | - }, |
| 2 | + "page_html": { |
| 3 | + "prefix": "page_html", |
| 4 | + "isFileTemplate": true, |
| 5 | + "scope": "astro", |
| 6 | + "body": [ |
| 7 | + "---", |
| 8 | + "$1", |
| 9 | + "---", |
| 10 | + "", |
| 11 | + "<html lang=\"en\">", |
| 12 | + "\t<head>", |
| 13 | + "\t\t<meta charset=\"utf-8\" />", |
| 14 | + "\t\t<meta name=\"viewport\" content=\"width=device-width\" />", |
| 15 | + "\t\t<meta name=\"generator\" content={Astro.generator} />", |
| 16 | + "\t\t<title>${2:Document}</title>", |
| 17 | + "\t</head>", |
| 18 | + "\t<body>", |
| 19 | + "\t\t$0", |
| 20 | + "\t</body>", |
| 21 | + "</html>" |
| 22 | + ], |
| 23 | + "description": "Page with full HTML" |
| 24 | + }, |
| 25 | + "page_layout": { |
| 26 | + "prefix": "page_layout", |
| 27 | + "isFileTemplate": true, |
| 28 | + "scope": "astro", |
| 29 | + "body": [ |
| 30 | + "---", |
| 31 | + "import ${1:Layout} from \"../layouts/$1.astro\"", |
| 32 | + "---", |
| 33 | + "", |
| 34 | + "<$1>", |
| 35 | + "\t$0", |
| 36 | + "</$1>" |
| 37 | + ], |
| 38 | + "description": "Page from Layout" |
| 39 | + }, |
| 40 | + "component": { |
| 41 | + "prefix": "component", |
| 42 | + "isFileTemplate": true, |
| 43 | + "scope": "astro", |
| 44 | + "body": ["---", "$1", "---", "", "$0"], |
| 45 | + "description": "Component" |
| 46 | + } |
47 | 47 | } |
0 commit comments