Skip to content
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

Merged
merged 15 commits into from
Mar 29, 2024
Merged

📖✨:add shallow-page & deep-page views #1220

merged 15 commits into from
Mar 29, 2024

Conversation

DerekNonGeneric
Copy link
Member

WIP of adding page & deep-page layouts for integration

Copy link

netlify bot commented Mar 25, 2024

👷 Deploy Preview for open-inf-is processing.

Name Link
🔨 Latest commit b894e0c
🔍 Latest deploy log https://app.netlify.com/sites/open-inf-is/deploys/66024d2551a7e80008921af0

@DerekNonGeneric
Copy link
Member Author

this is in relation to #1184 and should support that page properly; i am thinking that docs should instead extend deep-page layout

@DerekNonGeneric
Copy link
Member Author

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 }}
Copy link
Member Author

@DerekNonGeneric DerekNonGeneric Mar 25, 2024

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

@DerekNonGeneric
Copy link
Member Author

okay, how to preview is one thing i am thinking about…

@DerekNonGeneric DerekNonGeneric changed the title 📖✨:add page & deep-page views 📖✨:add shallow-page & deep-page views Mar 26, 2024
@DerekNonGeneric
Copy link
Member Author

DerekNonGeneric commented Mar 26, 2024

anyone else seen the Jekyll Style Guide?

🔗 https://jekyllstyleguide.com

[…] Jekyll-based tool that you can use to generate and document product or system user interface (UI) patterns in a simple Style Guide.

@DerekNonGeneric DerekNonGeneric added the 🚅 Status: Fast Track PRs that do not need to wait for 48 hours to land label Mar 26, 2024
@DerekNonGeneric DerekNonGeneric force-pushed the live branch 4 times, most recently from c5427e7 to 8c69b01 Compare March 27, 2024 09:33
Copy link

netlify bot commented Mar 27, 2024

Deploy Preview for openinfis ready!

Name Link
🔨 Latest commit 2423d2a
🔍 Latest deploy log https://app.netlify.com/sites/openinfis/deploys/6606365968641c00085562f9
😎 Deploy Preview https://deploy-preview-1220--openinfis.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@OpenINFbot OpenINFbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OpenINF OpenINF deleted a comment from OpenINFbot Mar 28, 2024
@OpenINFbot OpenINFbot added 🌘 P3: Low undefined and removed 🔥 P0: Critical Drop everything labels Mar 29, 2024
{% 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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/ <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>

_layouts/deep-page.html Outdated Show resolved Hide resolved
@@ -1,30 +0,0 @@
<head>
Copy link
Member

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!

DerekNonGeneric and others added 2 commits March 28, 2024 23:31
we like this feature, but have no use for the metadata anymore

Signed-off-by: OpenINF-bot <[email protected]>
_includes/head.html Outdated Show resolved Hide resolved
Signed-off-by: OpenINF-bot <[email protected]>
Copy link
Member

@OpenINFbot OpenINFbot left a 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

Copy link
Member Author

@DerekNonGeneric DerekNonGeneric left a 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!

@OpenINFbot OpenINFbot merged commit 914144d into OpenINF:live Mar 29, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗞️ Category: Blog undefined 💄 Category: CSS/Styling undefined 🚸 Category: User Experience (UX) undefined 🌘 P3: Low undefined 🛄 Status: Claimed Issues that have been claimed to be undertaken by someone 🚅 Status: Fast Track PRs that do not need to wait for 48 hours to land 🚧 Status: Work In Progress (WIP) undefined ✨ Type: Feature undefined
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants