forked from MACCNYC/NYCAnarchistEvents
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the Jekyll templates work with a
--baseurl
, also.
- Loading branch information
Showing
5 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,6 @@ <h1>{% assign words = site.title | split: ' ' %}{% for word in words %} | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js" integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.markercluster.min.js"></script> | ||
<script type="module" src="{% link static/js/main.js %}"></script> | ||
<script type="module" src="{{ site.baseurl }}{% link static/js/main.js %}"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,14 @@ import rrulePlugin from 'https://cdn.skypack.dev/@fullcalendar/[email protected]?min'; | |
import bootstrap5Plugin from 'https://cdn.skypack.dev/@fullcalendar/[email protected]?min'; | ||
|
||
// Import our own module code sources. | ||
import EventSources from '{% link static/js/event-sources.js %}'; | ||
import FullCalendarEvent from '{% link static/js/event.js %}'; | ||
import EventSources from '{{ site.baseurl }}{% link static/js/event-sources.js %}'; | ||
import FullCalendarEvent from '{{ site.baseurl }}{% link static/js/event.js %}'; | ||
import { | ||
default as mapPlugin, | ||
map, | ||
addEventsInRangeTo | ||
} from '{% link static/js/custom-views/map.js %}'; | ||
import { default as calendarFilterListItem } from '{% link static/js/custom-elements/calendar-filter-list-item.js %}'; | ||
} from '{{ site.baseurl }}{% link static/js/custom-views/map.js %}'; | ||
import { default as calendarFilterListItem } from '{{ site.baseurl }}{% link static/js/custom-elements/calendar-filter-list-item.js %}'; | ||
|
||
export const corsbase = 'https://cors.anarchism.nyc'; | ||
export const domparser = new DOMParser(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ layout: none | |
--- | ||
import { sliceEvents, createPlugin } from 'https://cdn.skypack.dev/@fullcalendar/[email protected]?min'; | ||
import momentTimezone from 'https://cdn.skypack.dev/[email protected]?min'; | ||
import { default as calendar } from '{% link static/js/calendar.js %}'; | ||
import FullCalendarEvent from '{% link static/js/event.js %}'; | ||
import { default as calendar } from '{{ site.baseurl }}{% link static/js/calendar.js %}'; | ||
import FullCalendarEvent from '{{ site.baseurl }}{% link static/js/event.js %}'; | ||
|
||
export var map; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters