Browse Source

Add SEO tags to all pages

Tyler Hallada 6 years ago
parent
commit
7fb07fa372
4 changed files with 24 additions and 2 deletions
  1. 19 1
      _config.yml
  2. 2 0
      _layouts/default.html
  3. 2 0
      _layouts/home.html
  4. 1 1
      feed.xml

+ 19 - 1
_config.yml

@@ -1,7 +1,24 @@
1
+title: Tyler Hallada
1 2
 name: Tyler Hallada - Blog
2 3
 description: Musings on technology, literature, and interesting topics
3
-url: http://hallada.net/blog
4
+author: thallada
5
+url: http://www.hallada.net/
6
+blog_url: http://www.hallada.net/blog
4 7
 assets: http://hallada.net/assets/
8
+logo: /img/profile_icon_128x128.jpg
9
+social:
10
+    name: Tyler Hallada
11
+    links:
12
+        - https://twitter.com/tyhallada
13
+        - https://www.facebook.com/tyhallada
14
+        - https://www.linkedin.com/in/thallada/
15
+        - https://github.com/thallada
16
+defaults:
17
+    -
18
+        scope:
19
+            path: ""
20
+        values:
21
+            image: /img/profile_icon_128x128.jpg
5 22
 markdown: kramdown
6 23
 kramdown:
7 24
     syntax_highlighter: rouge
@@ -10,4 +27,5 @@ paginate_path: "blog/page:num"
10 27
 gems:
11 28
     - jekyll-redirect-from
12 29
     - jekyll-paginate
30
+    - jekyll-seo-tag
13 31
 include: [".well-known"]

+ 2 - 0
_layouts/default.html

@@ -41,6 +41,8 @@
41 41
 
42 42
     </script>
43 43
     <!-- End Google Analytics -->
44
+
45
+    {% seo %}
44 46
   </head>
45 47
   <body>
46 48
     <div class="container">

+ 2 - 0
_layouts/home.html

@@ -48,6 +48,8 @@
48 48
 
49 49
     </script>
50 50
     <!-- End Google Analytics -->
51
+
52
+    {% seo %}
51 53
   </head>
52 54
   <body>
53 55
   <canvas id="magic"></canvas>

+ 1 - 1
feed.xml

@@ -6,7 +6,7 @@ redirect_from: "/rss"
6 6
 	<channel>
7 7
 		<title>{{ site.name | xml_escape }}</title>
8 8
 		<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>		
9
-		<link>{{ site.url }}</link>
9
+		<link>{{ site.blog_url }}</link>
10 10
 		<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
11 11
 		{% for post in site.posts limit:10 %}
12 12
             {% if post.hidden == null or post.hidden == false %}