Python
SQL sorguları
Dosya işlemleri
Ağ işlemleri
Fonksiyonlar
Lisans: Belirtilmemis
Python — .eleventy.js
Python — SQL sorguları, Dosya işlemleri, Ağ işlemleri. SQL sorgusu içerir.
Sınırlı Önizleme Politikası: Bu kodun açık kaynak lisansı doğrulanamadığı için telif kuralları gereği yalnızca kısa önizlemesi gösterilmektedir. Tam kod için
orijinal kaynağa gidin ↗.
/**
* @file Configures preferences for Eleventy
* @author Reuben L. Lillie <reubenlillie@gmail.com>
* @see {@link https://www.11ty.dev/docs/config/ 11ty Documentation}
*/
// Require native Node.js modules
import { readFileSync } from 'fs'
/**
* Require the includes module for the following.
*
* - Filters (for modifying content on input)
* - Shortcodes (for reusable content)
* - Transforms (for modifying a template’s output)
*
* Storing these modules in separate directories,
* rather than all in this file,
* helps keep the codebase organized—at least that’s the idea.
*/
import includes from './_includes/'
/**
* 11ty’s configuration module
* @module .eleventy
* @param {Object} eleventyConfig 11ty’s Config API
* @return {Object} 11ty’s Config object optional
* @see {@link https://www.11ty.dev/docs/config/ Configuring 11ty}
*/
export default function (eleventyConfig) {
// Pass 11ty’s Conig object to the includes module (~/_includes)
includes(eleventyConfig)
/**
* Combine data in the Eleventy data cascade, rather than overwriting itTespit Edilen SQL Sorguları
with-serve Adding a 404 page in 11ty}