migrate to Eleventy v3 and ESM, upgrade dependencies
Some checks failed
publish / publish (push) Failing after 4m13s
Some checks failed
publish / publish (push) Failing after 4m13s
This commit is contained in:
parent
84e3af4205
commit
f10dcd9df8
5 changed files with 988 additions and 1035 deletions
|
@ -8,6 +8,7 @@ eleventyComputed:
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="{{ eleventy.generator }}">
|
||||
<title>{% if title %}{{ title }} | {% endif %}ESE {{ ese.year }}</title>
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||
<link rel="stylesheet" href="/aileron.lite.min.css">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const { ICalCalendar, ICalCalendarMethod } = require('ical-generator')
|
||||
import { ICalCalendar, ICalCalendarMethod } from 'ical-generator';
|
||||
|
||||
module.exports = class ProgramIcal {
|
||||
export default class ProgramIcal {
|
||||
getDate(date, time) {
|
||||
const d = new Date(date);
|
||||
const [ hours, mins ] = time.split(":");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue