Add description to index html and seo service
This commit is contained in:
		
							parent
							
								
									b180fe694f
								
							
						
					
					
						commit
						d42a3f74ec
					
				@ -52,6 +52,12 @@ export class SeoService {
 | 
				
			|||||||
    this.resetTitle();
 | 
					    this.resetTitle();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  setDescription(newDescription: string): void {
 | 
				
			||||||
 | 
					    this.metaService.updateTag({ name: 'description', content: newDescription});
 | 
				
			||||||
 | 
					    this.metaService.updateTag({ name: 'twitter:description', content: newDescription});
 | 
				
			||||||
 | 
					    this.metaService.updateTag({ property: 'og:description', content: newDescription});
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  getTitle(): string {
 | 
					  getTitle(): string {
 | 
				
			||||||
    if (this.network === 'testnet')
 | 
					    if (this.network === 'testnet')
 | 
				
			||||||
      return this.baseTitle + ' - Bitcoin Testnet';
 | 
					      return this.baseTitle + ' - Bitcoin Testnet';
 | 
				
			||||||
 | 
				
			|||||||
@ -7,18 +7,18 @@
 | 
				
			|||||||
  <script src="/resources/config.js"></script>
 | 
					  <script src="/resources/config.js"></script>
 | 
				
			||||||
  <base href="/">
 | 
					  <base href="/">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <meta name="description" content="The Mempool Open Source Project® - Explore the full Bitcoin ecosystem.">
 | 
					  <meta name="description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Bisq market prices, trading activity, and more.">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <meta property="og:image" content="https://bisq.markets/resources/bisq/bisq-markets-preview.png" />
 | 
					  <meta property="og:image" content="https://bisq.markets/resources/bisq/bisq-markets-preview.png" />
 | 
				
			||||||
  <meta property="og:image:type" content="image/jpeg" />
 | 
					  <meta property="og:image:type" content="image/jpeg" />
 | 
				
			||||||
 | 
					  <meta property="og:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Bisq market prices, trading activity, and more." />
 | 
				
			||||||
  <meta property="twitter:card" content="summary_large_image">
 | 
					  <meta name="twitter:card" content="summary_large_image">
 | 
				
			||||||
  <meta property="twitter:site" content="https://bisq.markets/">
 | 
					  <meta name="twitter:site" content="https://bisq.markets/">
 | 
				
			||||||
  <meta property="twitter:creator" content="@bisq_network">
 | 
					  <meta name="twitter:creator" content="@bisq_network">
 | 
				
			||||||
  <meta property="twitter:title" content="The Mempool Open Source Project®">
 | 
					  <meta name="twitter:title" content="The Mempool Open Source Project®">
 | 
				
			||||||
  <meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space™" />
 | 
					  <meta name="twitter:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Bisq market prices, trading activity, and more." />
 | 
				
			||||||
  <meta property="twitter:image:src" content="https://bisq.markets/resources/bisq/bisq-markets-preview.png" />
 | 
					  <meta name="twitter:image:src" content="https://bisq.markets/resources/bisq/bisq-markets-preview.png" />
 | 
				
			||||||
  <meta property="twitter:domain" content="bisq.markets">
 | 
					  <meta name="twitter:domain" content="bisq.markets">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
 | 
					  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
 | 
				
			||||||
  <meta name="msapplication-TileColor" content="#000000">
 | 
					  <meta name="msapplication-TileColor" content="#000000">
 | 
				
			||||||
 | 
				
			|||||||
@ -7,18 +7,19 @@
 | 
				
			|||||||
  <script src="/resources/config.js"></script>
 | 
					  <script src="/resources/config.js"></script>
 | 
				
			||||||
  <base href="/">
 | 
					  <base href="/">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <meta name="description" content="The Mempool Open Source Project® - Explore the full Bitcoin ecosystem.">
 | 
					  <meta name="description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Liquid transactions & assets, get network info, and more.">
 | 
				
			||||||
  <meta property="og:image" content="https://liquid.network/resources/liquid/liquid-network-preview.png" />
 | 
					  <meta property="og:image" content="https://liquid.network/resources/liquid/liquid-network-preview.png" />
 | 
				
			||||||
  <meta property="og:image:type" content="image/png" />
 | 
					  <meta property="og:image:type" content="image/png" />
 | 
				
			||||||
  <meta property="og:image:width" content="1000" />
 | 
					  <meta property="og:image:width" content="1000" />
 | 
				
			||||||
  <meta property="og:image:height" content="500" />
 | 
					  <meta property="og:image:height" content="500" />
 | 
				
			||||||
  <meta property="twitter:card" content="summary_large_image">
 | 
					  <meta property="og:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Liquid transactions & assets, get network info, and more." />
 | 
				
			||||||
  <meta property="twitter:site" content="@mempool">
 | 
					  <meta name="twitter:card" content="summary_large_image">
 | 
				
			||||||
  <meta property="twitter:creator" content="@mempool">
 | 
					  <meta name="twitter:site" content="@mempool">
 | 
				
			||||||
  <meta property="twitter:title" content="The Mempool Open Source Project®">
 | 
					  <meta name="twitter:creator" content="@mempool">
 | 
				
			||||||
  <meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space™" />
 | 
					  <meta name="twitter:title" content="The Mempool Open Source Project®">
 | 
				
			||||||
  <meta property="twitter:image:src" content="https://liquid.network/resources/liquid/liquid-network-preview.png" />
 | 
					  <meta name="twitter:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Project™. See Liquid transactions & assets, get network info, and more." />
 | 
				
			||||||
  <meta property="twitter:domain" content="liquid.network">
 | 
					  <meta name="twitter:image:src" content="https://liquid.network/resources/liquid/liquid-network-preview.png" />
 | 
				
			||||||
 | 
					  <meta name="twitter:domain" content="liquid.network">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <link rel="apple-touch-icon" sizes="180x180" href="/resources/liquid/favicons/apple-touch-icon.png">
 | 
					  <link rel="apple-touch-icon" sizes="180x180" href="/resources/liquid/favicons/apple-touch-icon.png">
 | 
				
			||||||
  <link rel="icon" type="image/png" sizes="48x48" href="/resources/liquid/favicons/favicon-48x48.png">
 | 
					  <link rel="icon" type="image/png" sizes="48x48" href="/resources/liquid/favicons/favicon-48x48.png">
 | 
				
			||||||
 | 
				
			|||||||
@ -7,18 +7,19 @@
 | 
				
			|||||||
  <script src="/resources/config.js"></script>
 | 
					  <script src="/resources/config.js"></script>
 | 
				
			||||||
  <base href="/">
 | 
					  <base href="/">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <meta name="description" content="The Mempool Open Source Project® - Explore the full Bitcoin ecosystem." />
 | 
					  <meta name="description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project™. See the real-time status of your transactions, get network info, and more." />
 | 
				
			||||||
  <meta property="og:image" content="https://mempool.space/resources/mempool-space-preview.png" />
 | 
					  <meta property="og:image" content="https://mempool.space/resources/mempool-space-preview.png" />
 | 
				
			||||||
  <meta property="og:image:type" content="image/png" />
 | 
					  <meta property="og:image:type" content="image/png" />
 | 
				
			||||||
  <meta property="og:image:width" content="1000" />
 | 
					  <meta property="og:image:width" content="1000" />
 | 
				
			||||||
  <meta property="og:image:height" content="500" />
 | 
					  <meta property="og:image:height" content="500" />
 | 
				
			||||||
  <meta property="twitter:card" content="summary_large_image">
 | 
					  <meta property="og:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project™. See the real-time status of your transactions, get network info, and more." />
 | 
				
			||||||
  <meta property="twitter:site" content="@mempool">
 | 
					  <meta name="twitter:card" content="summary_large_image">
 | 
				
			||||||
  <meta property="twitter:creator" content="@mempool">
 | 
					  <meta name="twitter:site" content="@mempool">
 | 
				
			||||||
  <meta property="twitter:title" content="The Mempool Open Source Project®">
 | 
					  <meta name="twitter:creator" content="@mempool">
 | 
				
			||||||
  <meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space™" />
 | 
					  <meta name="twitter:title" content="The Mempool Open Source Project®">
 | 
				
			||||||
  <meta property="twitter:image:src" content="https://mempool.space/resources/mempool-space-preview.png" />
 | 
					  <meta name="twitter:description" content="Explore the full Bitcoin ecosystem with The Mempool Open Source Project™. See the real-time status of your transactions, get network info, and more." />
 | 
				
			||||||
  <meta property="twitter:domain" content="mempool.space">
 | 
					  <meta name="twitter:image:src" content="https://mempool.space/resources/mempool-space-preview.png" />
 | 
				
			||||||
 | 
					  <meta name="twitter:domain" content="mempool.space">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <link rel="apple-touch-icon" sizes="180x180" href="/resources/favicons/apple-touch-icon.png">
 | 
					  <link rel="apple-touch-icon" sizes="180x180" href="/resources/favicons/apple-touch-icon.png">
 | 
				
			||||||
  <link rel="icon" type="image/png" sizes="32x32" href="/resources/favicons/favicon-32x32.png">
 | 
					  <link rel="icon" type="image/png" sizes="32x32" href="/resources/favicons/favicon-32x32.png">
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user