Vincent Prouillet
1775242f55
Merge pull request #244 from PhilipDaniels/next
Add a bunch of highlight themes, light and dark.
6 years ago
Philip Daniels
4e566ac604
Add a bunch of themes, light and dark.
6 years ago
Vincent Prouillet
f218f2eaf5
Merge pull request #240 from PhilipDaniels/next
Filter ignored content in page.rs.
6 years ago
Philip Daniels
92f38d1b70
Remove unnecessary if when compiling the glob set.
6 years ago
Philip Daniels
045e9def21
globset can be a dev-dependency in 'content'
6 years ago
Vincent Prouillet
5c56278be1
Let people edit their index.md
Closes #241
6 years ago
Philip Daniels
3e1221064b
Filter ignored content in page.rs.
* Add ignored_content to the Config structure.
* Use the GlobSet crate to parse the glob patterns into a matcher, which
is created once at program initialization. If there are no patterns in
ignored_content, an empty globber is created, which excludes no files.
This is consistent with the existing behaviour of Gutenberg, before
this feature was added.
* Bail if there are any errors in the glob patterns.
* Add a call to the globber in page.rs to actually do the filtering.
* Update documentation.
A note on the Config structure
------------------------------
* I had to remove the PartialEq derive from the Config structure as it
does not work for the GlobSet type. No harm is done, Config does not
need to be PartialEq anyway, since there is no need to sort Configs.
* The implementation follows the pattern of the existing config settings
in that it uses an Option<...>. This would appear unnecessary, in that
an empty vec could be used as the default, but it appears to be needed
by the TOML parsing. A better approach would be to use a separate
SerializableConfig and map to/from a Config struct. This would also
allow the elimination of most, if not all, of the other Options in
the Config structure, but that ought to be another PR.
6 years ago
Vincent Prouillet
972687fd76
Add back mistakenly deleted test file
6 years ago
Vincent Prouillet
10818cd0de
Stop trying to load every file as markdown on serve
Closes #235
6 years ago
Vincent Prouillet
24fad7a5e8
Merge pull request #234 from reillysiemens/who-using-it
Add tuckersiemens.com to example sites
6 years ago
Reilly Tucker Siemens
6273975a72
Add tuckersiemens.com to example sites
6 years ago
Vincent Prouillet
d9af6fe18f
Update syntaxes
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
f179d183ef
Update completions
6 years ago
Vincent Prouillet
f7cacba3f0
Update deps and changelog
6 years ago
Vincent Prouillet
54841b19bb
Merge pull request #220 from Keats/markdown-inline
Markdown inline
6 years ago
Andrew Zah
f5ced05926
Separate interface and base url for gutenberg serve ( #223 )
Separate interface and base_url for serve
You can now have a different base_url and listening interface.
The `gutenberg serve` cmd now accepts `-u`/`--base-url`, but it defaults to `127.0.0.1`.
6 years ago
Vincent Prouillet
4d8647279c
Update some deps
6 years ago
Vincent Prouillet
094dfb4f2f
Merge pull request #222 from Keats/rebuild-tests
Move test_site and turn rebuild.rs into a component
6 years ago
Vincent Prouillet
4362efc789
Elm-syntax submodule moved
6 years ago
Vincent Prouillet
04263766b8
Update syntaxes
6 years ago
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
6 years ago
Vincent Prouillet
29ce510aa3
Add inline option of markdown filter
Fix #197
6 years ago
Vincent Prouillet
49793314a0
Update benchmarks
6 years ago
Vincent Prouillet
7316b98c9b
Start changelog for next version
6 years ago
Vincent Prouillet
ec79c8ee0e
Update Tera to fix regression
6 years ago
Vincent Prouillet
a898a0004c
It's 2018 now, 2018!
6 years ago
Vincent Prouillet
c165c17c2f
Merge pull request #175 from Keats/next
Next version
6 years ago
Vincent Prouillet
7b26418260
Try to remove sudo: required in travis
6 years ago
Vincent Prouillet
fea728d413
Update cargo metadata
6 years ago
Vincent Prouillet
b73ff48482
Fix not compiling on nightly
Fix #215
6 years ago
Vincent Prouillet
60c2fa08d0
Merge pull request #217 from svenstaro/patch-1
Proper Arch Linux spelling
6 years ago
Sven-Hendrik Haase
462365642d
Proper Arch Linux spelling
It's either Arch Linux or archlinux but never Archlinux or ArchLinux.
6 years ago
Vincent Prouillet
4e7538c821
Update some syntaxes + test on rust 1.23
6 years ago
Vincent Prouillet
a44dd5f49a
serve cleans after itself now
Closes #199
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
6 years ago
Vincent Prouillet
8c7e3d7358
Remove stray println
6 years ago
Vincent Prouillet
f37992e03a
Do not unwrap on serve
6 years ago
Vincent Prouillet
f3b1553a26
Update docs about trans
6 years ago
Vincent Prouillet
b06f012be4
Fix tests wrt language_code
6 years ago
Vincent Prouillet
7a2c26a71f
Merge pull request #132 from batisteo/i18n
i18n basic configuration and trans Tera tag
6 years ago
Vincent Prouillet
038fc31233
Merge pull request #212 from verpeteren/spam-materialize-theme
added reference to materialize theme and 'who is using'
6 years ago
Vincent Prouillet
5965620df0
USe date range for license
6 years ago
Vincent Prouillet
d550d87c70
Merge pull request #211 from coliff/patch-1
Update LICENSE
6 years ago
Peter Reijnders
ec9375422d
added reference to materialize theme and 'who is using'
6 years ago
Baptiste Darthenay
046de8c998
Config with i18n
6 years ago
Christian Oliff
312b73204d
Update LICENSE
6 years ago
Vincent Prouillet
ade179ec15
Mention lack of quotes for dates in docs
6 years ago
Vincent Prouillet
1d1ff74d88
Use TOML dates in front-matter rather than strings
Closes #210
6 years ago
Peter Reijnders
3ffcfda1a0
added remark concerning include-not-in-templates ( #209 )
* added remark concerning include-not-in-templates
Closes https://github.com/Keats/gutenberg/issues/208
6 years ago