zwbetz-gh / make-a-hugo-blog-from-scratch Goto Github PK
View Code? Open in Web Editor NEWTake a wild guess
Home Page: https://zwbetz.com/make-a-hugo-blog-from-scratch/
License: MIT License
Take a wild guess
Home Page: https://zwbetz.com/make-a-hugo-blog-from-scratch/
License: MIT License
Just to be "perfect" with the whole "blog from scratch" thingy ๐
Go to the settings tab and look for a checkbox to make this a template repo. This will result in no history being created when somebody forks your repo and pull requests in subsequent forks being attributed to the respective fork, not the original repo.
Thank you very much for the tutorial!
I followed each step and was able to recreate the site locally.
However, once I ran hugo
to generate the public
folder,
and opened the index.html
inside the public
folder,
it looked nothing like what I saw on http://localhost:1313
.
All the styles were gone.
Only the texts remained.
The hyperlinks to Blog
and Tags
did not work either.
Is this intended behaviour?
If so, does this mean that I need to deploy the entire folder,
not just the public
folder?
Thank you in advance for your help!
I noticed that a default favicon (a letter "H" with a pink background) would be generated
and placed inside folder public
each time I run hugo
locally.
I inspected all the config files and could not see where this default behaviour originated.
Is there anyway to override this default favicon and use my own?
I have tried the following to use customized favicons, with no success:
https://realfavicongenerator.net
favicon.png
inside static/favicon/
head.html
by adding <link rel="icon" type="image/png" href="/favicon/favicon.png">
Thank you!
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.