Initial commit
Hugo/PaperMod static site tracking 13 conferences and 7 journals for edge and cloud systems research. Includes FullCalendar deadline view, ICORE/SCImago rankings, DBLP paper digest pipeline, and Python fetch/generate scripts. PaperMod added as a git submodule.
This commit is contained in:
18
site/layouts/_default/calendar.html
Normal file
18
site/layouts/_default/calendar.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- define "main" }}
|
||||
<header class="page-header">
|
||||
{{- partial "breadcrumbs.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
|
||||
<div id="pa-calendar" data-events="{{ .Params.events | jsonify }}"></div>
|
||||
|
||||
{{- if .Content }}
|
||||
<div class="md-content">
|
||||
{{- partial "anchored_headings.html" .Content }}
|
||||
</div>
|
||||
{{- end }}
|
||||
|
||||
{{- $opts := dict "minify" true "target" "es2017" }}
|
||||
{{- $js := resources.Get "js/calendar.js" | js.Build $opts | fingerprint }}
|
||||
<script src="{{ $js.RelPermalink }}" defer></script>
|
||||
{{- end }}
|
||||
11
site/layouts/partials/extend_head.html
Normal file
11
site/layouts/partials/extend_head.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- if eq .Layout "calendar" }}
|
||||
<style>
|
||||
#pa-calendar { margin: 1.5rem 0 2.5rem; }
|
||||
.fc .fc-toolbar-title { font-size: 1.1rem; }
|
||||
.fc-event { cursor: pointer; font-size: 0.78rem; }
|
||||
/* Reset PaperMod's global table overrides inside FullCalendar */
|
||||
.fc table { display: table; overflow-x: visible; margin-bottom: 0; border-radius: 0; word-break: normal; }
|
||||
.fc th { min-width: 0; text-align: center; }
|
||||
.fc td:first-child, .fc th:first-child { width: auto; }
|
||||
</style>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user