|
8 | 8 | <title>{{ site.title }} {{ site.year }} | {{ site.subtitle }}</title> |
9 | 9 | {% endif %} |
10 | 10 |
|
11 | | - <!-- Meta -------------------------- --> |
12 | | - <meta property="fb:app_id" content="1750803431730303" /> |
13 | | - <meta name="twitter:card" content="summary_large_image" /> |
14 | | - <meta name="twitter:site" content="@DojoConJapan" /> |
| 11 | + <!-- OGP for Social Services --> |
| 12 | + <meta property="fb:admins" content="715330868"> |
| 13 | + <meta property="fb:app_id" content="805184859580207"> |
| 14 | + <meta name="twitter:card" content="summary" /> |
| 15 | + <!--<meta name="twitter:site" content="@??????" />--> |
15 | 16 | {% if page.title %} |
16 | 17 | <meta name="twitter:title" content="{{ page.title | strip_html }} | {{ site.title }} {{ site.year }}" /> |
17 | 18 | <meta property="og:title" content="{{ page.title | strip_html }} | {{ site.title }} {{ site.year }}" /> |
|
24 | 25 | <meta name="twitter:image" content="{{ site.url }}{{ page.thumbnail }}" /> |
25 | 26 | <meta property="og:image" content="{{ site.url }}{{ page.thumbnail }}" /> |
26 | 27 | {% else %} |
27 | | - <meta name="twitter:image" content="{{ site.url }}/img/ogp/ogp.jpg" /> |
28 | | - <meta property="og:image" content="{{ site.url }}/img/ogp/ogp.jpg" /> |
| 28 | + <meta name="twitter:image" content="{{ site.url }}/img/ogp.jpg" /> |
| 29 | + <meta property="og:image" content="{{ site.url }}/img/ogp.jpg" /> |
29 | 30 | {% endif %} |
30 | 31 |
|
31 | 32 | {% if page.url != "/" %} |
|
34 | 35 | <meta property="og:type" content="website" /> |
35 | 36 | {% endif %} |
36 | 37 |
|
37 | | - <meta property="og:url" content="{{ site.url }}{{ page.url }}" /> |
38 | 38 | {% if page.description %} |
39 | 39 | <meta property="og:description" content="{{ page.description | strip_html | escape }}" /> |
40 | 40 | <meta name="twitter:description" content="{{ page.description | strip_html | escape }}" /> |
|
45 | 45 | <meta name="description" content="{{ site.description | strip_html | escape }}" /> |
46 | 46 | {% endif %} |
47 | 47 |
|
48 | | - <!-- Google Analytics -------------------------- --> |
| 48 | + <!-- Google Analytics and Tag Manager (gtag.js) only in Production--> |
49 | 49 | {% if jekyll.environment == 'production' %} |
50 | | - {% include google-analytics.html %} |
| 50 | + <!-- TODO: Set gtag.js when it gets ready. |
| 51 | + <script async src="https://www.googletagmanager.com/gtag/js?id=G-0123456789"></script> |
| 52 | + <script> |
| 53 | + window.dataLayer = window.dataLayer || []; |
| 54 | + function gtag(){dataLayer.push(arguments);} |
| 55 | + gtag('js', new Date()); |
| 56 | +
|
| 57 | + gtag('config', 'G-0123456789'); |
| 58 | + </script> |
| 59 | + --> |
51 | 60 | {% endif %} |
52 | 61 |
|
53 | 62 | <!-- Favicon -------------------------- --> |
54 | | - <link rel="icon" href="/img/favicon/favicon.svg" sizes="any" type="image/svg+xml"> |
55 | | - <link rel="icon" href="/img/favicon/favicon.webp" sizes="512" type="image/webp"> |
56 | | - <link rel="apple-touch-icon" href="/img/favicon/apple-touch-icon.png"> <!-- 192x192px --> |
57 | | - <!-- favicon.ico をルートディレクトリにそっと置く。しかしheadには書かない。 --> |
| 63 | + <link rel="icon" href="/img/coderdojo.svg" sizes="any" type="image/svg+xml"> |
| 64 | + <link rel="icon" href="/img/coderdojo.webp" sizes="512" type="image/webp"> |
| 65 | + <link rel="apple-touch-icon" href="/img/apple-touch-icon.png"> <!-- 192x192px --> |
| 66 | + <!-- MEMO: デフォルト用に favicon.ico をルートディレクトリにも置く: /favicon.ico --> |
58 | 67 |
|
59 | 68 | <!-- CSS Framework -------------------------- --> |
60 | 69 | <!-- Font Awasome https://fontawesome.com/ --> |
|
63 | 72 | <script src=" https://cdn.jsdelivr.net/npm/@tailwindcss/[email protected]" integrity=" sha512-M4ecs0CyhBq7W0PeumwMxVaA9pWbhuD4mCqGTe7/357R8/avaeGSJAtk2dYCgFrZyWvjq1Sju0Wcyf2jnP941Q==" crossorigin=" anonymous" referrerpolicy=" no-referrer" ></script> |
64 | 73 |
|
65 | 74 | <!-- CSS -------------------------- --> |
66 | | - <!-- DojoCon CSS --> |
67 | | - <link rel="stylesheet" href="/css/main.css?3ba454d" /> |
| 75 | + <link rel="stylesheet" href='/css/main.css?v={{ "now" | date: "%Y-%m-%d_%H-%M-%S" }}' /> |
| 76 | + <style type="text/css"> |
| 77 | + @import"https://fonts.googleapis.com/css2?family=Space+Mono&display=swap"; |
| 78 | + html { scroll-behavior:smooth } |
| 79 | + body { |
| 80 | + font-family:"Roboto","Noto Sans JP",sans-serif; |
| 81 | + margin:0; |
| 82 | + text-align:center; |
| 83 | + color:#046; |
| 84 | + padding-top:60px; |
| 85 | + } |
| 86 | + .container { |
| 87 | + text-align: center; |
| 88 | + font-size: 4vw; |
| 89 | + font-family: 'Space Mono'; |
| 90 | + } |
| 91 | + |
| 92 | + .cursor::after{ |
| 93 | + content:"_"; |
| 94 | + animation: blink 1s infinite |
| 95 | + } |
| 96 | + @keyframes blink{ |
| 97 | + 0% { opacity:0 } |
| 98 | + 50% { opacity:0 } |
| 99 | + 51% { opacity:1 } |
| 100 | + 100% { opacity:1 } |
| 101 | + } |
| 102 | + </style> |
68 | 103 | </head> |
0 commit comments