-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path_config.yml
More file actions
59 lines (55 loc) · 1.9 KB
/
Copy path_config.yml
File metadata and controls
59 lines (55 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Jekyll config for the GitHub Pages preview at
# https://frowningdev.github.io/django-orm-lens/
#
# Without this file GitHub Pages falls back to its legacy default
# renderer that does NOT process markdown inside HTML blocks. Because
# our README wraps the badge stack and hero section in
# `<div align="center">` blocks, every `` and `[text](url)`
# inside those divs stayed as raw text — visible to visitors and cited
# by wsvincent/awesome-django#378 reviewers as "broken markdown blocks".
#
# `parse_block_html: true` fixes that globally; the per-div
# `markdown="1"` attributes act as belt-and-suspenders in case a future
# GH-Pages Jekyll bump reverts the default.
theme: jekyll-theme-primer
# Social card, consumed by jekyll-seo-tag. Without it the homepage unfurled
# as a bare `summary` card with no image anywhere it was shared.
#
# seo-tag resolves `image` off the *page*, not the site root, so setting a
# top-level `image:` key here does nothing — it has to arrive as a front
# matter default. Setting the image is also what flips the card type to
# summary_large_image, so that is not declared separately.
#
# The URL must be absolute: seo-tag's absolute_url filter does not prepend the
# project-pages baseurl, so a root-relative path would resolve off-site.
defaults:
- scope:
path: ""
values:
image: https://frowningdev.github.io/django-orm-lens/media/hero.png
markdown: kramdown
kramdown:
input: GFM
hard_wrap: false
parse_block_html: true
parse_span_html: true
syntax_highlighter: rouge
# Only publish the README as the docs preview — keep the source tree
# out of the Jekyll site so it does not accidentally rebuild every
# markdown file under `docs/` or `src/`.
include:
- README.md
exclude:
- node_modules
- out
- src
- test
- scripts
- cli
- docs
- Dockerfile
- package.json
- package-lock.json
- tsconfig.json
- smithery.yaml
- CHANGELOG.md