completejavascript / gatsby-blog-template Goto Github PK
View Code? Open in Web Editor NEW✍️ A GatsbyJS Blog Template for blogging purposes.
Home Page: https://gb-template.netlify.app/
License: MIT License
✍️ A GatsbyJS Blog Template for blogging purposes.
Home Page: https://gb-template.netlify.app/
License: MIT License
Hi, I'm still problem added disqus comment component, to my website live, can you checkout my problem?
here my domain: https://topidesta-dev.me/ and build in https://topidesta.netlify.app/
and this is my repo: [email protected]:topidesta/topidesta.git
any help is appreciate welcome.
Thanks.
Hello author, how to remove slug /blog
eg: from /blog/page/2 to /page/2
Hello author! at blog, cat and tag, how to remove number 1?
Hi Sir,
do you have plan, added years filter in right menu?
Are you plan add netlify-cms as backend for creating content/post ?
How do I show more posts on the homepage, for example featured posts like on your blog?
Hi sir, I just added Giscus App for commentar plugin with react using Giscus Component but, when i'm click load, it's blank page, it's show error like below.
https://reactjs.org/docs/error-decoder.html/?invariant=130&args[]=undefined&args[]=
this is my component
// File: GiscusKomentar.jsx
import React, { Component } from 'react'
import { Giscus } from '@giscus/react';
class GiscusKomentar extends Component {
constructor(props) {
super(props)
this.state = {
toasts: [],
}
}
render() {
const { postNode } = this.props
const post = postNode.frontmatter
return (
<>
<h1>{post.title}</h1>
<Giscus
id="comments"
repo="topidesta/topidesta"
repoId="MDEwOlJlcG9zaXRvcnkyMDA1ODIyNTk="
category="Comments"
categoryId="DIC_kwDOC_Skc84CAQVo"
mapping="url"
term="Selamat datang di topidesta Blogs"
reactionsEnabled="1"
emitMetadata="0"
inputPosition="top"
theme="light_protanopia"
lang="en"
/>
</>
)
}
}
export default GiscusKomentar
===================
// File: Comment.jsx
import React, { Component } from "react";
import GiscusKomen from "./GiscusKomentar";
class Comment extends Component {
state = {
isShow: !this.props.lazyload,
};
handleClick = () => {
this.setState((prevState) => ({
isShow: !prevState.isShow,
}));
};
render() {
const { extraClass, postNode, btnLoadComments } = this.props;
return (
<div className={`comment-container text-center ${extraClass}`}>
{!this.state.isShow && (
<button className="btn-primary" onClick={this.handleClick}>
{btnLoadComments}
</button>
)}
{this.state.isShow && <GiscusKomen postNode={postNode} />}
</div>
);
}
}
export default Comment;
am i wrong code please?
Thanks sir.
Hello man, after tried some hours and failed, I would like to know how to reduce the padding in all the sections between the header and the body
Regards
Not able to use other icons from fontawesome inSiteConfig.js
file. The below config does not work.
socialLinks: [
{
label: "Instagram",
url: "https://www.instagram.com/",
iconClassName: "fab instagram"
}
],
Where are you initializing all the icons?
Before i updated this template, i can refference my page to others page, but, now it's call twice the pages, any updated, where i must do thats?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.