Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
426 commits
Select commit Hold shift + click to select a range
def1c7d
Removed organization ldjson
akshayranganath Jul 6, 2017
fb540c0
Adding category, tags and paginated index pages
akshayranganath Jul 6, 2017
7865fa5
adding more notes on the devops book
Jul 8, 2017
25db48d
Merge branch 'master' of github.com:akshayranganath/akshayranganath.g…
Jul 8, 2017
6d6e1cf
adding more notes on the devops book
Jul 8, 2017
58147f5
Adding a paginated home page
akshayranganath Jul 18, 2017
6b3dfd8
Ading the blog on devops
Jul 19, 2017
d73be1b
Merge branch 'master' of github.com:akshayranganath/akshayranganath.g…
Jul 19, 2017
7a80cef
adding missing image, sitemap
Jul 19, 2017
ae547ac
correcting image name
Jul 19, 2017
40df858
correcting image name
Jul 19, 2017
6bfb379
correcting image name
Jul 19, 2017
e9ddd76
correcting image location
Jul 19, 2017
0a212fe
correcting title
Jul 20, 2017
481c0b0
correcting title
Jul 20, 2017
09e9a5d
correcting title
Jul 20, 2017
f10cb80
Correcting title
Jul 20, 2017
1b63e4a
correcting title
Jul 20, 2017
fb02fdd
adding a redirect target page
Jul 20, 2017
51e7087
optimized images with imageoptim
Jul 21, 2017
9c97c94
adding more notes
Jul 22, 2017
bc30235
adding more comments
Jul 23, 2017
69ac142
adding more comments
Jul 23, 2017
a53173a
removing the /blogs folder
akshayranganath Jul 29, 2017
b618148
Reverting back to default index page
Aug 21, 2017
8983f81
Merge branch 'master' of github.com:akshayranganath/akshayranganath.g…
Aug 21, 2017
b169a1f
adding more comments from the book
Aug 22, 2017
fdcc7dd
adding back index page
Aug 22, 2017
f2a9152
Adding a short post on python logging
Aug 25, 2017
81d096d
Correcting date
Aug 25, 2017
2f2bb5c
Adding the OCSP validation blog
Sep 15, 2017
92e5d32
correcting ocsp post tags
Sep 15, 2017
dfbb130
correcting typos
Sep 18, 2017
a4cb1ff
Adding the blog post on Google AMP
Nov 7, 2017
697c642
Adding the blog post on Google AMP
Nov 7, 2017
c098ddf
Adding the example of BMW's new website
Nov 7, 2017
d30bf78
Adding the example of BMW's new website
Nov 7, 2017
7232cc9
Adding the example of BMW's new website
Nov 7, 2017
43459e8
Increasing sampling to 100%
Nov 8, 2017
f33f841
Adding the notes from DevOps Enterprise Summit 2017 in San Francisco
Nov 16, 2017
4933038
Correcting links
Nov 16, 2017
b8ca509
removed references to http
Nov 16, 2017
e2d9f8c
Adding the logo for the event
Nov 16, 2017
49c34b5
update the analytics tracking details
Nov 17, 2017
9ab23c7
Trying a better excerpt for the blog post
Nov 17, 2017
9615dca
Trying a better excerpt for the blog post
Nov 17, 2017
60d8ca7
Trying a better excerpt for the blog post
Nov 17, 2017
97e0de6
Removed comment from index page, simplified the home page image
Nov 17, 2017
035c681
Adding conditional inclusion for the the page excerpt and image
Nov 17, 2017
b8d4c3a
removed american kingping blog post
Nov 17, 2017
2b62da8
correcting condition
Nov 17, 2017
f52f839
correcting condition
Nov 17, 2017
c631ff4
Pagination at 8 posts
Nov 17, 2017
1cc0475
correcting condition
Nov 17, 2017
371dc1f
correcting condition
Nov 17, 2017
4549b5b
correcting condition
Nov 17, 2017
95e287d
correcting condition
Nov 17, 2017
2ba7bea
Adding a style for the images
Nov 17, 2017
f1cf357
Adding a style for the images
Nov 17, 2017
a0dbd5b
removed the if-else condition
Nov 17, 2017
673cf85
removed the if-else condition
Nov 17, 2017
0b5c137
removed the if-else condition
Nov 17, 2017
0165c1f
removed the if-else condition
Nov 17, 2017
78f5fed
removed the if-else condition
Nov 17, 2017
4cd3c8f
removed the if-else condition
Nov 17, 2017
369675d
added details on second and third way
Nov 30, 2017
0df9328
completing the blog post on devops
Dec 1, 2017
120236a
completing the blog post on devops
Dec 1, 2017
b318dd0
correcting image for devops post
Dec 1, 2017
4e93e16
optimized images
Jan 2, 2018
74ff81e
Adding a font-disply optional flag
Jan 2, 2018
5d0ee10
Adding the quotes from accelerate book
Jan 5, 2018
6b1379f
Adding the quotes from accelerate book
Jan 5, 2018
dbdd4f5
Adding the quotes from accelerate book
Jan 5, 2018
52b09ad
Adding Google websmaster verification page
Jul 9, 2018
c803e56
Adding the Trends in Web Performance blog
Aug 1, 2018
e6bf740
Adding the source for the cartoon
Aug 2, 2018
950453b
Adding the book review for The Perfect Weaopn
Aug 17, 2018
b7a8cdc
changing the API key for mPulse
Aug 30, 2018
02c2111
Adding the mPulse tracking file
Sep 18, 2018
79df5b6
Adding mpulse-akamai.html
Sep 18, 2018
fe90e73
changing the API key
Sep 18, 2018
e8eca23
Adding the new blog on stats with python
Oct 11, 2018
7d55398
Adding a header image
Oct 11, 2018
b878cfc
Updating the dicqus script
Oct 18, 2018
53bb914
Adding the blog about SPA tracking
Dec 21, 2018
df9e54c
Adding a tl;dr;
Dec 21, 2018
da9b81e
Adding the new blog on pandas for log analysis
Feb 13, 2019
8f1e5da
Adding a leading image
Feb 13, 2019
5f77742
Adding a leading image and meta details
Feb 13, 2019
0fa569f
correcting the name of the post article
Feb 13, 2019
edb5dfb
Removed pandas blog
Feb 13, 2019
b9c66e8
Adding the pandas blog
Feb 13, 2019
918f5e7
Correcting the name
Feb 13, 2019
01fd12f
Correcting the name of the post file
Feb 13, 2019
fdae4cb
Correcting the typo and the file name
Feb 18, 2019
769bf18
Adding the blog on RUM APIs
Apr 30, 2019
8ff07c9
Adding the blog on RUM API
May 1, 2019
e9fa978
Correcting the image size
May 1, 2019
5ff2d12
Correcting the image size
May 1, 2019
e729ac5
Correcting the image size
May 1, 2019
b653101
Correcting the image size
May 1, 2019
3a504bd
reducing image size, adding a float
May 1, 2019
3838c09
reducing image size, adding a float
May 1, 2019
cc52452
reducing image size, adding a float
May 1, 2019
26183bc
reducing image size, adding a float
May 1, 2019
63a36e6
reducing image size, adding a float
May 1, 2019
93e249c
adding a conclusion
May 1, 2019
d4a6ff1
Adding the long tasks image
May 1, 2019
d039b66
Updating the sitemap
May 1, 2019
b33a974
Switching from a png to a JPG image
May 21, 2019
a7f156d
Migrating images to cloudinary
Sep 12, 2019
2ccaf66
Updating the profile image
Sep 24, 2019
20f0705
Creating my first blog post on cloudinary
akshay-ranganath Nov 20, 2019
d7a1a22
Adding a hero image banner
akshay-ranganath Nov 20, 2019
a90dfe4
Adding a hero image banner
akshay-ranganath Nov 20, 2019
aac71dd
Correcting image dimensions
akshay-ranganath Nov 20, 2019
dfca67f
Enforcing g_auto and f_auto for all images
akshay-ranganath Nov 20, 2019
e0903b2
Adding Page Speed reports
akshay-ranganath Nov 20, 2019
715f7f4
Spelling corrections
akshay-ranganath Nov 22, 2019
cf6f556
Adding the post on instagram web performance effort
akshay-ranganath Dec 11, 2019
e0cd76b
Adding the monthly roundup on podcast
akshay-ranganath Feb 3, 2020
823237e
Moving image URLs to Cloudinary
akshay-ranganath Feb 3, 2020
2600ba7
Moving image URLs to Cloudinary
akshay-ranganath Feb 3, 2020
8ec6fec
Updating the profile to be a Cloudinary URL
akshay-ranganath Feb 3, 2020
985fb34
Updating the profile to be a Cloudinary URL
akshay-ranganath Feb 3, 2020
d5cd687
Changed the location of publication date
akshay-ranganath Feb 7, 2020
b2372d8
Adding a blog post on google core web vitals
akshay-ranganath Jun 2, 2020
3173e90
correcting the html typo
akshay-ranganath Jun 3, 2020
921727e
Correcting the image link to Cloudinary
akshay-ranganath Jun 11, 2020
6c594f3
Correcting the image link to Cloudinary
akshay-ranganath Jun 11, 2020
9cc73e2
Correcting the image link to Cloudinary
akshay-ranganath Jun 11, 2020
3bcf375
Adding the post on the Year of Living Biblically
akshay-ranganath Jun 17, 2020
ce8ae1c
Correcting the typos and added a few references
akshay-ranganath Jun 17, 2020
1adf2c8
Adding details on supporting HTTP/1.1 servers for OCSP request
akshay-ranganath Jun 19, 2020
dcaae94
Adding details on supporting HTTP/1.1 servers for OCSP request
akshay-ranganath Jun 19, 2020
ae6b6fb
Adding details on supporting HTTP/1.1 servers for OCSP request
akshay-ranganath Jun 19, 2020
93b7193
Adding f_auto,q_auto to the wpt image
akshay-ranganath Feb 9, 2021
3f9d892
Changing the avtaar image
akshay-ranganath Feb 9, 2021
1e67053
Adding the AWS Lambda using SAM blog post
akshay-ranganath Jun 17, 2021
519df7e
Adding the AWS Lambda using SAM blog post
akshay-ranganath Jun 17, 2021
1423860
Changing the default container width to 1080 px
akshay-ranganath Jun 17, 2021
a34ad2b
Disable disqus
akshay-ranganath Jun 17, 2021
73437d6
Adding width parameter to images
akshay-ranganath Jun 17, 2021
d41d78a
Expanding the blog; updating image tag for best practice
akshay-ranganath Jun 17, 2021
08d1db2
removing mPulse
akshay-ranganath Jun 17, 2021
2bf0860
swapping markdown image for hard-coded image tag
akshay-ranganath Jun 17, 2021
c65be0d
correcting the image link
akshay-ranganath Jun 17, 2021
9e81707
adding a blog article on linux terminal commands
akshay-ranganath Aug 3, 2021
f72aba6
Adding the book review for humble pi
akshay-ranganath Aug 16, 2021
5f01a60
Correcting the title
akshay-ranganath Aug 16, 2021
2878135
Added more reference, moved images to Cloudinary
akshay-ranganath Aug 16, 2021
797bb14
Correcting the title
akshay-ranganath Aug 16, 2021
2c2164a
Rate limiting with python
akshay-ranganath Aug 17, 2021
fa93b0c
Rate limiting with python
akshay-ranganath Aug 17, 2021
fd9b7bb
Rate limiting with python
akshay-ranganath Aug 17, 2021
1851e77
Rate limiting with python
akshay-ranganath Aug 17, 2021
8504330
Creating an article about DynamoDB and Python
akshay-ranganath Sep 1, 2021
5872b11
Adding code highlighting
akshay-ranganath Sep 1, 2021
92ac6bf
Correcting typo
akshay-ranganath Sep 1, 2021
8e2bb2b
remove fields not necessary in the python code
akshay-ranganath Sep 1, 2021
8d5dacf
updated to add gotchas
akshay-ranganath Sep 10, 2021
74c3d2f
adding my first sanskrit blog post
akshay-ranganath Nov 2, 2021
e8f7e6d
Adding a blog on Ratha Saptami
akshay-ranganath Feb 10, 2022
7434631
correcting the full stop character
akshay-ranganath Feb 10, 2022
9ab0b89
correcting the full stop character
akshay-ranganath Feb 10, 2022
777e54c
correcting the full stop character
akshay-ranganath Feb 10, 2022
06cd8d2
removing service worker code
akshay-ranganath Feb 10, 2022
67e260f
Updating image references to use private CDN - multi-CDN host names
akshay-ranganath Feb 10, 2022
3572740
Adding the Vedantasaara blog post
akshay-ranganath Mar 31, 2022
6f5d254
Adding the Vedantasaara blog post
akshay-ranganath Mar 31, 2022
2d6b726
Adding the Vedantasaara blog post
akshay-ranganath Mar 31, 2022
62b557a
updated with the table
akshay-ranganath Apr 5, 2022
3695877
updated with the table
akshay-ranganath Apr 5, 2022
4b9e564
Adding a mermaid diagram
akshay-ranganath May 4, 2022
fe418be
adding the mapping for gross bodies
akshay-ranganath May 4, 2022
2ae49c5
adding notes from chapter 3
akshay-ranganath May 6, 2022
6bd1693
Adding notes from chapter 4
akshay-ranganath May 23, 2022
f10ba87
completing the notes for vendatasaara
akshay-ranganath Jun 3, 2022
81c57c5
Starting recording notes for the Bhakti School of Vedanta
akshay-ranganath Jun 17, 2022
4a701f9
Corrected the title
akshay-ranganath Jun 17, 2022
b322bee
Completed the notes and added the right images
akshay-ranganath Jun 17, 2022
734db0d
Creating an article about animated image formats
akshay-ranganath Jul 29, 2022
3276336
corrected image width to 1080
akshay-ranganath Jul 29, 2022
acd7c7d
Corrected link for caniuse.com
akshay-ranganath Jul 29, 2022
8afe980
Simplified links, made corrections in typos
akshay-ranganath Jul 29, 2022
0338828
fix the typo for race image
akshay-ranganath Jul 30, 2022
f268f5d
Renamed a file
akshay-ranganath Aug 3, 2022
f6a1822
Correcting the hero image
akshay-ranganath Aug 3, 2022
9305ecf
Adding the notes from AWS re:Invent conference
akshay-ranganath Dec 8, 2022
6916091
Updated with more event information
akshay-ranganath Dec 8, 2022
f76c555
Added notes for another 2 sessions
akshay-ranganath Dec 8, 2022
da5c1f0
Updated with the details on the other sessions
akshay-ranganath Dec 9, 2022
a85d564
Adding a blog articale on Putting gen AI to work conference
akshay-ranganath Oct 16, 2023
f4cc324
changing image to media optimization
akshay-ranganath Oct 16, 2023
ceee146
Corrected the leading summary
akshay-ranganath Oct 16, 2023
3b328ae
Adding notes from reinvent 2023
akshay-ranganath Dec 4, 2023
63c980a
Updated the logo
akshay-ranganath Dec 4, 2023
f068b0d
added source for 2 images
akshay-ranganath Dec 4, 2023
dc04020
Adding notes from the Snowflake dev days conference
akshay-ranganath Jun 7, 2024
7d3cad8
Created an article on LLMs and their evolution
Jun 25, 2024
164a070
Added corrections and polished the content
Jun 26, 2024
ff74daf
Added a hero image
Jun 26, 2024
8834deb
Adding a blog post on AI and ethics
akshay-ranganath Oct 28, 2024
e5b839f
Adding a hero image
akshay-ranganath Oct 28, 2024
7a575c8
Fixed a typo
akshay-ranganath Oct 28, 2024
28b348b
Adding a link to Andrew NGs article
akshay-ranganath Oct 28, 2024
cff6d75
Initial draft complete
akshay-ranganath Dec 31, 2024
1acc815
incorporate copilot suggestions
akshay-ranganath Dec 31, 2024
2227789
incorporate feedback from claude
akshay-ranganath Dec 31, 2024
e27f9ad
Creating the initial draft
akshay-ranganath Jan 31, 2025
f57766b
Adding corrections made by Claude
akshay-ranganath Jan 31, 2025
38ff0d0
added better line breaks
akshay-ranganath Jan 31, 2025
8800748
added a tag line
akshay-ranganath Jan 31, 2025
7f31871
Adding a blog about the karma yoga
akshay-ranganath Apr 13, 2025
cfd964d
Adding a blog about the karma yoga
akshay-ranganath Apr 13, 2025
de0d276
Made a small change to the markdown layout
akshay-ranganath Apr 15, 2025
16b0f21
Adding a new blog on karma yoga
akshay-ranganath Apr 15, 2025
71904ef
Correcting the periods
akshay-ranganath Apr 15, 2025
e40ab70
Correcting the periods
akshay-ranganath Apr 15, 2025
80cdbab
correcting a spelling'
akshay-ranganath Apr 15, 2025
ae29885
Adding the blow post about crewAI
akshay-ranganath May 24, 2025
96cc4cf
Adding a new article about MCP
akshay-ranganath Jun 9, 2025
0e219b7
Correcting a title
akshay-ranganath Jun 9, 2025
01acc4a
correcting spellings
akshay-ranganath Jun 9, 2025
03d31b6
Correcting the micro-browser header
akshay-ranganath Jun 9, 2025
4b7e365
Corrected the tags
akshay-ranganath Jun 9, 2025
bea7fb2
correcting the story link
akshay-ranganath Jun 9, 2025
b585274
Adding be blog about growth mindset
akshay-ranganath Aug 20, 2025
88f67d4
Fixed a type
akshay-ranganath Aug 20, 2025
74c3a92
Added a moral
akshay-ranganath Aug 20, 2025
a236cd5
Initial draft of cuckoo's egg blog
akshay-ranganath Sep 13, 2025
3edee8d
finalized the draft for cuckoo's egg
akshay-ranganath Sep 13, 2025
ca54c01
Adding the book details and link to amazon
akshay-ranganath Sep 13, 2025
86861a6
storing my OAuth2 notes
akshay-ranganath Sep 17, 2025
d4998b0
fix the video link
akshay-ranganath Sep 19, 2025
9946fe6
Adding an image
akshay-ranganath Sep 19, 2025
2267146
initial draft
akshay-ranganath Nov 25, 2025
15acba5
Adding the blog on LLM pricing arbitrage
akshay-ranganath Nov 25, 2025
a2fd107
Corrected the title
akshay-ranganath Nov 25, 2025
b182fe3
initial draft
akshay-ranganath Dec 25, 2025
057954d
Updated the article
akshay-ranganath Dec 25, 2025
256490f
Adding a glossary
akshay-ranganath Dec 26, 2025
4b05a37
adding the draft for my blog post
akshay-ranganath Jan 27, 2026
959551e
Corrected the article
akshay-ranganath Jan 27, 2026
deb75ae
Merge remote-tracking branch 'upstream/master'
akshay-ranganath Jan 27, 2026
18e6ad7
Adding a new blog about vibe coding
akshay-ranganath Feb 27, 2026
96b09b6
Remove unused static assets under images/ not referenced in the repo.
akshay-ranganath Mar 23, 2026
6e23844
Adding the images for the blog
akshay-ranganath Mar 23, 2026
fc28595
Switching to local reference for images
akshay-ranganath Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 91 additions & 0 deletions 2016-10-18-Basic-Git-Commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
layout: post
title: Basic Git Commands
comment: true
---

