René's URL Explorer Experiment


Title: More control over export · Issue #376 · pattern-lab/patternlab-php · GitHub

Open Graph Title: More control over export · Issue #376 · pattern-lab/patternlab-php

X Title: More control over export · Issue #376 · pattern-lab/patternlab-php

Description: (Not sure which repo to put this, @dmolsen & @bmuenzenmeyer, so I'm putting it here for now.) I'm running into something that I think could be handled at a lower level. Whenever I run php core/console --export, a few files that I'm only ...

Open Graph Description: (Not sure which repo to put this, @dmolsen & @bmuenzenmeyer, so I'm putting it here for now.) I'm running into something that I think could be handled at a lower level. Whenever I run php core/cons...

X Description: (Not sure which repo to put this, @dmolsen & @bmuenzenmeyer, so I'm putting it here for now.) I'm running into something that I think could be handled at a lower level. Whenever I run p...

Opengraph URL: https://github.com/pattern-lab/patternlab-php/issues/376

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More control over export ","articleBody":"(Not sure which repo to put this, @dmolsen & @bmuenzenmeyer, so I'm putting it here for now.)\n\nI'm running into something that I think could be handled at a lower level. Whenever I run `php core/console --export`, a few files that I'm only using with Pattern Lab (such as `pattern-scaffolding.css`) are still referenced in the head of my documented.\n\nI think it would be great if we could wrap these files in a conditional so that when export runs, it switches the conditional off, keeping PL-specific files out of the exported files. For example, `_00-head.mustache` could look something like this:\n\n```\n\u003chtml>\n\u003chead>\n\u003cmeta charset=\"UTF-8\">\n\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\u003clink rel=\"stylesheet\" href=\"../../css/styles.css?{{ cacheBuster }}\" media=\"all\" />\n\n{{# patternLabOnly }}\n\n\u003clink rel=\"stylesheet\" href=\"../../css/pattern-scaffolding.css?{{ cacheBuster }}\" media=\"all\" />\n\n\u003cscript src=\"//localhost:35729/livereload.js\">\u003c/script>\n\n\u003c!-- Other stuff I want to include only in PL but not in my exported code -->\n\n{{/ patternLabOnly }}\n\u003c/head>\n\u003c/html>\n```\n\nThe same conditional could also be applied in `_01-foot.mustache`, or better yet, could be applied in any pattern within `source/_patterns`. This would give people flexibility to do what they need to do within the PL shell, but strip everything out when it gets exported for production.\n","author":{"url":"https://github.com/bradfrost","@type":"Person","name":"bradfrost"},"datePublished":"2016-09-28T19:31:30Z","url":"https://github.com/pattern-lab/patternlab-php/issues/376"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:42bc7a31-78f7-c7a7-997e-b302383a0c50
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id923E:BACA4:2066225:2A0DF08:6AFFE1D0
html-safe-nonced71a37d39d682998b4cbcab0e1032ce432e2192daa666c6580e37b4ca1e90914
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNFOkJBQ0E0OjIwNjYyMjU6MkEwREYwODo2QUZGRTFEMCIsInZpc2l0b3JfaWQiOiI1MTc0NTkyMDM2MTI4NDE2MjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac229f004fe73c109d6909fd04ed9c13bdc81b0446c810eadf5855d3e47fefae6d
hovercard-subject-tagissue:179866079
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pattern-lab/patternlab-php/376/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8190d647ff07c25ffc136ce019668f333da1e628fb7f4d363e99391c30b5525b/pattern-lab/patternlab-php/issues/376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8190d647ff07c25ffc136ce019668f333da1e628fb7f4d363e99391c30b5525b/pattern-lab/patternlab-php/issues/376
og:image:alt(Not sure which repo to put this, @dmolsen & @bmuenzenmeyer, so I'm putting it here for now.) I'm running into something that I think could be handled at a lower level. Whenever I run php core/cons...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebradfrost
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-preview
go-importgithub.com/pattern-lab/patternlab-php git https://github.com/pattern-lab/patternlab-php.git
octolytics-dimension-user_id4733935
octolytics-dimension-user_loginpattern-lab
octolytics-dimension-repository_id10777493
octolytics-dimension-repository_nwopattern-lab/patternlab-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10777493
octolytics-dimension-repository_network_root_nwopattern-lab/patternlab-php
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/pattern-lab/patternlab-php/issues/376#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpattern-lab%2Fpatternlab-php%2Fissues%2F376
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpattern-lab%2Fpatternlab-php%2Fissues%2F376
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pattern-lab%2Fpatternlab-php
Reloadhttps://github.com/pattern-lab/patternlab-php/issues/376
Reloadhttps://github.com/pattern-lab/patternlab-php/issues/376
Reloadhttps://github.com/pattern-lab/patternlab-php/issues/376
pattern-labhttps://github.com/pattern-lab
patternlab-phphttps://github.com/pattern-lab/patternlab-php
Codehttps://github.com/pattern-lab/patternlab-php
Issues27 (27)https://github.com/pattern-lab/patternlab-php/issues
Pull requestshttps://github.com/pattern-lab/patternlab-php/pulls
Actionshttps://github.com/pattern-lab/patternlab-php/actions
Projectshttps://github.com/pattern-lab/patternlab-php/projects
Wikihttps://github.com/pattern-lab/patternlab-php/wiki
Security and qualityhttps://github.com/pattern-lab/patternlab-php/security
Insightshttps://github.com/pattern-lab/patternlab-php/insights
https://github.com/pattern-lab/patternlab-php
More control over export https://github.com/pattern-lab/patternlab-php/issues/376#top
enhancementhttps://github.com/pattern-lab/patternlab-php/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/bradfrost
bradfrosthttps://github.com/bradfrost
on Sep 28, 2016https://github.com/pattern-lab/patternlab-php/issues/376#issue-179866079
@dmolsenhttps://github.com/dmolsen
@bmuenzenmeyerhttps://github.com/bmuenzenmeyer
bradfrosthttps://github.com/bradfrost
enhancementhttps://github.com/pattern-lab/patternlab-php/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Sep 28, 2016https://github.com/pattern-lab/patternlab-php/issues/376#event-805978042
Sign up for freehttps://github.com/signup?return_to=https://github.com/pattern-lab/patternlab-php/issues/376
Sign in to commenthttps://github.com/login?return_to=https://github.com/pattern-lab/patternlab-php/issues/376
enhancementhttps://github.com/pattern-lab/patternlab-php/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.