Comments (4)
@maxscience yeah, i like both of those ideas. I'm not sure if by setting it to draft it would be excluded from the build but i can certainly make it so when its set to draft the post wouldn't appear in the posts list. Might have to work out how to excluded it from the data metrics as well though.
from gatsby-theme-gatstats.
Hey @maxscience i've implemented a status
property in release 0.0.54
if you set
status: "draft"
in the frontmatter of any post it will be hidden from the site. The metrics collected to populate the charts also ignore any file with this status. Perhaps you open a new issue for the dataUpdated
property if you still require it?
from gatsby-theme-gatstats.
@PaulieScanlon awesome although ideally draft posts would still be visible when doing gatsby develop for preview reasons.
from gatsby-theme-gatstats.
That sounds like a nice idea but I think the theme would need to be aware of dev / prof environments which would complicate setup for users so I probably wonβt implement this
from gatsby-theme-gatstats.
Related Issues (20)
- Header padding
- Add GoogleAnalytics to demo
- Page jank
- Post footer / prev - next posts
- Dashboard Totals
- Post code snippet formatting
- More metrics in dashboard HOT 4
- Enable embeds in mdx HOT 14
- Add site-wide/posts search
- Embedded Images HOT 19
- SEO image head tags broken HOT 4
- Donut Chart Legend
- Hard coded tweet URL
- Nested anchor <a>
- Storybook - YearChart error HOT 2
- dateUpdated in frontmatter template
- Newsletter option HOT 1
- Side bar scroll bar issue HOT 3
- Dashboard bugs
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-theme-gatstats.