Add meta descriptions for mempool and liquid
This commit is contained in:
@@ -34,6 +34,7 @@ export class ChannelPreviewComponent implements OnInit {
|
||||
this.openGraphService.waitFor('channel-data-' + this.shortId);
|
||||
this.error = null;
|
||||
this.seoService.setTitle(`Channel: ${params.get('short_id')}`);
|
||||
this.seoService.setDescription($localize`:@@meta.description.lightning.channel:Overview for Lightning channel ${params.get('short_id')}. See channel capacity, the Lightning nodes involved, related on-chain transactions, and more.`);
|
||||
return this.lightningApiService.getChannel$(params.get('short_id'))
|
||||
.pipe(
|
||||
tap((data) => {
|
||||
|
||||
@@ -35,6 +35,7 @@ export class ChannelComponent implements OnInit {
|
||||
.pipe(
|
||||
tap((value) => {
|
||||
this.seoService.setTitle($localize`Channel: ${value.short_id}`);
|
||||
this.seoService.setDescription($localize`:@@meta.description.lightning.channel:Overview for Lightning channel ${value.short_id}. See channel capacity, the Lightning nodes involved, related on-chain transactions, and more.`);
|
||||
}),
|
||||
catchError((err) => {
|
||||
this.error = err;
|
||||
|
||||
Reference in New Issue
Block a user