mirror of
https://github.com/foambubble/foam-template.git
synced 2025-06-07 20:08:54 +00:00
add jekyll support
This commit is contained in:
parent
37983106f5
commit
8807d1e806
6 changed files with 51 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
.sass-cache/
|
||||
_site/
|
||||
.jekyll-cache/
|
||||
Gemfile.lock
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM jekyll/jekyll
|
||||
Label MAINTAINER Amir Pourmand
|
||||
WORKDIR /srv/jekyll
|
||||
ADD Gemfile /srv/jekyll/
|
||||
RUN bundle install
|
11
Gemfile
Normal file
11
Gemfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem "jekyll"
|
||||
gem "jekyll-theme-primer"
|
||||
gem "jekyll-optional-front-matter"
|
||||
gem "jekyll-default-layout"
|
||||
gem "jekyll-readme-index"
|
||||
gem "jekyll-titles-from-headings"
|
||||
gem "jekyll-relative-links"
|
||||
gem "kramdown-parser-gfm"
|
||||
gem "kramdown"
|
27
_config.yml
Normal file
27
_config.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
title: Amir Pourmand Schedule!
|
||||
theme: jekyll-theme-primer
|
||||
|
||||
|
||||
baseurl:
|
||||
|
||||
highlighter: rouge
|
||||
gist:
|
||||
noscript: false
|
||||
kramdown:
|
||||
math_engine: mathjax
|
||||
syntax_highlighter: rouge
|
||||
|
||||
readme_index:
|
||||
enabled: true
|
||||
|
||||
repository: hikerpig/foam-jekyll-template
|
||||
|
||||
# Generate permalinks in format specified in: https://jekyllrb.com/docs/permalinks/#built-in-formats
|
||||
permalink: pretty
|
||||
|
||||
plugins:
|
||||
- jekyll-optional-front-matter
|
||||
- jekyll-readme-index
|
||||
- jekyll-default-layout
|
||||
- jekyll-titles-from-headings
|
||||
- jekyll-relative-links
|
1
bin/docker_build.sh
Executable file
1
bin/docker_build.sh
Executable file
|
@ -0,0 +1 @@
|
|||
docker build -t "foam:Dockerfile" .
|
3
bin/docker_run.sh
Executable file
3
bin/docker_run.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
|
||||
-it foam:Dockerfile bundler \
|
||||
exec jekyll serve --watch --port=8080 --host=0.0.0.0
|
Loading…
Add table
Reference in a new issue