In this post, I talk about some of the most common git commands that I use. It is my version of the Git cheat sheet.

## Creating a repository

Initializes an empty repository in the current directory.

git init

## Adding files

Adding the files, either one at a time or all the files

git add *
git add file-name

## Current status of Git

Details on current repository, whether any files needs to be checked in, etc.

git status

## Committing changes

git commit -m "message"

Listing all changes to repository

git log

## Branching information

### List details of the current repository branch.

git branch -a

### Create a new branch
This will create a new branch. If a branch already exists, it simply throws an error.

git checkout -b development

### Switch branch

git checkout development

### Merge a branch
Assuming the user wants to merge "development" to "master", this will work. The __"--no-ff"__ option will

git merge development --no-ff

## Working with tags
### Listing the tags
Lists all the existing tags

git tag

### Creating a simple tag
This will create a tag but have no information about it.

git tag tag1

### Creating an annotated tag
This will add more info when creating the tag.

git tag -a v1 -m "Version 1.0 release"

### Show the details of a tag
This will show the last committed details and the files that are present in a tag.

git show tag1

## Git Pull
Git pull is a bit more complex command. It is used when there are multiple developers but one authorized person responsible to merge the code. In this case, all the develpers make their change and create a __pull__ request. It is like the developer telling the commitor to review and merge the change if it passes the acceptance criteria.

