Giter Site home page Giter Site logo

Error on serve about personal-website HOT 8 CLOSED

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024
Error on serve

from personal-website.

Comments (8)

pottekkat avatar pottekkat commented on June 26, 2024

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.

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024

well, i just downloaded and ran hugo serve so i don't know what could go wrong.

from personal-website.

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024

image
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.

pottekkat avatar pottekkat commented on June 26, 2024
  1. I suggest you try following the guide from PaperMod: https://adityatelange.github.io/hugo-PaperMod/
  2. The shortcode is already included in the theme: https://github.com/adityatelange/hugo-PaperMod/blob/031e2ba57ea2b7b1de2e73c20bf2b5716f654fac/layouts/shortcodes/collapse.html

from personal-website.

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024

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.

pottekkat avatar pottekkat commented on June 26, 2024

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.

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024

Ok thanks

from personal-website.

Tytan-Codes avatar Tytan-Codes commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.