hexo | A fast simple & powerful blog framework | Blog library
kandi X-RAY | hexo Summary
kandi X-RAY | hexo Summary
A fast, simple & powerful blog framework, powered by Node.js. Website | Documentation | Installation Guide | Contribution Guide | Code of Conduct | API | Twitter.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Opens a graph page
- Process a post
- List sorting function
- List the archives in a page
- replace backtick to backtick
- List the list of tags
- Parses supplied arguments
- Process a page .
- Generate new path for new posts .
- Create a C string from a string
hexo Key Features
hexo Examples and Code Snippets
hexo new page --path about/me/index "About me"
---
title: About me
date: 2019-04-04 23:51:44
---
Usage: hexo new [layout]
</code></pre>
hexo new page --
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
image: ruby:2.3
pages:
stage: deploy
script:
- gem install
new_post_name: :lang/:title.md
permalink: :lang/:title/
hexo new "Hello World" --lang tw
<% page.posts.each(function(post) { %>
<% if (post.lang === ('tw')) { %>
<%- pa
Community Discussions
Trending Discussions on hexo
QUESTION
I encountered a problem when configuring Nginx routing on a static blog page.
I think I should have made a low-level mistake, but I can’t do anything about it and hope to get help here.
First of all, I have two projects, both of them are static pages. One is for the homepage to display welcome messages, and the other is for blog-related items. They are located under different file directories:
The homepage in /home/deng/www
...ANSWER
Answered 2021-Sep-07 at 13:35By searching for information on the Internet, I successfully solved this problem. Let me share with you now.
I mainly refer to this website:https://www.jianshu.com/p/62acf17b1710
Modified the default configuration file of hexo _config.yml
QUESTION
I want to deploy hexo to github page:https://chenjuexu.github.io/
But it did not work like below:
$ hexo generate FATAL YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (107:18)
104 | deploy: 105 | type: git 106 | repo:https://github.com/chenjuexu/chenjuexu.gi ... 107 | branch:gh-pages ...ANSWER
Answered 2021-Jun-14 at 02:43Just cancel it because its version updated
QUESTION
I have a github.io blog which can display very well before. But recently when I added a new articles and pushed it to github(by "hexo generate" and "hexo deploy"), I found that there isn't any contet words on my blog. In github blog repository ((https://github.com/zwdnet/zwdnet.github.io) I can see the pages pushed successfully. And when I check the blog's source code in my brower, I can see the newest article. My blog url is: https://zwdnet.github.io/ It is a Chinese blog. I can visit other github.io blogs, so maybe this is not the network problem. How can I solve this problem? Reseting the github pages? Thanks for any helping!
...ANSWER
Answered 2021-Mar-29 at 00:33After opening your website, according to the console errors. Your blog is missing the JQuery $
library.
Check the header part of your code, add in a JQuery link will fix this problem.
Add this in the header tag.
QUESTION
Gitea Repo
I have a WPF C# Application with a ListView
and there inside is a GridView
.
ANSWER
Answered 2021-Mar-13 at 09:50Your original CommandParameter
binding does not work because a ContextMenu
is not part of the same visual tree as the control it is associated with and the ancestor type is wrong (ListBox
instead of ListView
). The original binding below translates to find the first parent of type ListBox
, get its SelectedItem
and assign it as CommandParameter
.
QUESTION
I'd like to decrease the font size of my h1 text in one instance — one line on my index page. This one line, two words of text, is the only instance of h1 on the index page (section id "writing" in index.ejs). This is a Hexo website (Node.js) — css in Stylus.
What is the best way to make an exception to the h1 font size?
Is it acceptable to "cheat" and directly modify the h1 tag in the relevant html, or should I add another class to h1 in the style sheet? In either case, what vocabulary should I use when searching for how to do so?
_extend.styl
...ANSWER
Answered 2021-Mar-05 at 06:27Simply add a class to the H1 you want to modify, then you can reutilize it across your project to maintain a standard.
QUESTION
There is some white space between header-main and main-footer. I would prefer to either color them as the rest of the website or remove them completely. Basically, I dont care about the space as long as it has the same color as the rest of the website #fefcf5.
Hope this edited version works better thank you
...ANSWER
Answered 2021-Feb-11 at 13:16Try this in your code, on class .archive
instead of margin
replace to padding
.
QUESTION
hexo d
INFO Validating config
INFO Deploying: git
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
...ANSWER
Answered 2021-Feb-08 at 13:38Run :
QUESTION
I'm trying to receive stock data for about 1000 stocks, to speed up the process I'm using multiprocessing, unfortunately due to the large amount of stock data I'm trying to receive python as a whole just crashes.
Is there a way to use multiprocessing without python crashing, I understand it would still take some time to do all of the 1000 stocks, but all I need is to do this process as fast as possible.
...ANSWER
Answered 2021-Jan-31 at 19:18Ok, here is one way to obtain what you want in about 2min. Some tickers are bad, that's why it crashes.
Here's the code. I use joblib for threading or multiprocess since it doesn't work in my env. But, that's the spirit.
QUESTION
I am trying to do a portfolio analysis of my trading and trying to calculate the adjusted cost base price. I have tried almost everything but nothing seems to work. I am able to calculate the adjusted quantity but not able to get the adjusted buy price Could anyone please help?
Here is the Sample trade log raw data
...ANSWER
Answered 2020-Aug-28 at 04:51If you don't calculate the adjusted price for the sale, as you would comment, then you can process the sale line as NA and fill it in with the immediately preceding value of the same stock. As a confirmation in your code, do you not need to consider the same stock when calculating the 'Adjusted Quantity' at the beginning?
QUESTION
Noob here. I want to build a personal blog using Hexo with theme next, but I met some problems (no problems with other themes, e.g. landscape). I typed hexo s -g
Cmd line returns
ANSWER
Answered 2020-Oct-08 at 15:50I also met this problem tonight.
And I solved this problem by using the version 8.0.0
$ git clone --branch v8.0.0 https://github.com/next-theme/hexo-theme-next themes/next
You can see the full instruction in this page:
https://theme-next.js.org/docs/getting-started/installation.html
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hexo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page