Comments (8)
Hmm, the collapse shortcode is available in the PaperMod theme at /layouts/shortcodes/collapse.html
{{ if .Get "summary" }}
{{ else }}
{{ warnf "missing value for param 'summary': %s" .Position }}
{{ end }}
<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
<summary markdown="span">{{ .Get "summary" | markdownify }}</summary>
{{ .Inner | markdownify }}
</details></p>
So this should not error out.
I would suggest using the PaperMod theme directly because this is heavily customized.
from personal-website.
well, i just downloaded and ran hugo serve so i don't know what could go wrong.
from personal-website.
are you sure it's there? Also if it is, and i'm just not seeing it, im sorry, i am completely new to this stuff.
Also can you walk me through cloning the repo so getting it to localy serve please.
from personal-website.
- I suggest you try following the guide from PaperMod: https://adityatelange.github.io/hugo-PaperMod/
- The shortcode is already included in the theme: https://github.com/adityatelange/hugo-PaperMod/blob/031e2ba57ea2b7b1de2e73c20bf2b5716f654fac/layouts/shortcodes/collapse.html
from personal-website.
could you please give me instructions on what to do after cloning your amazing repo.
like how to serve properly and that kinda thing
Again, i'm really story for how noobie this is.
from personal-website.
Again, this isn't meant to be used directly. Just running Hugo would work. Going through the Hugo docs would be the first step.
If you like to use this, then use the PaperMod theme and follow the instructions I shared in my previous comment.
from personal-website.
Ok thanks
from personal-website.
SOVED
When you clone you need to clone with
git clone
--recurse-submodules --no-single-branch
what every you want to clone
from personal-website.
Related Issues (9)
- posts/open-source-internship-programs/ HOT 1
- posts/cncf-webinar-meshery/ HOT 1
- posts/building-your-career-in-open-source/ HOT 1
- posts/webinar-non-code-contributions-to-open-source/ HOT 8
- posts/everything-about-gsoc/ HOT 1
- Updating blogs according to 2022 HOT 3
- Add Contrubuting.md file in order to not getting disqualified from hacktober fest HOT 4
- #Feature-Request: Dark Light mode toggle HOT 2
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 personal-website.