Code Monkey home page Code Monkey logo

gethugothemes / parsa-hugo Goto Github PK

View Code? Open in Web Editor NEW
154.0 8.0 318.0 21.13 MB

Parsa is a personal blog theme powered by Hugo. It also can be used for portfolio website.

Home Page: https://gethugothemes.com/products/parsa/?utm_source=parsa_github&utm_medium=referral&utm_campaign=github_theme_about

License: MIT License

JavaScript 39.94% HTML 42.17% CSS 17.89%
personal-blog hugo-theme hugo-blog blog-theme portfolio-template blog-themes hugo jamstack static-site-generator hugo-site

parsa-hugo's People

Contributors

0xflotus avatar cloudonfleek avatar faarhadhossen avatar mehedi-sharif avatar monomono2 avatar phillxnet avatar roscooking avatar selcuk avatar shampaakter avatar snix0 avatar somratpro avatar tdufaure avatar tffarhad avatar tflijon avatar tfsojon avatar tfsomrat avatar tfsumon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

parsa-hugo's Issues

Instagram access token

Hello!

Great work on this theme! :)

I'm wondering how I can get an access token for my Instagram account, for the slider at the bottom of the home page?

I am seeing on this page: https://www.instagram.com/developer/

"UPDATE: Starting October 15, 2019, new client registration and permission review on Instagram API platform are discontinued in favor of the Instagram Basic Display API."

How does this affect this functionality?

Thank you very much!

"feature" type image size

The four type="feature" tiles on my parsa-themed homepage (the four tiles with "Read More" boxes) lead to pages with massive images at the head (example). How can I resize the images on the target pages?

Code is here.

Trying to understand the license

The Readme mentions the code is released under MIT but the design is not. Are we able to use this theme for commercial purposes 🤔 under the existing MIT license

Jquery Error after fresh install

Using google chrome Inspect, there is the error below

script.min.js:2 Uncaught ReferenceError: jQuery is not defined
    at script.min.js:2

image

Is it possible to have the article return only the value when `src="{{.Params.Image | absURL }}"` is true and show the default image when` src="{{.Params.Image | absURL }}" `is false?

Is it possible to have the article return only the value when src="{{.Params.Image | absURL }}" is true and show the default image whensrc="{{.Params.Image | absURL }}"is false?

For example, when acquiring images from Contentful in Nuxt.js, we can use the ternary operator to write the following inside the tag.

<img :src="post.fields.image ? post.fields.image.fields.file.url : 'The default image URL' ">

Or use Nuxt.js(Vue.js) conditional branching to determine if the image source is true.

<img v-if="post.fields.image" :src="post.fields.image.fields.file.url">
<img v-else="" src="デフォルトにする画像のURL">

Can't we use ternary operators in Go?

Some problem about use self defined params in config.toml

1. Is there some documents for adding self defind params in config.toml?

2.How can i use other icon , such as fa-icon rather ti-icon. I use fa-icon, but it seems take no effect. Is there anything else i should change at the same time?

3. How can i adjust image width in my markdown file

How to add a Drop Down "More" Menu + Pages

Hi, how are you?
Could you kindly help me.
I am interested in creating pages e.g Privacy Policy, Terms and Conditions and more and add them to the menu.
Problem is i don't know if the method i am thinking about will work(the method: create a new folder, name it after the page create a new md file copy the about frontmatter and paste it and write the rest), i don't know how to import it into forestry for easier editing when i final start adding writers and i don't know how to add them to the menu through a "more" dropdown menu item.
Kindly help me.

instafeed

do you have any up-to-date instructions on how to get the access token required to use the instafeed, I spent quite some time and couldn't figure it out. Any help would be greatly appreciated

how to set up contact_form

Hi, I acknowledge that there is contact_form_action field in config.toml. I want to use formspree.io to redirect the message submitted by users to my email address.
I already modify contact.md as required by formspree. My question is what do I need to fill in the contact_form_action field in config.toml?

Broken "Follow me:" links on homepage layout 2

The auto generated "Follow me:" links on homepage layout 2 are broken. However their footer equivalents work just fine.

I am currently working on a pull request for this issue and will submit this shortly.

Featured images are not responsive

I've been working with the theme for a few days. It looks great on desktop mode so far, but when you use a tablet or phone size the "featured articles" images are cut out by the header and don't feel responsive at all.
At first I thought I messed it up when making changes to the CSS, but the theme looks to have the same problem in the demo page.
capturapantalla

I'm actually surprised I didn't spot this problem earlier.

Any idea on how to fix it?

search form not working

Hi,