For git pull to work, you will need to do the following:
* Create a branch
* Make changes to the branch
* Add and commit the changes
* Push the change to the remote repository
* Now, request a git pull on the branch name

Suppose the branch created is bug-fix-2001 the command would be:

git pull bug-fix-2001

The code reviewer will be notified and they can take further action.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

63 changes: 52 additions & 11 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,27 @@
#

# Name of your site (displayed in the header)
name: Your Name
name: Akshay Ranganath's Blogs
author: rakshay


#adding twitter details
twitter:
site: Akshay Ranganath's Blogs
username: rakshay

# Short bio or description (displayed in the header)
description: Web Developer from Somewhere
description: Blogs about Media Optimization, Web Performance, SEO and web technology.
tagline: Musings from a Tech Entrepreneur

paginate: 8
paginate_path: '/blog/page:num'

# URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png
avatar: /images/blog/github_profile.jpg


logo: /images/blog/github_profile.jpg
#
# Flags below are optional
#
Expand All @@ -21,27 +34,27 @@ footer-links:
email:
facebook:
flickr:
github: barryclark/jekyll-now
github: akshayranganath
instagram:
linkedin:
linkedin: akshayranganath
pinterest:
rss: # just type anything here for a working RSS icon
twitter: jekyllrb
rss: rss # just type anything here for a working RSS icon
twitter: rakshay
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers"
youtube: # channel/<your_long_string> or user/<user-name>
googleplus: # anything in your profile username that comes after plus.google.com/


