Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next version #1038

Merged
merged 72 commits into from
Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
0d817ee
Next version
Keats May 25, 2020
ee594cf
Make alias template pass HTML validation
Keats May 27, 2020
eb9e22c
Update Changelog to mention taxonomy rss
Keats May 27, 2020
b935dc6
Fix tests
Keats May 27, 2020
b87f175
Remove unneeded build_timestamp on config
Keats May 28, 2020
a9a3a2e
Mention 0.11 breaking change
Keats Jun 3, 2020
ed0ae43
Clarify docs about adding a Sublime theme
apiraino Jun 6, 2020
bdeb2bd
Add themes and syntect file
apiraino Jun 6, 2020
a3b65b2
add .dockerignore file to reduce intermediate docker image size and b…
thomasetter Jun 9, 2020
779c4dc
Merge pull request #1057 from thomasetter/dockerignore
Keats Jun 9, 2020
a27380e
Merge pull request #1055 from apiraino/add-new-sublime-themes-2
Keats Jun 9, 2020
f107d43
Update snap
Keats Jun 9, 2020
6708f76
Implement get_file_hash (#1044)
dancek Jun 9, 2020
c4154bb
Don't panic on bad date strings (#1051)
dancek Jun 9, 2020
f41fab8
Start changelog
Keats Jun 9, 2020
2e9b7ba
Enable task lists
Keats Jun 11, 2020
8d4056a
Add GLSL and GDScrip syntax highlighting (#1060)
bemyak Jun 12, 2020
351c9b7
Remove ja/zh in search index
Keats Jun 15, 2020
752716f
Not sure it changes anything but...
Keats Jun 15, 2020
5e31a32
Add support for SVG files to `get_image_metadata` (Fixes #769) (#1063)
mre Jun 18, 2020
ade442a
clippy + fmt + fix toml dates in extra arrays
Keats Jun 18, 2020
530f918
Add --force/-f flag to init, for creation in non-empty dir (#1065)
perlun Jun 18, 2020
2230968
Update changelog
Keats Jun 18, 2020
e47decc
Make themes more flexible (#1004)
southerntofu Jun 18, 2020
b30394f
Tweak a bit the test_site test
Keats Jun 18, 2020
cb198ab
Document get_taxonomy_url
Keats Jun 18, 2020
7cea0bb
Clean up config a bit
Keats Jun 18, 2020
c6a1c8b
Clearer page sorting comment
Keats Jun 18, 2020
fb994c7
Make search index configurable
Keats Jun 29, 2020
ffd87dc
Update syntect syntaxes
Keats Jul 19, 2020
d21ac14
make text visible on markdown renderers (#1096)
tshepang Jul 22, 2020
24d4784
Ignore sass directories starting with _ (#1084)
iirelu Jul 22, 2020
9f20af1
Update deps
Keats Jul 22, 2020
c3f59bc
Fix pagination section memory issue (#1097)
justinturpin Jul 23, 2020
d7a557f
Update livereload.js
Keats Jul 24, 2020
9be7bc0
Extract sass code out of site/lib.rs
Keats Jul 24, 2020
d9123a8
Extract link_checking outside of site/lib.rs
Keats Jul 24, 2020
5fe1036
Extract some Tera logic out of site/lib.rs
Keats Jul 24, 2020
d7b5368
Extract some feed logic out of site/lib.rs
Keats Jul 25, 2020
66aaf4e
Use mod paths
Keats Jul 25, 2020
7e7bf2b
Tables in config.extra can be merged with those in theme.extra (#1100)
southerntofu Jul 29, 2020
b003a47
Support relative links for root directory (fix #1028) (#1106)
southerntofu Jul 29, 2020
28523ac
Allow emitting newlines and whitespace in shortcodes and introduce ma…
eaon Jul 29, 2020
b9296f7
Make current_path always start with a slash (#1101)
yanghuidong Jul 29, 2020
b4c5e9a
Update changelog
Keats Jul 29, 2020
39eed4f
add OneHalf Light/Dark theme (#1116)
zaiste Aug 3, 2020
b04be90
Fix benchmarks (#1113)
southerntofu Aug 4, 2020
4a3c156
Support anchors without quotes in link checker (#1118)
siiptuo Aug 7, 2020
6af7959
Making Chinese and Japanese search indexing optional... (#1115)
liushuyu Aug 7, 2020
6238171
Updating filetime to v0.2.12 for OpenBSD support (#1120)
protoCall7 Aug 11, 2020
278cc82
Change zola serve to load HTML from memory instead of disk (#1114)
Keats Aug 16, 2020
ffaf5e0
Do not unwrap on invalid utf8 in link checker
Keats Aug 17, 2020
7666043
Merge branch 'master' into next
Keats Aug 17, 2020
05646ab
add fix for (#1135) Taxonomies with identical slugs now get merged (#…
savente93 Aug 18, 2020
159ce0f
Fix toml parse error line number (kind of) (#1138)
Lucretiel Aug 18, 2020
51a2213
Replaced all `impl Default` with `derive(Default)`, where possible (#…
Lucretiel Aug 19, 2020
af0dd5e
Fixed unsound errors (#1143)
Lucretiel Aug 20, 2020
6e16dfd
A Fix for the permalinks in #1136 (#1142)
savente93 Aug 26, 2020
d571dea
Per section/subsection feeds (#1128)
Yaroslav-95 Aug 27, 2020
0df3631
Add minify support (#1146)
areille Aug 28, 2020
4f5fd63
Update deps + pinned
Keats Aug 28, 2020
5ec3a9c
Strip unc if it exists, fix #1110 #1129 (#1151)
uggla Sep 1, 2020
c143d95
Reverse pagination (#1147)
savente93 Sep 1, 2020
6c2300f
Disable minify_html for now
Keats Sep 1, 2020
e0068ef
Remove mention from changelog
Keats Sep 1, 2020
cc647f8
Make anchors always visible in docs
Keats Sep 1, 2020
2ac1d79
fix `get_taxonomy_url` to handle merged taxonomies properly (#1155)
savente93 Sep 2, 2020
5bf1687
Use trim_start_matches instead of strip_prefix (#1156)
uggla Sep 3, 2020
f786783
Update pulldown_cmark
Keats Sep 3, 2020
ba240cd
Change min Rust version in docs
Keats Sep 3, 2020
b854cca
Prepare for release
Keats Sep 4, 2020
935c4a5
Update changelog
Keats Sep 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.dockerignore
.git*
Dockerfile

# From .gitignore
target
.idea/
test_site/public
test_site_i18n/public
docs/public

small-blog
medium-blog
big-blog
huge-blog
extra-huge-blog
small-kb
medium-kb
huge-kb

current.bench
now.bench
*.zst

# snapcraft artifacts
snap/.snapcraft
parts
prime
stage

# nixos dependencies snippet
shell.nix
# vim temporary files
**/.*.sw*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ stage
shell.nix
# vim temporary files
**/.*.sw*
.swp
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@
[submodule "sublime/syntaxes/vue-syntax-highlight"]
path = sublime/syntaxes/vue-syntax-highlight
url = https://github.com/vuejs/vue-syntax-highlight.git
[submodule "sublime/syntaxes/sublime-glsl"]
path = sublime/syntaxes/sublime-glsl
url = https://github.com/euler0/sublime-glsl.git
[submodule "sublime/syntaxes/GDScript-sublime"]
path = sublime/syntaxes/GDScript-sublime
url = https://github.com/beefsack/GDScript-sublime.git
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.12.0 (2020-09-04)

### Breaking

- All paths like `current_path`, `page.path`, `section.path` (except colocated assets) now have a leading `/`
- Search index generation for Chinese and Japanese has been disabled by default as it leads to a big increase in
binary size

### Other

- Add 2 syntax highlighting themes: `green` and `railsbase16-green-screen-dark`
- Enable task lists in Markdown
- Add support for SVG in `get_image_metadata`
- Fix parsing of dates in arrays in `extra`
- Add a `--force` argument to `zola init` to allow creating a Zola site in a non-empty directory
- Make themes more flexible: `include` can now be used
- Make search index generation configurable, see docs for examples
- Fix Sass trying to load folders starting with `_`, causing issues with frameworks
- Update livereload.js version
- Add Markdown-outputting shortcodes
- Taxonomies with the same name but different casing are now merged, eg Author and author

## 0.11.0 (2020-05-25)

### Breaking
Expand All @@ -8,6 +30,7 @@
- Config value `rss_limit` is renamed to `feed_limit`
- Config value `languages.*.rss` is renamed to `languages.*.feed`
- Config value `generate_rss` is renamed to `generate_feed`
- Taxonomy value `rss` is renamed to `feed`

Users with existing feeds should either set `feed_filename = "rss.xml"` in config.toml to keep things the same, or set up a 3xx redirect from rss.xml to atom.xml so that existing feed consumers aren’t broken.

Expand All @@ -23,7 +46,6 @@
- Pass missing `lang` template parameter to taxonomy list template
- Fix default index section not having its path set to '/'
- Change cachebust strategy to use SHA256 instead of timestamp
- Fix

## 0.10.1 (2020-03-12)

Expand All @@ -48,7 +70,7 @@ accessible everywhere
- Check for path collisions when building the site
- Fix bug in template extension with themes
- Use Rustls instead of openssl
- The continue reading HTML element is now a <span> instead of a <p>
- The continue reading HTML element is now a `<span>` instead of a `<p>`
- Update livereload.js
- Add --root global argument

Expand Down
18 changes: 15 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,23 @@ $ cargo run --example generate_sublime synpack ../../sublime/syntaxes ../../subl

### Adding a theme
A gallery containing lots of themes is located at https://tmtheme-editor.herokuapp.com/#!/editor/theme/Agola%20Dark.
More themes can be easily added to Zola, just make a PR with the wanted theme added in the `sublime_themes` directory
and run the following command from the root of the components/config:
More themes can be easily added to Zola, just make a PR with the wanted theme added in the `sublime_themes` directory.

If you want to test Zola with a new theme, it needs to be built into the syntect file `all.themedump`.

First build the tool to generate the syntect file:

```bash
$ cargo run --example generate_sublime themepack ../../sublime/themes ../../sublime/themes/all.themedump
$ git clone https://github.com/getzola/zola.git && cd zola/components/config
$ cargo build --example generate_sublime
```

copy your theme in `sublime/themes/`, then regenerate the syntect file:

``` bash
$ ./target/debug/examples/generate_sublime themepack sublime/themes/ sublime/themes/all.themedump
```

You should see the list of themes being added.

To test your new theme, rebuild Zola with `cargo build`.
Loading