Skip to content

Commit

Permalink
added google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulprathin8 committed Apr 10, 2024
1 parent 045c71d commit 8d8f102
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
NODE_VERSION: "18"
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
TINA_TOKEN: ${{ vars.TINA_TOKEN }}
HUGO_GOOGLEANALYTICS: ${{ secrets.HUGO_GOOGLEANALYTICS }}

jobs:
# Build job
Expand All @@ -32,6 +33,10 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Replace Google Analytics ID
run: |
sed -i 's/\$HUGO_GOOGLEANALYTICS/'"$HUGO_GOOGLEANALYTICS"'/g' hugo.toml
- name: Install Hugo
run: |
curl -LO "https://github.com/gohugoio/hugo/releases/download/v${{ env.HUGO_VERSION }}/hugo_extended_${{ env.HUGO_VERSION }}_Linux-64bit.tar.gz"
Expand Down
Binary file added .idea/copilot/chatSessions/00000000000.xd
Binary file not shown.
Binary file added .idea/copilot/chatSessions/blobs/version
Binary file not shown.
85 changes: 85 additions & 0 deletions .idea/copilot/chatSessions/xd.lck

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 15 additions & 6 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ paginate = 2 # see https://gohugo.io/extras/pagination/
# post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
# google analytics
googleAnalytics = "G-MEASUREMENT_ID" # see https://gohugo.io/templates/internal/#configure-google-analytics
googleAnalytics = "$HUGO_GOOGLEANALYTICS" # see https://gohugo.io/templates/internal/#configure-google-analytics
# disqus short name
disqusShortname = "themefisher-template" # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
# disable language
Expand Down
17 changes: 17 additions & 0 deletions themes/geoweaver/assets/scss/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Error: Can't find stylesheet to import.
* ,
* 19 | @import "search";
* | ^^^^^^^^
* '
* main.scss 19:9 root stylesheet */

body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: "Error: Can't find stylesheet to import.\a \2577 \a 19 \2502 @import \"search\";\a \2502 ^^^^^^^^\a \2575 \a main.scss 19:9 root stylesheet";
}
1 change: 1 addition & 0 deletions themes/geoweaver/assets/scss/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d8f102

Please sign in to comment.