# Enter your Disqus shortname (not your username) to enable commenting on posts
# You can find your shortname on the Settings page of your Disqus account
disqus:
# disqus: akshayranganath

# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
google_analytics:
google_analytics: UA-92984102-1

# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
# Used for Sitemap.xml and your RSS feed
url:
url: https://akshayranganath.github.io

# If you're hosting your site at a Project repository on GitHub pages
# (http://yourusername.github.io/repository-name)
Expand Down Expand Up @@ -70,12 +83,15 @@ kramdown:

# Set the Sass partials directory, as we're using @imports
sass:
style: :expanded # You might prefer to minify using :compressed
style: :compressed #:expanded # You might prefer to minify using :compressed

# Use the following plug-ins
gems:
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
- jekyll-feed # Create an Atom feed using the official Jekyll feed gem
- jekyll-seo-tag # Add SEO related tags and JSON-LD
- jekyll-paginate # Adding pagination capability
- jekyll-redirect-from #redirect functionalit

# Exclude these files from your production _site
exclude:
Expand All @@ -84,3 +100,28 @@ exclude:
- LICENSE
- README.md
- CNAME

# inspired by https://github.com/codinfox/codinfox-lanyon
# Adding category and tags support
categories:
type: liquid
path: /categories/
tags:
type: liquid
path: /tags/

