René's URL Explorer Experiment


Title: Customize templates using EJS exclusively. · Issue #233 · sourcejs/Source · GitHub

Open Graph Title: Customize templates using EJS exclusively. · Issue #233 · sourcejs/Source

X Title: Customize templates using EJS exclusively. · Issue #233 · sourcejs/Source

Description: In Core we should try to unify where templates are and how they can be overridden. Currently this is how a user must override the 'Navigation markup' (at least according to the docs): module.exports = { core: { ... }, assets: { ... modul...

Open Graph Description: In Core we should try to unify where templates are and how they can be overridden. Currently this is how a user must override the 'Navigation markup' (at least according to the docs): module.export...

X Description: In Core we should try to unify where templates are and how they can be overridden. Currently this is how a user must override the 'Navigation markup' (at least according to the docs): modul...

Opengraph URL: https://github.com/sourcejs/Source/issues/233

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Customize templates using EJS exclusively.","articleBody":"In Core we should try to unify where templates are and how they can be overridden.\n\nCurrently this is how a user must override the 'Navigation markup' (at least according to the docs):\n\n``` js\nmodule.exports = {\n  core: { ... },\n  assets: {\n    ...\n    moduleOptions: {\n      globalNav: {\n        templates: {\n          catalogHeader: _.template('\u003ch2 class=\"custom-class\"><%= catalogMeta.title %>\u003c/h2>'),\n        }\n      }\n    }\n  }\n}\n```\n\nIt should be a possible to just drop a .ejs file in some folder.\n\nThis brings me to the second example where we should unify our interface:\n\n`/core/views/` contain .ejs files\n`/assets/templates/` contain .html files (with ejs bindings)\n\nI suggest we move all html-like files to a folder named `/core/templates/`.\n\nWe can group certain templates together, for example all _page-templates_ can go into `/core/templates/page/`. etc.\n","author":{"url":"https://github.com/ndelangen","@type":"Person","name":"ndelangen"},"datePublished":"2016-06-16T12:12:23Z","url":"https://github.com/sourcejs/Source/issues/233"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fedbb170-1a07-5028-bda5-be390f8a612a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id808A:AE1F3:8674CF:BCE7B3:6AFB6DCC
html-safe-nonce6c846e31ebc56cc0b1477d9088060101e61464be17e916968cd2b7119e691e0f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDhBOkFFMUYzOjg2NzRDRjpCQ0U3QjM6NkFGQjZEQ0MiLCJ2aXNpdG9yX2lkIjoiODk5NTQ0MzM4MTI5MDg4ODY1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace0c546718bf716b31b79fe97670ccd3a609802c2a87b109e2216038782549b0d
hovercard-subject-tagissue:160646646
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/sourcejs/Source/233/issue_layout
twitter:imagehttps://opengraph.githubassets.com/55a08376c16d5b36936754f37d485e0664b56ea79b6eaaf974be64f9f697a35e/sourcejs/Source/issues/233
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/55a08376c16d5b36936754f37d485e0664b56ea79b6eaaf974be64f9f697a35e/sourcejs/Source/issues/233
og:image:altIn Core we should try to unify where templates are and how they can be overridden. Currently this is how a user must override the 'Navigation markup' (at least according to the docs): module.export...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamendelangen
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
go-importgithub.com/sourcejs/Source git https://github.com/sourcejs/Source.git
octolytics-dimension-user_id3853046
octolytics-dimension-user_loginsourcejs
octolytics-dimension-repository_id9578262
octolytics-dimension-repository_nwosourcejs/Source
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9578262
octolytics-dimension-repository_network_root_nwosourcejs/Source
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
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/sourcejs/Source/issues/233#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcejs%2FSource%2Fissues%2F233
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%2Fsourcejs%2FSource%2Fissues%2F233
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=sourcejs%2FSource
Reloadhttps://github.com/sourcejs/Source/issues/233
Reloadhttps://github.com/sourcejs/Source/issues/233
Reloadhttps://github.com/sourcejs/Source/issues/233
sourcejshttps://github.com/sourcejs
Sourcehttps://github.com/sourcejs/Source
Codehttps://github.com/sourcejs/Source
Issues51 (51)https://github.com/sourcejs/Source/issues
Pull requestshttps://github.com/sourcejs/Source/pulls
Actionshttps://github.com/sourcejs/Source/actions
Projectshttps://github.com/sourcejs/Source/projects
Wikihttps://github.com/sourcejs/Source/wiki
Security and qualityhttps://github.com/sourcejs/Source/security
Insightshttps://github.com/sourcejs/Source/pulse
https://github.com/sourcejs/Source
New issuehttps://github.com/login?return_to=https://github.com/sourcejs/Source/issues/233
New issuehttps://github.com/login?return_to=https://github.com/sourcejs/Source/issues/233
Customize templates using EJS exclusively.https://github.com/sourcejs/Source/issues/233#top
0.7.0https://github.com/sourcejs/Source/milestone/7
https://github.com/ndelangen
ndelangenhttps://github.com/ndelangen
on Jun 16, 2016https://github.com/sourcejs/Source/issues/233#issue-160646646
https://github.com/robhrt7
robhrt7https://github.com/robhrt7
on Jun 18, 2016https://github.com/sourcejs/Source/issues/233#issuecomment-226950081
https://github.com/ndelangen
ndelangenhttps://github.com/ndelangen
on Jun 19, 2016https://github.com/sourcejs/Source/issues/233#issuecomment-226986889
https://github.com/robhrt7
robhrt7https://github.com/robhrt7
on Jun 19, 2016https://github.com/sourcejs/Source/issues/233#issuecomment-226987849
robhrt7https://github.com/robhrt7
0.7.0https://github.com/sourcejs/Source/milestone/7
on Jun 19, 2016https://github.com/sourcejs/Source/issues/233#event-696912888
Sign up for freehttps://github.com/signup?return_to=https://github.com/sourcejs/Source/issues/233
Sign in to commenthttps://github.com/login?return_to=https://github.com/sourcejs/Source/issues/233
0.7.0No due datehttps://github.com/sourcejs/Source/milestone/7
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.