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
Adding TokyoNight highlight themes (next branch) #2075
Open
gacallea
wants to merge
50
commits into
getzola:next
Choose a base branch
from
gacallea:next
base: next
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR includes the following: - Added a check for `../` which would check to see if a file is in a _sub_ directory - Wrote test for `is_colocated_asset_links` This PR is similare to PR getzola#1969
* Add completion subcommand * Remove old completion scripts * Move completion logic
Manual testing: Existing test_site/config.toml http://127.0.0.1:1111/posts/a-post-with-dates ==== --- a/test_site/config.toml +++ b/test_site/config.toml @@ -18,6 +18,7 @@ extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"] [slugify] paths = "on" +paths_keep_dates = true taxonomies = "on" anchors = "on" http://127.0.0.1:1111/posts/2016-10-08-a-post-with-dates ==== --- a/test_site/config.toml +++ b/test_site/config.toml @@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox" extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"] [slugify] -paths = "on" +paths = "off" +paths_keep_dates = true taxonomies = "on" anchors = "on" http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates ==== --- a/test_site/config.toml +++ b/test_site/config.toml @@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox" extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"] [slugify] -paths = "on" +paths = "safe" +paths_keep_dates = true taxonomies = "on" anchors = "on" http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates
* Add new `get_taxonomy_term` global function * Update per @Keats feedback to make `page_count` available all the time.
* Add flag to override prompt for existing dir Added --force flag to build subcommand. * Remove unnecessary 'force' check * Remove prompt to overwrite directory on build cmd
According to https://docs.rs/image/0.24.3/image/enum.DynamicImage.html#method.write_to, it assumes a buffered writer, so we should provide one. Signed-off-by: Ana Hobden <operator@hoverbear.org>
Co-authored-by: Newbyte <newbie13xd@gmail.com> Co-authored-by: n-tux-tmp <n-tux-tmp@example.com> Co-authored-by: n-tux-tmp <n-tux-tmp@noreply.example.org>
* Fix current_url in taxonomy term * add tests
If the summary contain HTML using <sup> like "the 1<sup>st</<sup>", it get filtered as the regexp that remove footnotes is not precise enough to remove just the footnotes.
* search: Add support for a JSON index * docs: Document JSON index for search * docs: Use lazy-loaded JSON index * Add elasticlunr prefix to search engine format configuration This will be useful if support for more search libraries are added in the future
If the summary contains more than 1 footnote, only the 1st is removed, and so dangling links exists for all the others.
* Run cargo fmt * Add cargo fmt --check to pipeline
Small update to the doc linked to the discussion on getzola#2026.
* Add details in the doc on CommonMark extension * Update overview.md
* Expose the markdown config property to templates * Document additional strategies for linking code-highlight stylesheets
Closes getzola#1535 Closes getzola#2022
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sanity check:
No code changes.
Adding the four Tokyonight theme variants from https://github.com/folke/tokyonight.nvim
I hope you like them :)