nav:
Home:
- '/'
Blog:
- '/blog/'
- { Categories: '/blog/categories/' }
- { Tags: '/blog/tags/' }
About:
- '/about/'
Github Project:
- 'http://akshayranganath.github.io/'

# Where are tags and categories displayed
tag_page: '/blog/tags/'
category_page: '/blog/categories/'
15 changes: 6 additions & 9 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{% if site.google_analytics %}
<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-92984102-1"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview', {
'page': '{{ site.baseurl }}{{ page.url }}',
'title': '{{ page.title | replace: "'", "\\'" }}'
});
gtag('config', 'UA-92984102-1');
</script>
<!-- End Google Analytics -->
{% endif %}
26 changes: 13 additions & 13 deletions _includes/disqus.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{% if site.disqus %}
<div class="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">

var disqus_shortname = '{{ site.disqus }}';

(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<script defer>
<div id="disqus_thread"></div>
var disqus_config = function () {
this.page.url = '{{ site.disqus }}'; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = '{{ site.disqus }}'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://EXAMPLE.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</div>
{% endif %}
19 changes: 5 additions & 14 deletions _includes/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,8 @@
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>

{% if page.excerpt %}
<meta name="description" content="{{ page.excerpt| strip_html }}" />
<meta property="og:description" content="{{ page.excerpt| strip_html }}" />
{% else %}
<meta name="description" content="{{ site.description }}">
<meta property="og:description" content="{{ site.description }}" />
{% endif %}
<meta name="author" content="{{ site.name }}" />

{% if page.title %}
<meta property="og:title" content="{{ page.title }}" />
<meta property="twitter:title" content="{{ page.title }}" />
{% endif %}
<meta name="msvalidate.01" content="815C82C74ED363E419486F6A1DA557B9" />
{% seo title=false %}
<!-- testing the PWA code -->
<link rel="manifest" href="/manifest.json" >
<meta name=theme-color content=#0000ff>
8 changes: 4 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }}</title>

{% include meta.html %}

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<link rel="shortcut icon" href="/images/icon_64.ico">
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" />
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />

Expand Down Expand Up @@ -44,8 +45,7 @@ <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
{% include svg-icons.html %}
</footer>
</div>
</div>

</div>
{% include analytics.html %}
</body>
</html>
13 changes: 12 additions & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
---
layout: default
---
<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Blog",
"name": "{{ site.name }}",
"url": "{{ site.url }}",
"description": "{{ site.desciption }}",
"publisher": {
"@type": "{{ site.name }}",
"name": "{{ site.author }}"
}
}</script>

<article class="page">

Expand All @@ -9,4 +20,4 @@ <h1>{{ page.title }}</h1>
<div class="entry">
{{ content }}
</div>
</article>
</article>
10 changes: 3 additions & 7 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
---
layout: default
---

<article class="post">
<h1>{{ page.title }}</h1>

<div class="entry">
{{ content }}
</div>

<div class="date">
Written on {{ page.date | date: "%B %e, %Y" }}
</div>

<div class="entry">
{{ content }}
</div>
{% include disqus.html %}
</article>
10 changes: 0 additions & 10 deletions _posts/2014-3-3-Hello-World.md

This file was deleted.

Loading