mirror of
https://github.com/dragonlock2/dragonlock2.github.io.git
synced 2025-10-11 12:07:56 +00:00
add analytics
This commit is contained in:
parent
e032a187f0
commit
d9c4a3c017
@ -14,11 +14,17 @@ permalink: /:year/:month/:title/
|
||||
show_excerpts: true
|
||||
|
||||
remote_theme: "mmistakes/minimal-mistakes@4.24.0"
|
||||
minimal_mistakes_skin: dirt
|
||||
minimal_mistakes_skin: dark
|
||||
plugins:
|
||||
- jekyll-include-cache
|
||||
- jekyll-feed
|
||||
|
||||
analytics:
|
||||
provider: "google-gtag"
|
||||
google:
|
||||
tracking_id: "G-WH7WNE01V5"
|
||||
anonymize_ip: false # default
|
||||
|
||||
author:
|
||||
name: "Matthew Tran"
|
||||
avatar: "/assets/img/bio.jpg"
|
||||
|
@ -27,7 +27,9 @@
|
||||
{% include page__meta.html type=include.type %}
|
||||
{% if include.type == "list" and teaser %}
|
||||
<div class="archive__item-teaser">
|
||||
<a href="{{ post.url | relative_url }}" rel="permalink">
|
||||
<img style="max-height: 15vh; width: auto; height: auto" src="{{ teaser | relative_url }}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||
|
29
_sass/minimal-mistakes/skins/_dark.scss
Normal file
29
_sass/minimal-mistakes/skins/_dark.scss
Normal file
@ -0,0 +1,29 @@
|
||||
/* ==========================================================================
|
||||
Dark skin, modified slightly
|
||||
========================================================================== */
|
||||
|
||||
/* Colors */
|
||||
$background-color: #252a34 !default;
|
||||
$text-color: #eaeaea !default;
|
||||
$primary-color: #eaeaea !default;
|
||||
$border-color: mix(#fff, $background-color, 20%) !default;
|
||||
$code-background-color: mix(#000, $background-color, 15%) !default;
|
||||
$code-background-color-dark: mix(#000, $background-color, 20%) !default;
|
||||
$form-background-color: mix(#000, $background-color, 15%) !default;
|
||||
$footer-background-color: mix(#000, $background-color, 30%) !default;
|
||||
$link-color: mix($primary-color, $text-color, 40%) !default;
|
||||
$link-color-hover: mix(#000, $link-color, 25%) !default;
|
||||
$masthead-link-color: $text-color !default;
|
||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||
|
||||
.author__urls.social-icons i,
|
||||
.author__urls.social-icons .svg-inline--fa,
|
||||
.page__footer-follow .social-icons i,
|
||||
.page__footer-follow .social-icons .svg-inline--fa {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.ais-search-box .ais-search-box--input {
|
||||
background-color: $form-background-color;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user