-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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
Regression for mmistakes#2332 #2385
Conversation
There's already a `relative_url` in place, shouldn't stack up another
Can you verify this works with externally hosted images? That is what the So we need to be able to do |
@mmistakes I've verified locally with both Jekyll 3.8.6 and Jekyll 4.0. Here are the results:
So your worry isn't practical, Jekyll has already taken care of it with the |
OK cool. |
@mmistakes Running Line 4 in 1799ddd
I'd be happy to help if you want to perform the adoption of this change in Jekyll (3.6 → 3.7). |
Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes#2385 (comment)
* Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: #2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class
* Add UI Text for Thai Language (#2111) * Update `/docs` text strings * Add reference to Thai UI text strings * Fix table of contents active link styling * Add `max-width` Sass variable (#2093) * Update CHANGELOG and history * Allow adding JavaScript files after the theme's (#2116) Allow adding JavaScript files after those bundled in the theme Close #2110 * Update CHANGELOG and history * Improve search `input` semantics (#2123) * Update search_form.html Updates Issue #2122 by adding the correct input type and aria label. * update search_form.html should be area-placeholder. My mistake. Updates Issue #2122 * fix aria-placeholder Updates issue #2123 with a typo found by @mmistakes for liquid syntax. Close #2122 * Update CHANGELOG and history * Release 4.16.0 💎 * Made Gumshoe contingent upon a TOC being present. This prevents a console error on pages without a TOC. (#2124) * Update CHANGELOG and history * Update jquery v3.3.1 to v3.4.0 (#2129) * Update jquery v3.3.1 to v3.4.0 * Update `main.min.js` Close #2127 * Update CHANGELOG and history * Update layout compress from v3.0.2 to v3.1.0 (#2128) * Update CHANGELOG and history * Add link to MM remote theme starter * Release 4.16.1 💎 * Revert back to jQuery v3.3.1 3.4.0 causes issues with older jQuery plugins that haven't been updated to support it. * Release 4.16.2 💎 * Update Gumshoe to v5.1.1 Fixes #2140 * Update CHANGELOG and history * Update jQuery to v3.4.1 ref #2137 * Update JavaScript listing * Update CHANGELOG and history * Reset positioning of `rel="permalink"` anchors * Release 4.16.3 💎 * Fix permalink stacking order * Update CHANGELOG and history * add www to facebook.com link (#2160) * Change permalink * Fix pound symbol not displaying properly for post categories and tags Fixes #2156 * Add edge case * Update CHANGELOG and history * Create FUNDING.yml * Fix and complete Spanish localization (#2149) * Update CHANGELOG and history * update Font Awesome (#2150) REF: https://fontawesome.com/changelog/latest * Update CHANGELOG and history * Fix and improve pt-BR localization. (#2162) * Update CHANGELOG and history * Arithmetic fix in _form.scss (#2169) * Update CHANGELOG and history * Release 4.16.4 💎 * Remove duplicate UI text file in `/docs` * Add skip links Close #2182 * Remove extra `{` Fixes #2192 * Low hanging fruit (#2186) * Update 05-configuration.md - fix dead Twitter Dev docs url - slight clarification re: Player Card approval - fix Jekyll docs url * Update 2013-01-10-markup-image-alignment.md - fix the/re typo * Update CHANGELOG and history * Fix broken Flickr images * remove unneeded type="text/javascript" (#2190) REF: - https://google.github.io/styleguide/htmlcssguide.html#type_Attributes - https://codeguide.co/#html-style-script - https://developers.google.com/analytics/devguides/collection/analyticsjs/ * Update CHANGELOG and history * Fix missing fallback title for table of contents * Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaScript Close #2193 * Use Font Awesome Kits to use the latest version of icons Close #2184 * Complete missing parts of Korean locale. (#2209) search_placeholder_text, results_found, and back_to_top * Update CHANGELOG and history * Display site subtitle in masthead (#2205) * Add site subtitle * Tabs vs spaces - the ancient conflict * updates cfr PR #2205 * Perhaps also add the closing anchor * Make sure we check for the right variables... * Brown paper bag - subtitle, not description * Use `span` instead of `div` element * Document `site.subtitle` * Update CHANGELOG and history * Add site subtitle * Fixes aria issues on search form (#2211) * Fixes aria issues on search form * Swapping aria-label for <label> tag in search * Removing background gray caused by adding <form> tag to search * Removing redundant space * Making form not submit if key is enter Close #2180 * Add localized text string * Update CHANGELOG and history * Updated localized text string for "Punjabi" and "Hindi" language (#2212) * Update CHANGELOG and history * Release 4.16.5 💎 * Allow Markdown in author bio (#2215) * enable markdown in author bio added the markdownify liquid filter * Add markdown to bio in _config.yml * add markdown to bio in /test/ _config.yml * Change <p> to <div> * Add note about allowed Markdown in `author.bio` * Update CHANGELOG and history * Add emphasis * Fix overlapping links in post link type Close #2222 * Fix default site.author in seo.html (#2230) * Update CHANGELOG and history * Complete Spanish localization (#2229) * Update CHANGELOG and history * Remove fullstop in some Staticman UI text (#2220) In this UI text, the 2nd sentence is not finished. comment_form_info : "Your email address will not be published. Required fields are marked" * Update CHANGELOG and history * Fix typos * Harmonize `site.url` for Organization JSON-LD schema * Fix `site.url` in Organization/Person JSON-LD schema Close #1906 * Update history * Relax Jekyll dependency to allow for version 4.0 * Ignore Jekyll cache * Remove jemoji gem * Bump dependencies * Remove jemoji gem * Update documentation * Release 4.16.6 💎 * Translate into Catalan (#2237) * Translate into Catalan * Translate missing key * Pluralize key * Update CHANGELOG, history, and docs * Update onchange development dependency in package.json Close #2241 * Fix typo in config comment (#2243) * Update CHANGELOG and history * Fix http links to use https (#2244) Every site should support https by now. Better to link the https sites right away. Both sites do support https at the time I checked. * Update CHANGELOG and history * Allow per-page override of words_per_minute (#2250) Different languages usually have different read speeds. This change is useful for sites with multi-lingual content * Document `page.words_per_minute` * Update CHANGELOG and history * Show a permalink anchor when hovering over headings in main content (#2251) * Implement heading permalinks, close #2246 Thanks to jekyll/jekyll for CSS. Link anchor is visible when the mouse hovers over the title line. * Build the updated _main.js * Update CHANGELOG and history * remove extraneous space from IE conditional statement (#2273) * Update CHANGELOG and history * Release 4.17.0 (#2275) * Release 4.17.0 💎 * Update CHANGELOG and history * Update the info about what js scrips you are using (#2276) Added Smooth Scroll and Gumshoe info * Update CHANGELOG and history * Fix and test case (#2285) * Update CHANGELOG and history * Update Chinese (Simplified) translation (#2286) * Update CHANGELOG and history * Release 4.17.1 💎 (#2288) * Flexbox sticky footer (#2289) * Remove sticky footer JavaScript * Use flexbox to force footer to the bottom of every page * Fix flexbox in Internet Explorer * Update CHANGELOG and history Close #2281 * Added another step (#2294) The step is required to get the portfolio collection to work. * Update CHANGELOG and history * Release 4.17.2 💎 (#2296) * Update CHANGELOG and history Fix #2310 * Fix typo in _config.yml (#2319) * Fix typo in comments in _config.yml * Update CHANGELOG and history * Support page header (page hero) in archive-taxonomy layouts (#2320) * Support page header in archive-taxonomy layout * Update CHANGELOG and history * Add social icon color for Keybase (#2302) * Update CHANGELOG and history * Add missing dutch ui-text fields (#2321) * Update CHANGELOG and history * Fixed page.excerpt to seo_description (#2326) * Update CHANGELOG and history * Make feature row live well with TOC, fix #2327 (#2329) * Update CHANGELOG and history * Add notices with code blocks for testing * Set background-color = inherit for <pre code> in notices (#2328) * Update CHANGELOG and history * Fix schema.org dates to ISO-8601 (#2339) * Fix schema.org dates to ISO-8601 * Revert date_to_xmlschema in <time> tag * Update masthead.html (#2332) * Update masthead.html fix image path in masthead for relative url * Update _includes/masthead.html Co-Authored-By: iBug ♦ <git@ibugone.com> * Update CHANGELOG and history * Fix staticman v2/v3 comments (#2351) According to the most recent docs, `branch` and `endpoint` should be inside `site.comments.staticman` config. * Update CHANGELOG and history * Update toc.html from allejo/jekyll-toc:master (#2355) * Update CHANGELOG and history * Use %-d instead of %d (#2359) * Update CHANGELOG and history * 🔧 Exclude `package-lock.json` (#2364) * Update CHANGELOG and history * Allow override of page excerpt in heading (via tagline) (#2307) Allow the use of `page.tagline` to override `page.excerpt` in heading area * Add example posts with header `tagline` * Document header `tagline` * Update CHANGELOG and history * Update .gitignore (#2366) * Update CHANGELOG and history * Update README and LICENSE (#2367) * Update README and LICENSE * README: Replace RawGit with jsDelivr * Update CHANGELOG and history * Fix wrong newline concatenation in SEO description, resolves #2354 (#2368) Close #2354 * Add post to test multiline excerpt * Update CHANGELOG and history * Adjust comments to be compatible with compress_html (#2373) * Update CHANGELOG and history * Add links to high resolution skin screenshots Resolves #2363 * Allow using theme without pagination (#2378) * Update CHANGELOG and history * Release 4.18.0 💎 * Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381) * Release 4.18.1 💎 * Regression for mmistakes#2332 (#2385) * Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history * Bump Jekyll gem dependency to `v3.7` * Disable box-shadow for radio and checkbox (#2398) * Update CHANGELOG and history * fix: Do not redirect user away from site after they submit a comment (#2402) * Update CHANGELOG and history * Fix rake vulnerability in .gemspec file * Add Irish (Gaeilge) locale to ui-text.yml (#2422) * Update CHANGELOG, history, and documentation * Hide hidden posts from listings (#2345) * Update CHANGELOG and history * Improve accessiblity of default skin by increasing color contrast * Update CHANGELOG and history * Improve headline hierarchy Add headline specific Sass variables: ```scss $h-size-1: 1.563em !default; // ~25.008px $h-size-2: 1.25em !default; // ~20px $h-size-3: 1.125em !default; // ~18px $h-size-4: 1.0625em !default; // ~17px $h-size-5: 1.03125em !default; // ~16.5px $h-size-6: 1em !default; // ~16px ``` Fixes #2423 * Use relative_url and absolute_url where possible (#2387) * Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes/minimal-mistakes#2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class * Update CHANGELOG and history * Fix minor deprecation issue (#2425) with bundler show vs now info. Just to avoid warning for users * Update CHANGELOG and history * Fix typo in Sass variable map * fixed typo in page_hero (#2428) * Lock demo site at version 4.18.1 ref: mmistakes/minimal-mistakes#2429 * Remove deprecated Staticman v1 config Close #2386 * Update CHANGELOG and history * Remove delay on menu close * Add "click" overlay to close masthead and follow button menus when open Fixes #1168 * Update CHANGELOG and history * Remove unused variables * Release 4.19.0 💎 * Force rebuild of site * Update smooth-scroll.js to `v16.1.2` Close #2430 * Fix author profile links `z-index` order on small screens Close #2440 * Bump dependencies * Update CHANGELOG and history * Use first_page_path from Paginate V2 if available (#2431) * Update CHANGELOG and history * update links to HTTPS and remove Google+ from 05-configuration.md (#2432) * Update CHANGELOG and history * docs: Add dracula base16 syntax highlighting (#2438) Updates stylesheets doc by adding a section for [dracula theme](https://draculatheme.com/). * Update CHANGELOG and history * Release 4.19.1 💎 * Bump theme version * Clarify lunr only searches documents in collections (#2450) * Update CHANGELOG and history * Finnish translations (#2455) * Finnish translations * Small fix to finnish translation * Update CHANGELOG and history * Add mention of Finnish * Update ui-text.yml for Vietnamese translation (#2459) * Add guide on applying Front Matter defaults to jekyll-archives pages (#2466) * Add guide on applying Front Matter defaults to jekyll-archives pages Sources: - mmistakes/minimal-mistakes#2465 (comment) - iBug/iBug-source@8685c1e * Update CHANGELOG and history * Update CHANGELOG and history * Use css padding for author urls to fix underline hover state (#2472) * Use scss padding for sidebar author urls * rename .text to .label * Update CHANGELOG and history * Fix #2478 "Follow menu falls under post links" (#2479) * Fix #2478 "Follow menu falls under post links" * Do it the other way * Hide index page from page-archive, resolves #2481 (#2482) * Update README.md * Update 01-quick-start-guide.md * Update Vietnamese translation (#2486) * Update Vietnamese translation * Update Vietnamese translation * Update CHANGELOG and history * Fix typo in configuration docs (#2497) `https://github.io.mmistakes` should be `https://mmistakes.github.io` * Update CHANGELOG and history * Update Burmese translation (#2500) * Update CHANGELOG and history * Add Myanmar (Burmese) * Update video (#2512) * Update video support bilibili video * Update video drop the duplicated <div> wrapper * Update video update video * Add bilibili provider * Update CHANGELOG and history * Fix typo * Add bilibili provider * Wrap email in quotes Close #2498 * Release 4.19.2 💎 * Bump version to 4.19.2 * Fix typo * Ignore heading in TOC Co-authored-by: Samiti <36131619+samiti3d@users.noreply.github.com> Co-authored-by: Michael Rose <est.michael@gmail.com> Co-authored-by: Luis Puerto <luiss.puerto@gmail.com> Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com> Co-authored-by: Denver Prophit Jr <denver.prophit@gmail.com> Co-authored-by: Jeckari <jeck@blankcodex.com> Co-authored-by: Alex Malaszkiewicz <torrocus@users.noreply.github.com> Co-authored-by: Christian Oliff <christianoliff@yahoo.com> Co-authored-by: Juan Diego <enreas@gmail.com> Co-authored-by: Vítor Bernardes <30302795+vbernardes@users.noreply.github.com> Co-authored-by: Emanuele Barsanti <github@barsanti.xyz> Co-authored-by: Noah Pivnick <nopivnick@nopivnick.com> Co-authored-by: Potados <potados99@gmail.com> Co-authored-by: Jan De Luyck <5451787+jdeluyck@users.noreply.github.com> Co-authored-by: Jim Drury <JimDrury@users.noreply.github.com> Co-authored-by: Kulbhushan Chand <17742733+Kulbhushan-Chand@users.noreply.github.com> Co-authored-by: Ravi <raviriley@gmail.com> Co-authored-by: Jason Thai <thaixtri@gmail.com> Co-authored-by: Vincent Tam <VincentTam@users.noreply.github.com> Co-authored-by: Marc Riera <mrc2407@gmail.com> Co-authored-by: Rico <d-Rickyy-b@users.noreply.github.com> Co-authored-by: iBug ♦ <git@ibugone.com> Co-authored-by: Baptiste M <baptiste.maingret@gmail.com> Co-authored-by: Dan Wilde <hextra@gmx.com> Co-authored-by: Wouter Janson <WouterJanson@users.noreply.github.com> Co-authored-by: Wouter Overmeire <lodagro@gmail.com> Co-authored-by: Lars Olesen <lars@intraface.dk> Co-authored-by: Eloi Perdereau <eloi@perdereau.eu> Co-authored-by: dmitrypv <dmitry.pv@gmail.com> Co-authored-by: Akhyar Amarullah <akhyrul@gmail.com> Co-authored-by: Rodrigo Graça <1134310+rodrigograca31@users.noreply.github.com> Co-authored-by: Johannes Ganzenmüller <johannes.ganzenmueller@gmail.com> Co-authored-by: Mohamed Akram <mohd-akram@users.noreply.github.com> Co-authored-by: Daniel Schroeder <deadlydog@hotmail.com> Co-authored-by: Ivan Storck <ivanoats@users.noreply.github.com> Co-authored-by: chrismelman <chrismelman@hotmail.com> Co-authored-by: Christian Oliff <christianoliff@pm.me> Co-authored-by: Luiz Lopes <luiz@wickeddeveloper.com> Co-authored-by: A. Ishikawa <a.ishikawa810@gmail.com> Co-authored-by: Tatu Wikman <tatu.wikman@gmail.com> Co-authored-by: Quan <8580008+quannetwork@users.noreply.github.com> Co-authored-by: Ali Farooq <ali.farooq0@pm.me> Co-authored-by: Tobias V. Langhoff <tobias@langhoff.no> Co-authored-by: Hein Htet Aung <heinhtaung@gmail.com> Co-authored-by: sunete <45954867+sunete@users.noreply.github.com>
* Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history
* Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes#2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class
* Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes/minimal-mistakes#2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class
* Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes/minimal-mistakes#2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class
* Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history
* Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history
* Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history
* Use relative_url and absolute_url where possible Drops the `contains "://"` check, adopt Jekyll 3.7 Ref: mmistakes#2385 (comment) * One more unneeded {% assign %} * Remove one more assign as noted by mmistakes * Consolidate 4 more captures * Consolidate an extra assign on "active" class
This is a bug fix.
Summary
On the merged commit of #2332 (abf2943), there's already
minimal-mistakes/_includes/masthead.html
Line 12 in abf2943
Emphasis:
so the extra
relative_url
is the culprit for the duplicated base path for masthead logo whensite.baseurl
isn't resolved to/
.This PR resolves that bug by removing the extra
relative_url
. On a side note, I wouldn't blame the original PR suggester because the initial{% if site.logo contains "://" %}
is rather misleading per se.Context
#2332 Comment: #2332 (comment)
cc @Geekdude