Comments (16)
Could you please clear the cache and try again?
from vuepress-theme-hope.
but the template runs well, see https://github.com/Mister-Hope/vuepress-theme-hope-template/runs/1238745335 for action log.
The sitemap successfully generated in https://mister-hope.github.io/vuepress-theme-hope-template/sitemap.xml
And my theme docs runs well too.
from vuepress-theme-hope.
I tried, but I really cannot reproduce this "bug or maybe not"
from vuepress-theme-hope.
Hi, can you help with your language support? 😄
from vuepress-theme-hope.
Doesn't help. I've tried vuepress build src --no-cache but still doesn't work
The failed job is for meilisearch so ignore it
from vuepress-theme-hope.
I have tried gitlab as well https://loctran016.gitlab.io/present/ but doesn't work. Here is my config
const resolve = require("vuepress-theme-hope/resolve");
module.exports = resolve({
plugins: [
'reading-progress',
'cat-model',
["add-this",
{
pubid: "ra-5f78a77a86505c7f",
},
],
['@vuepress-reco/bgm-player',
{
audios: [
{
name: 'Doraemon No Uta',
artist: 'KUMIKO OUSUGI',
url: 'https://loctran016.gitlab.io/present/music.mp3',
cover: 'https://loctran016.gitlab.io/present/avatar.png',
},
]
}],
],
title: "Presentation",
description: "Các bài thuyết trình của Trần Tấn Lộc",
evergreen: true,
headOption: {
icon: "/favicon.ico",
pwa: {
manifest: "/manifest.json",
themeColor: "#46bd87",
appleStatusBarColor: "black",
appleIcon: "/icon/appleIcon152.png",
msTileImage: "/icon/msIcon144.png",
msTileColor: "#ffffff",
},
},
head: [
["link",
{
rel: "mask-icon",
href: "/icons/safari-pinned-tab.svg",
color: "#46bd87",
},],
[ "script", { src: "https://kit.fontawesome.com/9a2024a1f9.js", crossorigin: "anonymous"},],
],
base: "/present/",
search: false,
themeConfig: {
baseLang: 'en-US',
logo: "/avatar.png",
iconPrefix: "",
nav: [
{
text: 'Cat',
link: '/category/',
icon: 'fas fa-th-large'
},
{
text: 'Tags',
link: '/tag/',
icon: 'fas fa-tag'
},
{
text: 'Contact',
ariaLabel: 'Language Menu',
icon: 'fas fa-user-circle',
items: [
{
text: 'About Us',
link: '/about/intro',
icon: 'fas fa-address-book'
},
{
text: 'GitLab',
link: 'https://gitlab.com/LocTran016',
icon: 'fab fa-gitlab',
},
{
text: 'Github',
link: 'https://github.com/LocTran016',
icon: 'fab fa-github-alt'
},
{
text: 'BitBucket',
link: 'https://bitbucket.org/LocTran016/',
icon: 'fab fa-bitbucket'
},
{
text: 'Facebook',
link: 'https://www.facebook.com/loctran016',
icon: 'fab fa-facebook'
},
{
text: 'Instagram',
link: 'https://www.instagram.com/loctran016/',
icon: 'fab fa-instagram'
},
{
text: 'Reddit',
link: 'https://www.reddit.com/user/Larrytran016',
icon: 'fab fa-reddit'
},
{
text: 'Twitter',
link: 'https://twitter.com/TrnTnLc04864603',
icon: 'fab fa-twitter'
},
{
text: 'Gmail',
link: 'mailto:[email protected]',
icon: 'far fa-envelope'
},
]
},
{
text: 'TimeLine',
link: '/timeline/',
icon: 'fas fa-history fa-spin'
},],
author: "LocTran016",
blog: {
avatar: "/avatar.png",
intro: "/misc/about/",
sidebarDisplay: "mobile",
links: {
},
seo:{
twitterID: "https://twitter.com/TrnTnLc04864603"
},
markdown: {
enableAll: true,
},
comment: {
type: "vssue",
platform: "gitlab",
owner: "LocTran016",
repo: "present",
clientId: "396e9e1a6cfa32611e7710f8676a288c034a3eb2c85836b7e08eed2389ea0a78",
autoCreateIssue: true,
},
copyright: {
status: "global",
},
footer: {
display: true,
copyright: true,
},
hostname: "https://loctran016.github.io/present/",
},},
});
from vuepress-theme-hope.
Well, I have found that the add this, comment(vssue) and sitemap are not working. This is quite strange because I have set all of them correctly (I have used the copy button to get clientID so no way it will be wrong, all others are set correctly as well.
from vuepress-theme-hope.
Perhaps vssue access hostname when in use then clear the value. I will have a look later.
from vuepress-theme-hope.
I clone the vssue repo, and I didnot found any problems.
I don't think there are issues in my code. Maybe you can come to Vssue for help.
By the way, do you find out why gitlab is not working?
from vuepress-theme-hope.
No, For the vssue, it used to working on my another site (different clienID) mean there isn't any problem with vssue. Don't know why there isn't anything wrong with your code and my config, but add this, vssue, sitemap still doesn't working which is really strange. For sharethis, it only working in dev mode (the web opened in the left)
from vuepress-theme-hope.
No, For the vssue, it used to working on my another site (different clienID) mean there isn't any problem with vssue. Don't know why there isn't anything wrong with your code and my config, but add this, vssue, sitemap still doesn't working which is really strange. For sharethis, it only working in dev mode (the web opened in the left)
Sharethis request is blocked by the browser, because github and gitlab will refuse some Cross site Request by setting request headers. They are doing this to prevent from cross site attacks.
Front end cannot set the request headers. To let this work, maybe you should deploy it on your own server with addtional back end support.
from vuepress-theme-hope.
It do seems that vssue is imcopatable with my theme. But there are not bugs in my code, and I do not have time to read through vssue repo to found out what's wrong. So I suggest using valine instead of vssue. Feel free to open new issues if you found new problems.
from vuepress-theme-hope.
By the way, if you want to learn more about add-this plugin problems, search "Cross-domain Request" and “Same-origin Policy” “CSRF” to make a simple view. Then you can understand what's CORS and why this CORS is blocked.
In other words, add-this is incopatable with Github Pages, Gitlab Pages or other static page services because most(I think is all) of their CORS settings will block some request made by add-this script.
from vuepress-theme-hope.
I will evel the code as a work around.
from vuepress-theme-hope.
1.0.0-0 has release and fixed add-this plugin.
from vuepress-theme-hope.
Yes, I will
from vuepress-theme-hope.
Related Issues (20)
- [Feature Request] Remove theme transition
- [Feature Request] 能否把`@mdit/plugin-container`中的`marker`选项添加到`MdEnhance 插件`配置中 HOT 1
- 代码块有没有可能折叠?[Feature Request] HOT 2
- [Bug]设置 必应壁纸 或 一言描述 后,运行 pnpm run docs:dev 报错 HOT 2
- [Bug] The jsonLd argument of SeoOptions is mismatched with the documentation
- [Bug]侧边栏布局问题 HOT 4
- [Bug] ERROR: No loader is configured for ".vue" files HOT 1
- [Feature Request] Can add a function to support one -click configuration summary? HOT 6
- [Feature Request]search-pro在配合全局加密时,search-pro.worker.js会暴露出内容,希望可以加密一下索引。
- 做一个内容容器,类似于提示容器 HOT 3
- [Bug]全屏按钮设置不生效 HOT 1
- [Bug] 评论插件好像坏了 giscus 报 403 HOT 4
- [Feature Request] Support license in frontmatter for copyright2 in theme
- [Bug] navbar can't scroll if window is narrow HOT 1
- [Feature Request] 将 “star” 翻译为 “星标” HOT 2
- [Feature Request] markdown 文件引入 HOT 2
- [Feature Request] Add reading-time2 demo website
- [Feature Request] 添加水印预设
- [Bug] 左上角logo处在无障碍下检测出 图片元素缺少 [alt] 属性 HOT 1
- [Feature Request] 支持通过 props 传入 `<Breadcrumb>` 配置 HOT 4
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 vuepress-theme-hope.