-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
📖✨:add shallow-page & deep-page views #1220
📖✨:add shallow-page & deep-page views #1220
Conversation
👷 Deploy Preview for open-inf-is processing.
|
this is in relation to #1184 and should support that page properly; i am thinking that docs should instead extend deep-page layout |
oh dang, looks like another 🔥 approach: 🔗 https://cogitorium.info/2021/04/jekyll-structured-breadcrumbs (and those 🗾 chevrons have me like 😅) |
{%- if page.permalink != '/' -%} | ||
<h1 class="page-heading">{{ page.title }}</h1> | ||
{%- endif -%} | ||
{{ content }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another conditional being page.toc != false
okay, how to preview is one thing i am thinking about… |
anyone else seen the Jekyll Style Guide? 🔗 https://jekyllstyleguide.com
|
c5427e7
to
8c69b01
Compare
✅ Deploy Preview for openinfis ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newly-issued side-convo @ https://github.com/OpenINF/openinf.github.io/issues/1235
_includes/breadcrumbs.html
Outdated
{% if forloop.last %} | ||
/ {{ page.title }} | ||
{% else %} | ||
/ <a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ <a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a> | |
/ <a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a> |
Signed-off-by: OpenINF-bot <[email protected]>
Signed-off-by: OpenINF-bot <[email protected]>
Signed-off-by: OpenINF-bot <[email protected]>
Signed-off-by: OpenINF-bot <[email protected]>
_includes/head.html
Outdated
@@ -1,30 +0,0 @@ | |||
<head> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apologies, that was clearly overkill!
This reverts commit 1a3c92f.
we like this feature, but have no use for the metadata anymore Signed-off-by: OpenINF-bot <[email protected]>
Signed-off-by: OpenINF-bot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a comparison must be made of current-day docs.html
& collections.html
templates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will likely be revisiting these soon!
WIP of adding page & deep-page layouts for integration