--- import '../assets/css/site.css'; import '../assets/css/input.css'; import scrollspyBehavior from '../assets/hyperscript/scrollspy.hs?raw'; import activeSearchBehavior from '../assets/hyperscript/active-search.hs?raw'; import {Image} from 'astro:assets'; import {getFile} from '../lib/content'; import {buildJsonLd} from '../lib/jsonld'; import {isCurrentPath} from '../lib/utils'; import bssBars from '../assets/img/bss-bars.png'; import FinderLink from '../components/FinderLink.astro'; import Search from "../components/Search.astro"; import BackgroundGrid from "../components/BackgroundGrid.astro"; const { title = "htmx", description = "htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext\n\nhtmx is small (~10k min.gz'd), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react", image = "/img/og-image.png", keywords, article, breadcrumbs, hasSidebar = false, } = Astro.props; // Site links (header nav, footer extras, social) loaded from one source. const links = (await getFile('links.yaml'))?.frontmatter; const navigationItems = links.header; const footerSections = [ {name: "Links", items: links.header}, {name: "Community", items: links.social.map((s: any) => ({name: s.name, url: s.url, iconClass: s.iconClass}))}, {name: "Resources", items: links.footer}, ]; --- {title === 'htmx' ? title : `${title} ~ htmx`} {Astro.url && } {article?.publishedTime && } {article?.modifiedTime && } {article?.authors?.map((author: string) => )} {article?.tags?.map((tag: string) => )}