Comments (7)
Hey @bhuwan1998 and sorry for the late reply!
Hm, good question. I think it might be possible to customize the blog post page by shadowing the following file: https://github.com/konstantinmuenster/gatsby-theme-portfolio-minimal/blob/main/gatsby-theme-portfolio-minimal/src/templates/Article/index.tsx
We use this as a template when generating blog post pages dynamically upon build.
Hope it helps!
from gatsby-starter-portfolio-minimal-theme.
Hi @konstantinmuenster, just a small follow up question regarding the blog. Is it possible to get page total count of page views from google analytics. As a junior developer I just wanted some advice.
from gatsby-starter-portfolio-minimal-theme.
Hi @konstantinmuenster, just a small follow up question regarding the blog. Is it possible to get page total count of page views from google analytics. As a junior developer I just wanted some advice.
Usually, these get tracked automatically in Google Analytics since each post has a distinct page and hence page view. So there's no need to do anything special on the theme-side.
from gatsby-starter-portfolio-minimal-theme.
Sorry @konstantinmuenster I meant I want to display the page count at the bottom to show total views on a blog post.
from gatsby-starter-portfolio-minimal-theme.
ah, I see. For that, you'd need to edit the template file that I referenced earlier. Either you store the page count value in a database or you are able to retrieve the count from the Google API directly (not sure about the latter).
from gatsby-starter-portfolio-minimal-theme.
I think there's a library I researched that is basically an API used to get data from Google analytics. But anyway I need to change the footer by shadowing the blog page. So I guess you've put me on the correct path. Thanks 👍
from gatsby-starter-portfolio-minimal-theme.
Having a little trouble shadowing the Article.tsx because of styles.module.css import. Every other import not from the module itself has been shadowed in the directory. So I found out that it may be because of the tsconfig.json. So initially I had just shadowed the styles.module.css to change the look of the articles in terms of colours. Do you have any advice how to fix this ?
from gatsby-starter-portfolio-minimal-theme.
Related Issues (20)
- Medium feed / Articles section does not work HOT 1
- Images in blog posts HOT 5
- How do i add custom social media button with icon and link ? HOT 4
- Gatsby Cloud deployment fails
- Upgrade to Gatsby 5 HOT 2
- How to edit the blog section? HOT 1
- MarkdownRemark HOT 4
- How do we edit the Social Profile links in the bottom of the hero section? HOT 1
- Infinite Landing Animation Loop when deleting "image" property on interests.json HOT 1
- Can i use mermaid gatsby-plugin in this theme? HOT 2
- How can I opt out of privacy/imprint pages? HOT 2
- Removing blogSettings from gatsby-config.js to disable blog functionality causes errors preventing gatsby build HOT 3
- Comment section for blog HOT 3
- When using gatsby's own gatsby plyugin google analytics GraphQL queries are affected HOT 9
- Changing the size of the images in blog post HOT 5
- Addition of other social profiles HOT 4
- "Github" capitalization on buttons should be corrected to "GitHub" in npm module HOT 1
- Make projects images clickable HOT 2
- Making Your Website Shareable on LinkedIn HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-portfolio-minimal-theme.