Giter Club home page Giter Club logo

grav-coder's Issues

Default template issues

I am very new to Grav so bear with me please :)

I just installed it yesterday, played around a bit and installed your lovely theme. I was able to set up a blog in no time, and it looks great. Thanks.

I also use the login plugin to make some pages private, also works effortless. However the register page and login page look kinda messed up (see attach). I think they use default page template? So I made some other pages and all content seems to be centered and breaks don't seem to work. Markdown like this is being shown on one single line.

## test 1
### test 2

Am I missing something? Doing sonething wrong here? Hope you can help me out here.

Screenshot(4)

More Sections possible?

Hi, I really like the minimalistic style of the theme.
I would like to adapt it a bit though:

  • I would like to include a round image at the homepage (as in the original hugo theme)

I would like to include an about section (legal requirement) and possibly a second Blog Section.
Would that be possible, or would I have to stick with your version?
Thanks!

request: log in / log out in theme menu

I would love to see something like this in the theme if login plugin is enabled.

{% if config.plugins.login.enabled and grav.user.username %}
    <li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}

However this code only shows Name, logout. I would like to see Login as a permanent menu item, which is replaced by Name, Logout once logged in. Basic behavior people would expect. Somehow I can't get this to work :(

Content is load 'sideways'

Hello, firstly -- thank you for porting & modifying such a fabulous theme! It's great.

I'm struggling to move my site to the theme though, because all the markdown content in page loads sideways?

image

image

Add support for rel=me in the social media links in the footer

Not sure if this is the right place to write but I was missing the ability to link my mastodon account that uses the rel=me format to my site through the link in my footer.

I rewrote the footer.html.twig to check for it and wanted to share. I don't how to do pull requests and such but figured I'd post the code as a feature request, feel free to just run with it if you want. The only change is to line six here. And then I added a line saying "rel: me" to the link under social media in grav-coder.yaml under the config/themes folder.

section class="container centered">
  <div class="about">
    <ul>
      {% for type, meta in theme_config.social %}
        <li>
          <a href="{{ meta.url }}" {% if meta.rel %}rel="{{ meta.rel }}" {% endif %}class="btn btn-link" title="{{ meta.title }}">
            <i class="fab {{ meta.icon }}"></i>
          </a>
          {% if loop.last == false %}
            <span class="separator">•</span>
          {% endif %}
        </li>
      {% endfor %}
    </ul>
  </div>
</section>
<section class="container">
  <span class="copyright">
    ©
    {% if theme_config.footer.copyright_start_year %}
      {{ theme_config.footer.copyright_start_year }} -
    {% endif %}
    {{ "now"|date("Y") }} <a href="{{ home_url }}">{{ theme_config.footer.copyright }}</a>
  </span>

Deploy example site

Just so that anyone interested in using this theme has a better idea of what to expect, there should be an example (demo) site with all the features enabled.

  • Get some random static content
  • Deploy using content above with a reliable and free service provider
  • Update readme and description with the example site url
  • Use CI for keeping the example site updated
  • Create getting started repo with sample content (for user reference)

Featherlight plugin doesn't seem to work in this theme

Hi there,

I have been struggling to get featherlight lightbox plugin to work in this theme but I couldn't figure out why it didn't work. In the end I did a clean installation of Grav, tried te plugin in the default theme, installed Grav code, tried plugin again and it failed. Could you please look into this? I really need it and I would love to keep using this theme.

Kind regards

Posts don't appear on blog

I followed the structure in the setup instructions and have my post saved in ~/www/html/user/pages/01.blog/blog-post-title/item.md.

I can browse directly via the URL, but can't get it to show on the /blog page. Renaming the blog directory 02.blog as suggested in this thread didn't work, either.

How to create the home page

How can I recreate your home page? What template should I use, and what content does it have on your demo?

Thanks for your help.

Previous / Next Article function won't work

Hi !

Thanks for the work on grav-coder, I really like the sobriety of your theme !

Don't know if this should be a PR or if it's an issue due to a misconfiguration or misunderstanding of how the theme is working....

I've been in trouble to make the previous / next Article function work. Related links were always corresponding to the current article URL. I'm using Grav v1.7.38.

I managed to get it work modifying the file navigation.html.twig in /grav-coder/templates/partials/item/

I replaced page.prevSibling().slug (resp. nextSibling)

with page.parent().children().prevSibling(page.path).url (resp. nextSibling)

and...tadam, it worked....

Question: will you maintain the theme for grav 1.7

I have been using it for quite a while and I still love it very much! Was wondering if the theme will work well with the upcoming 1.7 release and if you plan on making it fully compatible ( no idea if there are many changes). Hope so!

Regards!

Grav menu and cache

Still using this theme with much pleasure :)

You helped me with the log in / log out menu which works great. #25

The menu is cached though so you tend to see the logged in menu while actually logged out, for example because the session has expired. You will have to F5 the page. Is there a way to prevent this menu from being cached (ESI?) or maybe there is a better way to handle this?

FontAwesome fonts do not appear on all pages

Greetings! Thanks so much for making this theme.

With the latest update, it seems as though fontawesome fonts are not appearing on all pages. I see they appear on Error pages, but not the other ones.

I'm primarily trying to just get the default Github and Linked In icons appearing in the footer. Please let me know if you need more information. I have attached screenshots from my site to show this behaviour:

Normal front page; note the separator dots appear at the bottom (above the copyright), but the three icons are blank.

Screenshot 2020-03-28 at 21 23 42

The error page; note that the icons appear as expected at the bottom:

Screenshot 2020-03-28 at 21 23 57

Many thanks!

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.