diff options
author | Nate <nathancday@gmail.com> | 2018-05-19 20:14:43 +0300 |
---|---|---|
committer | Nate <nathancday@gmail.com> | 2018-05-19 20:14:43 +0300 |
commit | b40f99cbab12b70b676730f326a9f453e57a816f (patch) | |
tree | bc3cbcb064c71cf70ef69d648c8beacb47ea6e70 | |
parent | a735ad4d22ca02ad6a5d6481ea1066d145b5058c (diff) |
favicons and logos
-rw-r--r-- | exampleSite/config.toml | 6 | ||||
-rw-r--r-- | layouts/index.html | 6 | ||||
-rw-r--r-- | layouts/partials/header.html | 15 | ||||
-rw-r--r-- | static/css/main.css | 2 | ||||
-rw-r--r-- | static/img/favicon/android-chrome-192x192.png | bin | 0 -> 15496 bytes | |||
-rw-r--r-- | static/img/favicon/android-chrome-512x512.png | bin | 0 -> 60967 bytes | |||
-rw-r--r-- | static/img/favicon/apple-touch-icon.png | bin | 0 -> 11588 bytes | |||
-rw-r--r-- | static/img/favicon/browserconfig.xml | 9 | ||||
-rw-r--r-- | static/img/favicon/favicon-16x16.png | bin | 0 -> 1064 bytes | |||
-rw-r--r-- | static/img/favicon/favicon-32x32.png | bin | 0 -> 2104 bytes | |||
-rw-r--r-- | static/img/favicon/favicon.ico | bin | 0 -> 15086 bytes | |||
-rw-r--r-- | static/img/favicon/mstile-150x150.png | bin | 0 -> 9667 bytes | |||
-rw-r--r-- | static/img/favicon/safari-pinned-tab.svg | 105 | ||||
-rw-r--r-- | static/img/favicon/site.webmanifest | 19 | ||||
-rw-r--r-- | static/img/profile.png | bin | 77394 -> 0 bytes |
15 files changed, 148 insertions, 14 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d9bbb93..430da43 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,15 +13,15 @@ ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "public/"] [params] author = "Nate Day" description = "An easy reading Hugo blog with night-mode." + logo = "favicon/android-chrome-192x192.png" + twitterAuthor = "@natedayta" githubUsername = "nathancday" accent = "#386890" # dark colors do best - showBorder = true backgroundColor = "#f5f5f5" font = "Mina" # should match the name on Google Fonts! highlight = true highlightStyle = "lakeside-light" # make this match accent - highlightLanguages = ["r", "go"] - avatar = "profile.png" + highlightLanguages = ["r", "bash", "go"] # adjust these as you see fit [[menu.main]] diff --git a/layouts/index.html b/layouts/index.html index 70e33f7..2209b7b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,12 +5,12 @@ <div class="intro"> <div class="avatar"> - <img class="img-circle" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}" alt="Responsive image"> + <img class="img-responsive" src="{{ .Site.BaseURL }}img/{{ .Site.Params.logo }}" alt="Whoopsies, this is my bad side!" style = "margin: 0 auto;"> </div> - <h2>Hi my name is min_night.</h2> + <h2>Hi my name is Min Night.</h2> <div style = "width: 75%; margin: 0 auto;"> - <h3>I am easy reading blog, with night-mode.</h3> + <h3>And I'm an easy on the eyes Hugo blog theme.</h3> <h4>I customize easy and love pull requests.</h4> </div> </div> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c1f6a8e..9332413 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -22,13 +22,14 @@ {{ end }} <!-- Favicons - https://realfavicongenerator.net/ --> - <link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png"> - <link rel="manifest" href="/images/favicon/manifest.json"> - <link rel="mask-icon" href="/images/favicon/safari-pinned-tab.svg" color="#006264"> - <link rel="shortcut icon" href="/images/favicon/favicon.ico"> - <meta name="msapplication-config" content="/images/favicon/browserconfig.xml"> + <link rel="apple-touch-icon" sizes="180x180" href="/static/img/favicon/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/static/img/favicon/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/static/img/favicon/favicon-16x16.png"> + <link rel="manifest" href="/static/img/favicon/site.webmanifest"> + <link rel="mask-icon" href="/static/img/favicon/safari-pinned-tab.svg" color="#000000"> + <link rel="shortcut icon" href="/static/img/favicon/favicon.ico"> + <meta name="msapplication-TileColor" content="#2b5797"> + <meta name="msapplication-config" content="/static/img/favicon/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> <!-- Twitter Cards - https://xvrdm.github.io/2017/10/23/socialize-your-blogdown/ --> diff --git a/static/css/main.css b/static/css/main.css index f17a459..b1f1f12 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -133,7 +133,7 @@ footer { border-top: #e7e7e7 solid; border-top-width: 1px; color: #fff; - border-bottom: var(--border-width) solid #f8f8f8; + /* border-bottom: var(--border-width) solid #f8f8f8; */ } footer a { color: #cccccc; diff --git a/static/img/favicon/android-chrome-192x192.png b/static/img/favicon/android-chrome-192x192.png Binary files differnew file mode 100644 index 0000000..ff54bfb --- /dev/null +++ b/static/img/favicon/android-chrome-192x192.png diff --git a/static/img/favicon/android-chrome-512x512.png b/static/img/favicon/android-chrome-512x512.png Binary files differnew file mode 100644 index 0000000..2a747a6 --- /dev/null +++ b/static/img/favicon/android-chrome-512x512.png diff --git a/static/img/favicon/apple-touch-icon.png b/static/img/favicon/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000..301b4b8 --- /dev/null +++ b/static/img/favicon/apple-touch-icon.png diff --git a/static/img/favicon/browserconfig.xml b/static/img/favicon/browserconfig.xml new file mode 100644 index 0000000..88aed23 --- /dev/null +++ b/static/img/favicon/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/static/img/favicon/mstile-150x150.png"/> + <TileColor>#2b5797</TileColor> + </tile> + </msapplication> +</browserconfig> diff --git a/static/img/favicon/favicon-16x16.png b/static/img/favicon/favicon-16x16.png Binary files differnew file mode 100644 index 0000000..c4309bd --- /dev/null +++ b/static/img/favicon/favicon-16x16.png diff --git a/static/img/favicon/favicon-32x32.png b/static/img/favicon/favicon-32x32.png Binary files differnew file mode 100644 index 0000000..e4fcd26 --- /dev/null +++ b/static/img/favicon/favicon-32x32.png diff --git a/static/img/favicon/favicon.ico b/static/img/favicon/favicon.ico Binary files differnew file mode 100644 index 0000000..ef7a33a --- /dev/null +++ b/static/img/favicon/favicon.ico diff --git a/static/img/favicon/mstile-150x150.png b/static/img/favicon/mstile-150x150.png Binary files differnew file mode 100644 index 0000000..0a090c9 --- /dev/null +++ b/static/img/favicon/mstile-150x150.png diff --git a/static/img/favicon/safari-pinned-tab.svg b/static/img/favicon/safari-pinned-tab.svg new file mode 100644 index 0000000..688fd26 --- /dev/null +++ b/static/img/favicon/safari-pinned-tab.svg @@ -0,0 +1,105 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg version="1.0" xmlns="http://www.w3.org/2000/svg" + width="600.000000pt" height="600.000000pt" viewBox="0 0 600.000000 600.000000" + preserveAspectRatio="xMidYMid meet"> +<metadata> +Created by potrace 1.11, written by Peter Selinger 2001-2013 +</metadata> +<g transform="translate(0.000000,600.000000) scale(0.100000,-0.100000)" +fill="#000000" stroke="none"> +<path d="M1752 5152 l-1242 -717 2 -1440 3 -1439 1242 -717 1243 -717 1242 +717 1243 717 2 1440 3 1439 -1244 718 c-684 394 -1245 717 -1247 717 -2 0 +-563 -323 -1247 -718z m66 -781 c9 -5 12 -24 10 -52 l-3 -44 -52 -3 -53 -3 0 +49 c0 27 3 52 7 55 9 10 75 8 91 -2z m1852 -16 c5 -14 7 -38 4 -55 -6 -28 -9 +-30 -55 -30 l-49 0 0 48 c0 27 3 52 7 55 3 4 24 7 45 7 32 0 40 -4 48 -25z +m780 -110 c0 -122 8 -161 23 -120 10 25 83 55 135 55 58 0 106 -28 136 -80 19 +-31 21 -55 24 -227 l4 -193 -51 0 -51 0 0 170 c0 219 -9 240 -99 240 -44 0 +-75 -20 -98 -63 -14 -25 -18 -66 -21 -189 l-4 -158 -44 0 -44 0 0 350 0 350 +45 0 45 0 0 -135z m633 -77 l62 -3 0 -35 0 -35 -63 -3 -63 -3 3 -155 c3 -142 +5 -157 23 -171 14 -10 33 -13 61 -9 40 5 42 4 48 -26 3 -18 2 -36 -4 -42 -17 +-17 -133 -13 -163 7 -56 36 -62 57 -66 234 l-3 163 -35 0 c-25 0 -34 4 -31 14 +2 8 39 54 83 102 l80 88 3 -62 3 -61 62 -3z m-3865 -8 c17 -11 32 -23 32 -27 +0 -5 4 -14 9 -22 8 -12 14 -9 35 16 35 42 75 56 141 51 40 -3 62 -11 81 -29 +48 -44 54 -73 54 -279 l0 -190 -45 0 -45 0 0 153 c0 165 -9 224 -36 244 -30 +22 -90 16 -121 -11 l-28 -24 -3 -181 -3 -181 -50 0 -49 0 0 170 c0 197 -9 234 +-59 245 -37 8 -77 -10 -105 -48 -19 -26 -21 -45 -24 -198 l-4 -169 -49 0 -49 +0 0 245 0 245 45 0 45 0 0 -36 0 -37 22 28 c43 55 144 73 206 35z m1103 -3 +c64 -42 73 -78 74 -287 l0 -185 -47 -3 -48 -3 0 158 c0 225 -11 253 -100 253 +-32 0 -48 -6 -70 -28 -40 -41 -50 -88 -50 -244 l0 -138 -45 0 -45 0 0 245 0 +245 40 0 c35 0 40 -3 40 -23 0 -34 11 -40 34 -18 60 56 157 68 217 28z m1019 +5 c23 -11 43 -33 58 -62 20 -41 22 -57 22 -232 l0 -188 -44 0 -44 0 -4 173 +c-5 215 -13 237 -94 237 -27 0 -51 -7 -69 -22 -47 -36 -55 -73 -55 -238 l0 +-150 -50 0 -50 0 0 245 0 245 45 0 45 0 0 -37 0 -37 33 31 c17 18 43 36 57 42 +40 16 112 13 150 -7z m767 -2 c39 -17 46 -18 78 -5 69 29 107 10 90 -45 -5 +-16 -15 -20 -47 -20 -33 0 -39 -3 -34 -16 26 -67 17 -121 -27 -171 -43 -49 +-86 -65 -165 -62 -57 2 -67 0 -84 -20 -22 -28 -22 -35 -2 -55 11 -12 36 -16 +99 -16 173 0 238 -35 239 -129 1 -75 -55 -137 -146 -162 -67 -18 -192 -13 +-243 10 -81 36 -97 125 -34 192 26 28 28 34 15 48 -34 39 -27 109 14 146 19 +18 19 18 -9 51 -73 83 -39 211 69 258 49 21 136 20 187 -4z m-2269 -232 l-3 +-243 -47 -3 -48 -3 0 205 0 206 -30 0 c-28 0 -30 2 -30 40 l0 40 80 0 80 0 -2 +-242z m1842 -3 l0 -245 -45 0 -45 0 0 205 0 205 -30 0 c-23 0 -31 5 -36 25 +-12 48 -1 55 81 55 l75 0 0 -245z m-742 -292 l3 -33 -240 0 -241 0 0 35 0 35 +238 -2 237 -3 3 -32z m653 -495 c22 -24 55 -63 72 -88 17 -25 34 -47 38 -50 9 +-7 94 -186 108 -229 6 -18 8 -37 5 -42 -3 -5 -1 -9 5 -9 5 0 10 -8 9 -17 0 +-10 3 -27 6 -38 25 -87 29 -127 28 -260 0 -128 -4 -164 -26 -247 -33 -125 -90 +-256 -151 -349 -57 -85 -187 -220 -234 -240 -17 -8 -31 -16 -31 -19 0 -9 -132 +-70 -185 -86 -223 -67 -479 -29 -652 96 -37 28 -71 50 -74 50 -4 0 -9 7 -13 +15 -7 19 -1 19 18 -1 9 -8 16 -11 16 -5 0 6 9 11 20 11 11 0 20 -5 20 -11 0 +-7 10 -5 25 5 14 10 34 14 45 11 10 -3 21 -1 25 5 3 5 1 10 -5 10 -6 0 -8 5 +-5 10 4 6 10 8 14 5 13 -7 48 28 43 43 -2 7 0 11 5 10 5 -2 22 9 38 24 30 28 +49 29 38 2 -3 -9 -9 -11 -12 -6 -4 6 -11 4 -18 -4 -19 -20 1 -26 33 -9 16 8 +24 15 17 15 -21 0 -7 35 16 38 19 3 22 8 17 30 -5 18 -4 22 3 13 5 -7 13 -11 +19 -7 6 3 13 0 15 -6 3 -8 6 -5 6 6 1 12 6 16 16 12 9 -3 15 0 15 10 0 9 -5 +13 -12 9 -7 -4 2 7 20 24 18 17 27 31 20 32 -7 0 -1 5 15 11 16 6 27 17 27 29 +0 13 5 17 16 12 14 -5 15 -3 4 17 -7 12 -7 20 -2 16 6 -3 17 3 25 14 7 11 17 +17 20 13 4 -3 7 -1 7 6 0 7 5 9 12 5 7 -5 8 -3 3 6 -4 7 -4 15 1 19 5 3 17 20 +26 36 14 24 23 30 48 27 16 -1 30 3 30 9 0 5 -4 8 -9 5 -5 -3 -11 0 -14 8 -6 +14 25 30 52 26 7 -1 10 4 6 9 -8 15 4 53 15 46 5 -3 11 -1 15 5 3 5 -1 10 -10 +10 -9 0 -24 -13 -33 -30 -9 -16 -20 -30 -24 -30 -13 0 -10 7 22 53 17 23 32 +52 33 64 1 18 4 20 22 11 18 -10 18 -9 7 5 -10 12 -11 21 -2 36 13 26 22 28 +13 4 -5 -14 2 -11 29 9 33 25 37 26 42 10 2 -9 2 3 0 27 -5 41 -4 43 11 27 18 +-17 30 -22 20 -7 -3 5 -1 12 5 16 15 9 12 25 -5 25 -8 0 -15 5 -15 11 0 5 5 7 +10 4 6 -3 10 -2 10 4 0 5 -5 11 -11 13 -7 2 -4 10 7 18 11 9 15 10 10 3 -4 -7 +-2 -13 3 -13 6 0 11 9 11 20 0 12 8 29 18 40 10 10 26 44 36 75 11 30 25 60 +33 66 7 6 10 15 7 20 -3 5 -1 9 3 9 12 0 15 48 4 54 -5 3 -11 -1 -15 -9 -8 +-22 -25 -18 -19 5 3 11 10 20 17 20 6 0 17 9 24 20 7 12 18 18 25 14 9 -5 9 +-3 0 7 -19 19 -17 45 1 30 18 -15 30 11 13 28 -8 8 -7 14 2 24 10 8 12 8 7 0 +-3 -6 -2 -14 4 -18 6 -4 10 6 10 24 0 18 -5 31 -12 31 -10 0 -10 2 -1 8 8 5 9 +13 3 22 -6 8 -10 22 -10 30 0 12 2 12 9 1 5 -7 11 -9 13 -5 9 15 0 78 -11 82 +-6 2 -9 8 -6 13 4 5 2 25 -4 44 -5 19 -8 35 -6 35 3 0 23 -19 46 -42z m-98 +-323 c-3 -9 -8 -14 -10 -11 -3 3 -2 9 2 15 9 16 15 13 8 -4z m-100 -220 c-3 +-9 -8 -14 -10 -11 -3 3 -2 9 2 15 9 16 15 13 8 -4z m-187 -333 c-18 -16 -18 +-16 -6 6 6 13 14 21 18 18 3 -4 -2 -14 -12 -24z m-52 -77 c3 -8 1 -15 -4 -15 +-6 0 -10 7 -10 15 0 8 2 15 4 15 2 0 6 -7 10 -15z"/> +<path d="M3957 4099 c-28 -16 -49 -74 -41 -115 14 -75 109 -101 165 -45 63 63 +20 171 -68 171 -21 0 -46 -5 -56 -11z"/> +<path d="M3924 3660 c-28 -11 -46 -63 -34 -95 18 -46 146 -58 220 -20 64 33 +64 106 0 119 -45 9 -161 6 -186 -4z"/> +<path d="M3585 2901 c-3 -5 -1 -12 5 -16 5 -3 10 1 10 9 0 18 -6 21 -15 7z"/> +<path d="M3555 2830 c-3 -5 1 -10 9 -10 9 0 16 5 16 10 0 6 -4 10 -9 10 -6 0 +-13 -4 -16 -10z"/> +<path d="M3240 2191 c0 -6 4 -13 10 -16 6 -3 7 1 4 9 -7 18 -14 21 -14 7z"/> +<path d="M3130 2080 c0 -5 7 -7 15 -4 8 4 15 8 15 10 0 2 -7 4 -15 4 -8 0 -15 +-4 -15 -10z"/> +<path d="M3145 2060 c-3 -5 -2 -10 4 -10 5 0 13 5 16 10 3 6 2 10 -4 10 -5 0 +-13 -4 -16 -10z"/> +<path d="M3085 2011 c-3 -5 -2 -12 3 -15 5 -3 9 1 9 9 0 17 -3 19 -12 6z"/> +<path d="M3036 1984 c-6 -15 -4 -15 11 -3 10 7 20 15 22 16 2 2 -3 3 -11 3 -9 +0 -19 -7 -22 -16z"/> +<path d="M3040 1955 c-7 -8 -19 -15 -27 -15 -8 0 -11 -5 -8 -10 3 -6 -4 -14 +-17 -19 -13 -6 -17 -10 -10 -10 6 -1 12 -10 12 -21 0 -11 4 -20 9 -20 4 0 6 +12 3 26 -4 20 -2 25 8 19 9 -5 11 -4 6 3 -4 7 -4 12 1 12 4 0 16 12 26 25 19 +27 17 34 -3 10z"/> +<path d="M2940 1865 c-8 -9 -8 -15 -2 -15 12 0 26 19 19 26 -2 2 -10 -2 -17 +-11z"/> +<path d="M2930 1830 c0 -5 7 -10 15 -10 8 0 15 5 15 10 0 6 -7 10 -15 10 -8 0 +-15 -4 -15 -10z"/> +<path d="M2880 1759 c0 -6 -7 -8 -16 -5 -8 3 -13 2 -9 -3 3 -5 -1 -12 -7 -14 +-10 -4 -10 -6 0 -6 19 -1 52 18 52 29 0 6 -4 10 -10 10 -5 0 -10 -5 -10 -11z"/> +<path d="M2713 1665 c0 -8 4 -12 9 -9 5 3 6 10 3 15 -9 13 -12 11 -12 -6z"/> +<path d="M2605 1610 c-3 -5 -1 -10 4 -10 6 0 11 5 11 10 0 6 -2 10 -4 10 -3 0 +-8 -4 -11 -10z"/> +</g> +</svg> diff --git a/static/img/favicon/site.webmanifest b/static/img/favicon/site.webmanifest new file mode 100644 index 0000000..db3a9ee --- /dev/null +++ b/static/img/favicon/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "min_night", + "short_name": "min_night", + "icons": [ + { + "src": "/static/img/favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/img/favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/static/img/profile.png b/static/img/profile.png Binary files differdeleted file mode 100644 index 6bb02ce..0000000 --- a/static/img/profile.png +++ /dev/null |