Skip to content

A personal blog used to share some interesting ideas, powered by 11ty static site generator

Notifications You must be signed in to change notification settings

miguelcarrasco/texblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

texblog

A personal blog used to share some interesting ideas, powered by 11ty static site generator

Usage

There are some scripts defined in package.json file

Start a web server for dev

$ npm start

This command is the same as executing

$ npx @11ty/eleventy --serve

Build the site

$ npm run build

This command is the same as executing

$ npx @11ty/eleventy

Deploy to GitHub pages

$ npm run deploy

This command is the same as executing

$ gh-pages -d public

It uses the gh-pages package, and publish all the content inside ./public/ directory to gh-pages branch

Important: you may want to execute

$ npm run build

first, in order to generate the site inside ./public directory before publishing into gh-pages branch

if you use a custom domain, set the domain in src/CNAME file, adding the following line

    eleventyConfig.addPassthroughCopy("./src/CNAME");

on .eleventy.js file

Config

Site configuration variables are on src/_data/site.js file

About

A personal blog used to share some interesting ideas, powered by 11ty static site generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published