result.html 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <script async src="https://cdn.ampproject.org/v0.js"></script>
  6. <title>Your link</title>
  7. <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
  8. <script type="application/ld+json">
  9. {
  10. "@context": "http://schema.org",
  11. "@type": "NewsArticle",
  12. "headline": "Open-source framework for publishing content",
  13. "datePublished": "2015-10-07T12:02:41Z",
  14. "image": [
  15. "logo.jpg"
  16. ]
  17. }
  18. </script>
  19. <link rel="stylesheet" href="https://newcss.net/lite.css">
  20. <link rel="stylesheet" href="https://newcss.net/theme/night.css">
  21. <script>
  22. function copyLink() {
  23. const copyText = document.getElementById("link");
  24. copyText.select();
  25. document.execCommand("copy");
  26. let info = document.getElementById("info");
  27. info.textContent = "Copied!";
  28. }
  29. </script>
  30. </head>
  31. <body>
  32. <input type="text" value="{{.}}" id="link"/>
  33. <button onclick="copyLink()">Copy link</button>
  34. <div id="info"></div>
  35. </body>
  36. </html>