Open nicolasdb opened 6 years ago
---
title: "Splash Page"
layout: splash
permalink: /splash-page/
---
title: to overwrite title from _config.yml layout: to choose which layout to use, from /_layouts permalink: to force specific link to use elsewhere
to add a custom link under your profil User, with youtube, facebook, github, and shit.
Just look here >_includes/author-profile.html
and add your new link into >_includes/author-profile-custom-links.html
like this:
\
\
\ Vimeo
\
\
or add into >_includes/author-profile.html
{% if author.vimeo %}
<li>
<a href="https://vimeo.com/{{ author.vimeo }}" itemprop="sameAs">
<i class="fa fa-fw fa-vimeo" aria-hidden="true"></i> Vimeo
</a>
</li>
{% endif %}
This need more testing, should be simply added to the template.
It's working, just need to add a line in _config.yml for vimeo
Bon ok, I failed again, don't know what I mess with... So again From fresh....
Add remote_theme: "mmistakes/minimal-mistakes" to your _config.yml file. Then add jekyll-remote-theme to the plugins (previously gems) array in your _config.yml file like so:
plugins: - jekyll-remote-theme whitelist: - jekyll-remote-theme
# _pages
- scope:
path: "_pages"
type: pages
values:
layout: splash
author_profile: true
ok nice, it's working.
next: change homepage with new index.html. I switch to .md file add "title : Nicolas de Barquin" as yaml value and change the picture with a link in \assets
ha, and also, I change links into the navigation.yml to
# main links
main:
# - title: "Quick-Start Guide"
# url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- title: "About"
url: /about/
- title: "Sample Posts"
url: /year-archive/
# - title: "Sample Collections"
# url: /collection-archive/
# - title: "Sitemap"
# url: /sitemap/
just un# or # what you want to see and adjust link to the permalink use in the "yaml" setting of your page (in /_pages)
getting back on _config.yml
_words_per_minutes? Reading speed, test yours on http://www.readingsoft.com/ ou en français sur https://lecturerapideblog.com/outils/test-vitesse-lecture/_
erreur 404, ha good, it's customizable too, lol
and for posts, just add and tweek
---
title: "Foam cutting"
categories:
- Tuto
tags:
- Post Formats
- readability
- standard
---
before your content.
Proposition d'agenda simple pour OF
xxx | lundi | mardi | mercredi | jeudi | vendredi | samedi | dimanche |
---|---|---|---|---|---|---|---|
matin | nico | nico | nico | ||||
aprem | nico | ||||||
soir |
Adding Main link to other repo, for ex. Lootcrate readme. >_data/navigation.yml
# main links
main:
- title: "Lootcrate"
url: https://nicolasdb.github.io/lootcrate/blob/master/README.md
marche pas, shiiiiiiiit
test to link to lat ghpage test
# main links
main:
- title: "LastOne"
url: https://nicolasdb.github.io/gitMiniBlog
watch to not end url whith "/" it will create an error and the page will not be built
lead for using MD files from other Repo https://stackoverflow.com/questions/33113945/can-jekyll-use-a-config-file-from-a-different-repo
to add another folder for something. Like to add _portfolio
create folder >_portfolio and add this in _config.yml under #defaults
# _portfolio
- scope:
path: "_portfolio"
type: portfolio
values:
layout: single
author_profile: false
share: true
add this too just before #defaults
# Collections
collections:
portfolio:
output: true
permalink: /:collection/:path/
https://mmistakes.github.io/minimal-mistakes/docs/collections/
Ressource https://mmistakes.github.io/minimal-mistakes/docs/layouts/
todo
test d'ajout des posts en lien avec la quête dans portfolio.
Les posts sont listé en bas de page.
https://www.jokecamp.com/blog/listing-jekyll-posts-by-tag/ nope, marche pas
https://stackoverflow.com/questions/17087
ça, ça marche :
### for post in site.tags.openbadge
<ul class="posts">
{% for post in site.tags.openbadge limit: 20 %}
<div class="post_info">
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<span>({{ post.date | date:"%Y-%m-%d" }})</span>
</li>
</div>
{% endfor %}
</ul>
https://stackoverflow.com/questions/17087766/make-a-list-of-posts-with-a-tag-in-markdown-and-jekyll
test sur https://nicolasdb.github.io/portfolio/quest-openbadges/
Bim, j'utilise la même technique pour afficher automatiquement les posts où j'ai besoin d'aide sur la page "how to contribute" :D
Yeah, I'm on fire!
So, I found this one: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/