Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b3edf78d authored by MALANDAIN Mathias's avatar MALANDAIN Mathias
Browse files

Try and fix my stupid fix

parent 51bc11a2
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ Getting started is *literally* as easy as 1-2-3 :smile: ...@@ -62,7 +62,7 @@ Getting started is *literally* as easy as 1-2-3 :smile:
Scroll down to see the steps involved, but here is a 30-second video just as a reference as you work through the steps. If you don't already have a [GitHub account](https://github.com), you'll need to sign up. Scroll down to see the steps involved, but here is a 30-second video just as a reference as you work through the steps. If you don't already have a [GitHub account](https://github.com), you'll need to sign up.
![Installation steps](https://beautifuljekyll.com../assets/img/install-steps.gif) ![Installation steps](https://beautifuljekyll.com/assets/img/install-steps.gif)
### 1. Fork this project ### 1. Fork this project
...@@ -186,7 +186,7 @@ after-content | Similar to `footer-extra`, but used for including HTML after the ...@@ -186,7 +186,7 @@ after-content | Similar to `footer-extra`, but used for including HTML after the
head-extra | Similar to `footer-extra`, but used if you have any HTML code that needs to be included in the `<head>` tag of the page. head-extra | Similar to `footer-extra`, but used if you have any HTML code that needs to be included in the `<head>` tag of the page.
language | HTML language code to be set on the page's &lt;html&gt; element. language | HTML language code to be set on the page's &lt;html&gt; element.
full-width | By default, page content is constrained to a standard width. Use `full-width: true` to allow the content to span the entire width of the window. full-width | By default, page content is constrained to a standard width. Use `full-width: true` to allow the content to span the entire width of the window.
js | List of local JavaScript files to include in the page (eg. `../assets/js/mypage.js`) js | List of local JavaScript files to include in the page (eg. `/assets/js/mypage.js`)
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="` ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
css | List of local CSS files to include in the page css | List of local CSS files to include in the page
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported. ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
......
...@@ -41,7 +41,7 @@ navbar-links: ...@@ -41,7 +41,7 @@ navbar-links:
# Image to show in the navigation bar - works best with a square image # Image to show in the navigation bar - works best with a square image
# Remove this parameter if you don't want an image in the navbar # Remove this parameter if you don't want an image in the navbar
avatar: "../assets/img/git-gitlab-icon.png" avatar: "/assets/img/git-gitlab-icon.png"
# By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false' # By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
round-avatar: true round-avatar: true
...@@ -134,20 +134,20 @@ footer-hover-col: "#0085A1" ...@@ -134,20 +134,20 @@ footer-hover-col: "#0085A1"
# Alternatively, the navbar, footer, and page background can be set to an image # Alternatively, the navbar, footer, and page background can be set to an image
# instead of colour # instead of colour
#navbar-img: "../assets/img/bgimage.png" #navbar-img: "/assets/img/bgimage.png"
#footer-img: "../assets/img/bgimage.png" #footer-img: "/assets/img/bgimage.png"
#page-img: "../assets/img/bgimage.png" #page-img: "/assets/img/bgimage.png"
# Suggest a colour for mobile browsers to use as the browser's theme. This is only supported by a few mobile browsers. # Suggest a colour for mobile browsers to use as the browser's theme. This is only supported by a few mobile browsers.
#mobile-theme-col: "#0085A1" #mobile-theme-col: "#0085A1"
# For any extra visual customization, you can include additional CSS files in every page on your site. List any custom CSS files here # For any extra visual customization, you can include additional CSS files in every page on your site. List any custom CSS files here
#site-css: #site-css:
# - "../assets/css/custom-styles.css" # - "/assets/css/custom-styles.css"
# If you have common JavaScript files that should be included in every page, list them here # If you have common JavaScript files that should be included in every page, list them here
#site-js: #site-js:
# - "../assets/js/custom-script.js" # - "/assets/js/custom-script.js"
################################# #################################
# --- Web Analytics Section --- # # --- Web Analytics Section --- #
......
...@@ -41,7 +41,7 @@ navbar-links: ...@@ -41,7 +41,7 @@ navbar-links:
# Image to show in the navigation bar - works best with a square image # Image to show in the navigation bar - works best with a square image
# Remove this parameter if you don't want an image in the navbar # Remove this parameter if you don't want an image in the navbar
avatar: "../assets/img/git-gitlab-icon.png" avatar: "/assets/img/git-gitlab-icon.png"
# By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false' # By default, the image is cut into a circle. You can disable this behaviour by setting 'round-avatar: false'
round-avatar: true round-avatar: true
...@@ -130,20 +130,20 @@ footer-hover-col: "#0085A1" ...@@ -130,20 +130,20 @@ footer-hover-col: "#0085A1"
# Alternatively, the navbar, footer, and page background can be set to an image # Alternatively, the navbar, footer, and page background can be set to an image
# instead of colour # instead of colour
#navbar-img: "../assets/img/bgimage.png" #navbar-img: "/assets/img/bgimage.png"
#footer-img: "../assets/img/bgimage.png" #footer-img: "/assets/img/bgimage.png"
#page-img: "../assets/img/bgimage.png" #page-img: "/assets/img/bgimage.png"
# Suggest a colour for mobile browsers to use as the browser's theme. This is only supported by a few mobile browsers. # Suggest a colour for mobile browsers to use as the browser's theme. This is only supported by a few mobile browsers.
#mobile-theme-col: "#0085A1" #mobile-theme-col: "#0085A1"
# For any extra visual customization, you can include additional CSS files in every page on your site. List any custom CSS files here # For any extra visual customization, you can include additional CSS files in every page on your site. List any custom CSS files here
#site-css: #site-css:
# - "../assets/css/custom-styles.css" # - "/assets/css/custom-styles.css"
# If you have common JavaScript files that should be included in every page, list them here # If you have common JavaScript files that should be included in every page, list them here
#site-js: #site-js:
# - "../assets/js/custom-script.js" # - "/assets/js/custom-script.js"
################################# #################################
# --- Web Analytics Section --- # # --- Web Analytics Section --- #
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
{% include matomo.html %} {% include matomo.html %}
{% if page.comments and site.staticman.repository and site.staticman.branch %} {% if page.comments and site.staticman.repository and site.staticman.branch %}
<link rel="stylesheet" href="{{ "../assets/css/staticman.css" | relative_url }}"> <link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
{% endif %} {% endif %}
{% if page.head-extra %} {% if page.head-extra %}
......
...@@ -78,6 +78,6 @@ ...@@ -78,6 +78,6 @@
document.write('<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></scr' + 'ipt>'); document.write('<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></scr' + 'ipt>');
} }
</script> </script>
<script src="{{ "../assets/js/staticman.js" | relative_url }}"></script> <script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
</div> </div>
{% endif %} {% endif %}
--- ---
common-css: common-css:
- "../assets/css/bootstrap-social.css" - "/assets/css/bootstrap-social.css"
- "../assets/css/beautifuljekyll.css" - "/assets/css/beautifuljekyll.css"
common-ext-css: common-ext-css:
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" - href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
...@@ -16,7 +16,7 @@ common-ext-js: ...@@ -16,7 +16,7 @@ common-ext-js:
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" - href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
common-js: common-js:
- "../assets/js/beautifuljekyll.js" - "/assets/js/beautifuljekyll.js"
--- ---
<!DOCTYPE html> <!DOCTYPE html>
......
--- ---
common-css: common-css:
- "../assets/css/beautifuljekyll-minimal.css" - "/assets/css/beautifuljekyll-minimal.css"
common-ext-css: common-ext-css:
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" - href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
......
...@@ -29,11 +29,11 @@ Here's a table: ...@@ -29,11 +29,11 @@ Here's a table:
How about a yummy crepe? How about a yummy crepe?
![Crepe](https://beautifuljekyll.com../assets/img/crepe.jpg) ![Crepe](https://beautifuljekyll.com/assets/img/crepe.jpg)
It can also be centered! It can also be centered!
![Crepe](https://beautifuljekyll.com../assets/img/crepe.jpg){: .mx-auto.d-block :} ![Crepe](https://beautifuljekyll.com/assets/img/crepe.jpg){: .mx-auto.d-block :}
Here's a code chunk: Here's a code chunk:
...@@ -84,8 +84,8 @@ You can add notification, warning and error boxes like this: ...@@ -84,8 +84,8 @@ You can add notification, warning and error boxes like this:
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). To demonstrate the issue, the following local image will be broken **if your site is a project site:** When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). To demonstrate the issue, the following local image will be broken **if your site is a project site:**
![Crepe](../assets/img/crepe.jpg) ![Crepe](/assets/img/crepe.jpg)
If the above image is broken, then you'll need to follow the instructions [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). Here is proof that it can be fixed: If the above image is broken, then you'll need to follow the instructions [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). Here is proof that it can be fixed:
![Crepe]({{ '../assets/img/crepe.jpg' | relative_url }}) ![Crepe]({{ '/assets/img/crepe.jpg' | relative_url }})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment