{"id":26590081,"url":"https://github.com/bisw4sh/hugo-blogs","last_synced_at":"2026-05-16T01:35:17.085Z","repository":{"id":283791866,"uuid":"952674168","full_name":"bisw4sh/hugo-blogs","owner":"bisw4sh","description":"blogsite using hugo with papermod theme","archived":false,"fork":false,"pushed_at":"2025-03-22T07:31:19.000Z","size":3314,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T08:19:38.608Z","etag":null,"topics":["blogs","hugo","papermod","portfolio"],"latest_commit_sha":null,"homepage":"https://bisw4sh.github.io/hugo-blogs/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bisw4sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T17:19:00.000Z","updated_at":"2025-03-22T07:31:23.000Z","dependencies_parsed_at":"2025-03-22T08:29:45.657Z","dependency_job_id":null,"html_url":"https://github.com/bisw4sh/hugo-blogs","commit_stats":null,"previous_names":["bisw4sh/hugo-blogs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisw4sh%2Fhugo-blogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisw4sh%2Fhugo-blogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisw4sh%2Fhugo-blogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisw4sh%2Fhugo-blogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bisw4sh","download_url":"https://codeload.github.com/bisw4sh/hugo-blogs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245105408,"owners_count":20561518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blogs","hugo","papermod","portfolio"],"created_at":"2025-03-23T13:20:39.737Z","updated_at":"2026-05-16T01:35:12.063Z","avatar_url":"https://github.com/bisw4sh.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis repo is a static blog site(SSG) made using [hugo](https://gohugo.io/) \u0026 with the theme [PaperMod](https://themes.gohugo.io/themes/hugo-papermod/)\n\n1. [Papermod's doc](https://github.com/adityatelange/hugo-PaperMod/wiki) use this to setup the papermod theme\n\n2. [Example of usecase](https://github.com/adityatelange/hugo-PaperMod/blob/exampleSite/config.yml)\n\n3. [Demo](https://github.com/adityatelange/hugo-PaperMod/blob/exampleSite/config.yml)\n\n4. [Guide](https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/)\n\n---\n\n## Key things to consider\n\n1. **./hugo.yml**\n```\n# baseURL: \"http://bisw4sh.github.io/hugo\"\nbaseURL: \"/\"\ntitle: Biswash\ncopyright: \"© [bisw4sh](https://biswashdhungana.com.np)\"\npagination:\n  pagerSize: 5\ntheme: PaperMod\n\nenableRobotsTXT: true\nbuildDrafts: true\nbuildFuture: true\nbuildExpired: true\n\nminify:\n  disableXML: true\n  minifyOutput: true\n\nparams:\n  env: production # to enable google analytics, opengraph, twitter-cards and schema.\n  title: biswash\n  description: \"Static blog and portfolio site using hugo static site generator.\"\n  keywords: [Blog, Portfolio, PaperMod]\n  author: [\"Me\", \"biswash\"]\n  # author: [\"Me\", \"You\"] # multiple authors\n  images: [\"\u003clink or path of image for opengraph, twitter-cards\u003e\"]\n  DateFormat: \"January 2, 2006\"\n  defaultTheme: auto # dark, light\n  disableThemeToggle: false\n\n  ShowReadingTime: true\n  ShowShareButtons: true\n  ShowPostNavLinks: true\n  ShowBreadCrumbs: true\n  ShowCodeCopyButtons: true\n  ShowWordCount: true\n  ShowRssButtonInSectionTermList: true\n  UseHugoToc: true\n  disableSpecial1stPost: true\n  disableScrollToTop: false\n  comments: false\n  hidemeta: false\n  hideSummary: false\n  showtoc: false\n  tocopen: false\n\n  assets:\n    # disableHLJS: true # to disable highlight.js\n    # disableFingerprinting: true\n    favicon: \"\u003clink / abs url\u003e\"\n    favicon16x16: \"\u003clink / abs url\u003e\"\n    favicon32x32: \"\u003clink / abs url\u003e\"\n    apple_touch_icon: \"\u003clink / abs url\u003e\"\n    safari_pinned_tab: \"\u003clink / abs url\u003e\"\n\n  label:\n    text: \"Home\"\n    icon: /apple-touch-icon.png\n    iconHeight: 35\n\n  # profile-mode\n  profileMode:\n    enabled: false # needs to be explicitly set\n    title: biswash's blogs\n    subtitle: \"I'm a software engineer from Pokhara, Nepal, specializing in full-stack web development. I mainly do backend work with TypeScript and Go. I'm interested in databases, cloud, and web3, focusing on performance, scalability, and decentralization.\"\n    imageUrl: \"conv.jpg\"\n    imageWidth: 250\n    imageHeight: 250\n    imageTitle: my mugshot\n    buttons:\n      - name: Posts\n        url: posts\n      - name: Tags\n        url: tags\n\n  # home-info mode\n  homeInfoParams:\n    Title: \"Hi there \\U0001F44B\"\n    Content: \"I'm a software engineer from Pokhara, Nepal, specializing in full-stack web development. I mainly do backend work with TypeScript and Go. I'm interested in databases, cloud, and web3, focusing on performance, scalability, and decentralization.\"\n\n  socialIcons:\n    - name: github\n      url: \"https://github.com/bisw4sh\"\n    - name: gitlab\n      url: \"https://gitlab.com/bisw4sh\"\n    - name: leetcode\n      url: \"https://leetcode.com/u/bisw4sh/\"\n    - name: linkedin\n      url: \"https://www.linkedin.com/in/biswashdhungana/\"\n    - name: x\n      url: \"https://x.com/bisw4sh\"\n    - name: bluesky\n      url: \"https://bsky.app/profile/bisw4sh.bsky.social\"\n    - name: facebook\n      url: \"https://facebook.com/bisw4sh\"\n    - name: instagram\n      url: \"https://instagram.com/bisw4sh\"\n\n  analytics:\n    google:\n      SiteVerificationTag: \"XYZabc\"\n    bing:\n      SiteVerificationTag: \"XYZabc\"\n    yandex:\n      SiteVerificationTag: \"XYZabc\"\n\n  cover:\n    hidden: false # hide everywhere but not in structured data\n    hiddenInList: true # hide on list pages and home\n    hiddenInSingle: false # hide on single page\n\n  editPost:\n    URL: \"https://github.com/\u003cpath_to_repo\u003e/content\"\n    Text: \"Suggest Changes\" # edit text\n    appendFilePath: true # to append file path to Edit link\n\n  # for search\n  # https://fusejs.io/api/options.html\n  fuseOpts:\n    isCaseSensitive: false\n    shouldSort: true\n    location: 0\n    distance: 1000\n    threshold: 0.4\n    minMatchCharLength: 0\n    limit: 10 # refer: https://www.fusejs.io/api/methods.html#search\n    keys: [\"title\", \"permalink\", \"summary\", \"content\"]\nmenu:\n  main:\n    - identifier: categories\n      name: categories\n      url: /categories/\n      weight: 10\n    - identifier: tags\n      name: tags\n      url: /tags/\n      weight: 20\n    - identifier: example\n      name: portfolio\n      url: https://biswashdhungana.com.np\n      weight: 30\n# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma\npygmentsUseClasses: true\nmarkup:\n  highlight:\n    noClasses: false\n    anchorLineNos: true\n    codeFences: true\n    guessSyntax: true\n    lineNos: true\n    style: monokai\n\noutputs:\n  home:\n    - HTML\n    - RSS\n    - JSON # necessary for search\n```\n\n2. **./archetypes/default.md**\n```\n---\ntitle: '{{ replace .File.ContentBaseName \"-\" \" \" | title }}'\ndate: '{{ .Date }}'\n# weight: 1\n# aliases: [\"/first\"]\ntags: [\"tag1\", \"tag2\", \"tag3\"]\ncategories:\n  - DefaultCategory\nauthor: [\"biswash\"]\n# author: [\"Me\", \"You\"] # multiple authors\nshowToc: true\nTocOpen: false\ndraft: false\nhidemeta: false\ncomments: false\ndescription: \"Description of the post\"\ncanonicalURL: \"https://canonical.url/to/page\"\ndisableHLJS: true # to disable highlightjs\ndisableShare: false\ndisableHLJS: false\nhideSummary: false\nsearchHidden: true\nShowReadingTime: true\nShowBreadCrumbs: true\nShowPostNavLinks: true\nShowWordCount: true\nShowRssButtonInSectionTermList: true\nUseHugoToc: true\ncover:\n    image: \"/\" # image path/url\n    alt: \"\u003calt text\u003e\" # alt text\n    caption: \"\u003ctext\u003e\" # display caption under cover\n    relative: false # when using page bundles set this to true\n    hidden: true # only hide on current single page\neditPost:\n    URL: \"https://github.com/bisw4sh/hugo-blogs\"\n    Text: \"Suggest Changes\" # edit text\n    appendFilePath: true # to append file path to Edit link\n---\n```\n\n3. **./content/posts**\n- This is necessary because, if this isn't the case, it won't be displayed in the main page. Only one folder's contents are displayed.\n\n4. **./\u003cstatic_files\u003e**\n- This is the cause for images and cover images\n\n```\n//hugo.yml\ncover:\n    image: \"/blogs/react-router.jpg\" # image path/url\n    alt: \"\u003calt text\u003e\" # alt text\n    caption: \"\u003ctext\u003e\" # display caption under cover\n    relative: false # when using page bundles set this to true\n    hidden: true # only hide on current single page\n```    \n\n```\n//\u003c./posts/\u003cpost_name.md\u003e\u003e\n![google oauth flow](/blogs/google-oauth.png)\n```\n\n---\n\n### Setting up the hugo projects\n\n#### 1. scaffold the hugo projects with :\n` hugo new site \u003csite_name\u003e --format -yml`\n\n--format : {yml (recommended), toml, json}\n\n#### 2. use themes to get started or you could create your own.\n` git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke `\n\n#### 3. Signal what theme is being used\n`echo \"theme = 'ananke'\" \u003e\u003e hugo.toml `\n\n#### 4. start the server\n`hugo server` or `rm rf public server` to remove the build and start again\n\n#### 5. add contents\n`hugo new content content/posts/my-first-post.md`\n - totally depends on the theme used or configuration.\n\n---\n\n Get the themes from:\n 1. [Jamstack Themes](https://jamstackthemes.dev/)\n 2. [Hugo Themes](https://themes.gohugo.io/)\n\n ---\n\n ### Github Pages Deployment\n[Follow hugo's docs for github pages deployment](https://gohugo.io/host-and-deploy/host-on-github-pages/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbisw4sh%2Fhugo-blogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbisw4sh%2Fhugo-blogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbisw4sh%2Fhugo-blogs/lists"}