I am using the parsa-hugo theme for a personal blog, and I am using the latest version from the master branch on Gihub.

I have noticed that the search bar doesn't seem to be working for me on the production version of my blog (it works fine on hugo server).

When I type a search term on the search bar and hit enter it redirects me to https://<blog_url>/search/ so no results are found.

I have found that when I do it with the local server the URL is instead http://localhost:1313/search/?s=<search_term>, which works just fine.

What is more, if I manually tipe the ?s=<search_term> on the live version I can see the search results just fine.

I am not sure how to continue debugging this issue, or if it is related to parsa-hugo or my own build/deploy process.

Remove defunct _internal google_analytics_async.html reference

When starting Hugo version 0.124.0 via: hugo server -D there is the following warning:

WARN _internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo

It is proposed that this now defunct mechanism be removed from its invocation within the head partial.

I am preparing a pull request to address this issue.

The theme is incompleted loaded

I tried to build Parsa-hugo-personal-blog-theme but it is not loaded completely, as shown below:
image

I did not modify the template code and the only error that I could find was below shown on the browser (Chrome).

"Uncaught ReferenceError: jQuery is not defined
at script.min.js:2"

I am begginer and I dont know where I would check to find the problem.

How to set search parameters

This theme is awesome really nice work, I did fork it and added some documentation (do you want the PR on it like what does layout 1 or 2 mean).

But one thing that I broke but can't figure out is that Search no longer works, if you go to https://restart.us which is a fork of this, the search is using an absolute path, so it tries to do a https://search.js?q=foo instead of https://restart.us/search.js?q=foo do you know where the template is that specifies this?

I'm a complete noob, but the search does a correct URL when running in test mode so with hugo server, but when I push it to netlify, it doesn't, so something is different up there. I'm having trouble seeing how in Hugo, you pass the parameter to the Search page, but I presume there is some documentation somewhere about search.js and how to configure the link properly.

Favicon

HI!
How to enable favicon in this theme?

Very slow loading on mobile view

I'm not sure if why is it loading really slow when navigating back to home page. Only happening when mobile view

Reproduction:

  1. Visit demo site (https://themes.gohugo.io/theme/parsa-hugo-personal-blog-theme/) using chrome browser (not all browsers were tested)
  2. Right-click then click Inspect (Ctrl+Shift+I or press F12
  3. Toggle Device Toolbar (Ctrl+Shift+M)
  4. Click logo to go back to index
  5. It will load very slow. (Other browsers not tested.)

Screen capture:

parsa

Video Recording:

parsa-video-record.zip

Side bar partial fails to honour site.Params.search

When setting [params] 'search = false' the sidebar partial fails to honour this setting: resulting in an unexpected search item.

It is proposed that the expected behaviour is that of the functional header partial: where the search is disabled according to this parameter being set to false.

I am preparing a pull request to address this issue, and will present this shortly.

Insta feed not showing up

I checked everywhere but there is no insta feed showing up in the site. I already got my access token from instagram. Where does the site show the insta feed?

post-thumb in forestry

For each new post I create, I can't see any thumb of the post I uploaded: I can see only "post-thumb".

image
Help!
ps: analyzing the html for the examples there is a src like this: example.com/folder/to/imgs/image.jpg, while for the new posts I see only example.com/ ... btw, I uploaded the media and I can see them on Forestry (from repo).

Image not responsive

when I add an image on the blog page, for example ![](/image/blog/image.png it looks strange, and I have to scroll right. Desktop and on the mobile the same result.

Parsa theme & kross and maybe other theme.

Thank you.

Writing in markdown.

I noticed that when writing a text in markdown, line breaks are almost not possible.
It is only possible to make a writing block and to skip one or two lines to create another paragraph.
But I found out that in the css, you just have to remove the margin on the .content to get a better presentation of the text.

Included font is not free for web use.

The hanskendrick-regular-webfont fonts appear to not be free for commercial use, but this package is distributed under the MIT license. You should remove the font from the package to avoid issues.

The theme is not applied with Netlify hosting

  1. Fork repository(succeeded!)

  2. Add my repository in Forestry and change the base url in configuration.(succeeded!)

3.Setup and host the site with Netlify
I succeeded to deploy, but no CSS file is applied. Like this(https://newthugo.netlify.app/).

How can I fix it?
I’ve tried to manage it by myself, but It was hard for me.

Copyright link broken in example site

The example site's config.toml has an incomplete url definition for the themefisher.com link. Given folks will likely want to copy this link for attribution purposed it would be nice if it worked out-of-the-box.

I am currently working on a pull request for this issue and will submit this shortly.

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.