Skip to content

Commit 8c688af

Browse files
author
Houssein Djirdeh
committed
add ga analytics and fix safari flex issue
2 parents dae4480 + c6efe0c commit 8c688af

File tree

6 files changed

+832
-3
lines changed

6 files changed

+832
-3
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
title: GitPoint
1717
1818
description: > # this means to ignore newlines until "baseurl:"
19-
GitHub for iOS
19+
GitHub in your pocket. GitPoint is a feature-rich unofficial GitHub iOS client that is 100% free.
2020
baseurl: "" # the subpath of your site, e.g. /blog
2121
url: "https://gitpoint.co" # the base hostname & protocol for your site, e.g. http://example.com
2222
twitter_username: "@hdjirdeh"

_includes/head.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,35 @@
55

66
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
77
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8+
<meta name="theme-color" content="#eef2f5">
9+
10+
<!-- Schema.org markup for Google+ -->
11+
<meta itemprop="name" content="{{ site.title }}">
12+
<meta itemprop="description" content="{{ site.description }}">
13+
<meta itemprop="image" content="{{ site.url }}/assets/images/market.png">
14+
15+
<!-- Twitter Card data -->
16+
<meta name="twitter:card" content="summary_large_image">
17+
<meta name="twitter:site" content="{{ site.twitter_username }}">
18+
<meta name="twitter:title" content="{{ site.title }}">
19+
<meta name="twitter:description" content="{{ site.description }}">
20+
<meta name="twitter:creator" content="{{ site.twitter_username }}">
21+
<!-- Twitter summary card with large image must be at least 280x150px -->
22+
<meta name="twitter:image" content="{{ site.url }}/assets/images/market.png">
23+
<meta name="twitter:image:alt" content="{{ site.description }}">
24+
25+
<!-- Open Graph data -->
26+
<meta property="og:title" content="{{ site.title }}" />
27+
<meta property="og:type" content="website" />
28+
<meta property="og:url" content="{{ site.url }}" />
29+
<meta property="og:image" content="{{ site.url }}/assets/images/market.png" />
30+
<meta property="og:description" content="{{ site.description }}" />
31+
<meta property="fb:admins" content="1518546144" />
832

933
<link rel="stylesheet" href="{{ "/assets/styles/main.css" | relative_url }}">
1034
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
1135
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ " /feed.xml
1236
" | relative_url }}"> {% if jekyll.environment == 'production' and site.google_analytics %} {% include google-analytics.html %} {% endif %}
1337
<link rel="manifest" href="/assets/manifest.json">
14-
<link rel="icon" href="{{ "/assets/favicon.ico" | relative_url }}">
38+
<link rel="icon" href="{{ " /assets/favicon.ico " | relative_url }}">
1539
</head>

_layouts/home.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,33 @@ <h2 class="f3 f2-m f2-l fw7 dark-gray mb2">
2424
</div>
2525
</div>
2626

27+
<div class="db dn-ns">
28+
<article class="h6-l bt b--black-10 dark-gray lh-copy-ns ph2 ph5-m pv4 pv5-ns karla bg-secondary">
29+
<div class="flex flex-column flex-row-l justify-center center">
30+
31+
<div class="flex h-inherit items-center w-third-l mr7-l tc tl-l">
32+
<div class="flex flex-column">
33+
<h2 class="f3 f2-m f2-l fw6 dark-gray mb2">
34+
What is GitPoint?
35+
</h2>
36+
37+
<p class="f6 f4-ns gray lh-copy mw7 mb5">
38+
View repository and user information, control your notifications and even manage your issues and pull requests. GitPoint
39+
is the most feature-rich unofficial GitHub iOS client that is 100% free.
40+
</p>
41+
</div>
42+
</div>
43+
44+
<div class="fl-l">
45+
<div class="flex h-100 items-center justify-center">
46+
<img class="grow mw5" src="/assets/images/profile-screen-side.png" alt="GitPoint Profile Screen">
47+
</div>
48+
</div>
49+
50+
</div>
51+
</article>
52+
</div>
53+
2754
<article class="h6-l bt b--black-10 dark-gray lh-copy-ns ph2 ph5-m pv4 pv5-ns karla bg-primary">
2855
<div class="flex flex-column flex-row-l justify-center center">
2956

assets/images/market.png

257 KB
Loading

0 commit comments

Comments
 (0)