build custom metadata from config #4455
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#4455
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "custom-metadata"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Used webpack transform to insert custom metadata into html on compile.
What is the purpose of having two of these files?
The project structure means root for web build is different from root for electron build.
can you check in a symlink? maybe a webpack pre-copy?
1 change and a couple of questions
@ -2,0 +4,4 @@
SITE_CANONICAL_URL,
OG_HOMEPAGE_TITLE,
OG_TITLE_SUFFIX,
OG_IMAGE_URL,
Move this to the very bottom of the file
I think this should be removed from the HTML file (but keep the comment?) now that this exists?
https://github.com/lbryio/lbry-desktop/blob/master/static/index-web.html#L66-L74
This is pretty much the same as the function above. Can they just be combined?
Looks good. Is there any chance this could break web/lat when this is merged?
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
HOMEPAGE_TITLE and DEFAULT_TITLE ?
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
And can we add TITLE_SUFFIX?
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
OG_IMAGE_URL (PATH?)
Provides two ways to have custom og-image: webpack copies og-v2.png from custom, or set OG_IMAGE_URL in .env.
Adds rel=canonical config
Must modify .env on prod (for matomo id) and lbrylatThis is ready.https://lbry.tv/shipit
@ -1,14 +1,38 @@
# Copy this file to .env to make modifications
# Base config
MATOMO_URL=https://analytics.lbry.com/
Move this back down?
@ -12,0 +24,4 @@
OG_HOMEPAGE_TITLE=lbry.tv
OG_IMAGE_URL=
SITE_CANONICAL_URL=https://lbry.tv
# LOCALE
| lbry.tv (possibly put comment that there is no space)