Skip to content

Commit

Permalink
Updated with SEO plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nockawa committed Nov 24, 2023
1 parent 877111c commit ba64b93
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ gem 'wdm', '>= 0.1.0' if Gem.win_platform?
gem "webrick", "~> 1.8"

gem "jekyll-feed", "~> 0.15.1"

gem "jekyll-seo-tag", "~> 2.8"
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
### Site Settings ###
title : Nockawa's Blog
description : >-
Programming and stuffs.
Hello there, I'm Loïc Baumann<br/>
Welcome to my site<br/>
I talk about programming
baseurl : "" # Change to empty quotes if you are hosting your site at <your-username>.github.io directly
repository : nockawa/nockawa.github.io # Change to <your-username>/<your-username>.github.io (or remove it if you don't need remote projects)
remote_theme : YoussefRaafatNasry/portfolYOU
Expand All @@ -12,6 +14,7 @@ open_new_tab : true # Opens external URLs in
plugins:
- jemoji
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap


Expand Down
42 changes: 42 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<head>
{% assign title = page.title | default: site.title | escape %}
{% assign description = page.description | default: site.description | strip_html | strip_newlines | truncate: 160 %}
{% assign image = page.image | default: site.author.image %}

{% if page.name and page.collection == 'projects' %}
{% assign title = page.name | escape %}
{% endif %}

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta property="og:type" content="website">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:image" content="{{ image }}">

<title>{{ title }}</title>
<meta name="description" content="{{ description }}">

<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/favicon.ico' | relative_url }}">

<!-- Theme style -->
<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>

<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">

<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">

<!-- Animate CSS CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">

<!-- SEO tags -->
{% seo %}
</head>

Binary file modified assets/evinrude.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba64b93

Please sign in to comment.