Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Theme - Version in Header vs github tagged release #1586

Closed
sheldonhull opened this issue Mar 16, 2018 · 9 comments
Closed

Remote Theme - Version in Header vs github tagged release #1586

sheldonhull opened this issue Mar 16, 2018 · 9 comments

Comments

@sheldonhull
Copy link

I just successfully cloned the remote_theme repo, updated with all my content, and built.
The header in the html shows :

  Minimal Mistakes Jekyll Theme 4.9.0 by Michael Rose
  Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
  Free for personal and commercial use under the MIT license
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt

I'm a little confused as the tagged release in github shows 4.10. I've seen I can use "bleeding edge" by referencing the github repo url. However, if I'm ok using the latest stable release and want the benefit of a remote_theme, shouldn't I see any tagged release in releases reflected when I do a build? I also see I can use a tag to specify a specific release. I'm assuming that the default behavior should be to get latest release.

My environment:
Windows 10
Docker - jekyll latest

My build console output confirmed:

Bundle complete! 5 Gemfile dependencies, 83 gems now installed.
@sheldonhull
Copy link
Author

I just performed a build using remote_theme: mmistakes/minimal-mistakes@4.10.1 and built successfully. However, the header still shows 4.9.0 so unless I'm doing something wrong, I'm guessing that the header information is not picking up the version correctly even though I'm assuming my remote test is running 4.10.1

@sheldonhull
Copy link
Author

I reviewed and verified package.json in your repo shows 4.10.1 . Hopefully this is enough information to shed some light on my ignorance :-) Thanks again for this awesome theme and your fantastic contribution to the community.

@mmistakes
Copy link
Owner

Not sure. In my experience you don't need to tag it, just include the remote theme and everytime it's built it will pull down the latest version from GitHub.

The only thing I've seen cause confusion is people expect their sites to update with the latest version... without doing a build. In those cases you have to either push up some new content or do a blank commit to force it.

@mmistakes
Copy link
Owner

It could be something as simple as the browser caching the HTML. Make sure you fully flush it, or try opening the page in a private/incognito tab as that doesn't use the cache.

@sheldonhull
Copy link
Author

I did a cache empty and reload in chrome in incognito, still shows 4.9. I will run docker command to force rebuild. I've not published, it's running locally only. I'll let you know the result

@mmistakes
Copy link
Owner

mmistakes commented Mar 16, 2018

Can you use the gem version instead or are you hosting on GitHub Pages?

The Ruby gem version is more stable as Jekyll's remote theme plugin is fairly new and potentially has bugs.

@mmistakes
Copy link
Owner

mmistakes commented Mar 16, 2018

Also make sure you don't have any local copies of _layouts, _includes, _sass, etc.

From the looks of your repo that's what you've done. They're are overriding the remote theme's versions which is why you are seeing 4.9.0 and not the latest.

Remove them and it'll solve your problem.

@sheldonhull
Copy link
Author

fyi, my repo is not what I'm testing with. I actually learned about remote theme's later on , and have a local forked copy of your remote theme demo repo that I'm doing all my testing with.

image

I'll have to figure out how to use the gem based approach with only overrides included as all I want to do is eliminate manual updates, and if the gem based approach can do that, I'll do that way instead. I just am newer to gem's, so must have missed that it worked similar.

@sheldonhull
Copy link
Author

Followed the directions for ruby gem method and worked great. Must be something with the remote_theme issue. I removed everything except my customized stuff and used the gem approach and it gave me the updated version. Thanks again for the beautiful theme. I got a great complement on the clean design today from someone, so that's a positive!

okitem pushed a commit to okmalls/okmalls.github.io that referenced this issue Sep 21, 2024
okitem pushed a commit to okmalls/okmalls.github.io that referenced this issue Sep 21, 2024
## [7.0.0](cotes2020/jekyll-theme-chirpy@v6.5.5...v7.0.0) (2024-05-11)

### ⚠ BREAKING CHANGES

* optimize the resource hints (mmistakes#1717)
* rename media-url file and related parameters (mmistakes#1651)
* rename comment setting parameter (mmistakes#1563)
* **analytics:** add post pageviews for GoatCounter (mmistakes#1543)

### Features

* add cloudflare web analytics ([mmistakes#1723](cotes2020/jekyll-theme-chirpy#1723)) ([c17fba4](cotes2020/jekyll-theme-chirpy@c17fba4))
* add support for embed video files ([mmistakes#1558](cotes2020/jekyll-theme-chirpy#1558)) ([9592146](cotes2020/jekyll-theme-chirpy@9592146))
* add support for giscus strict title matching ([mmistakes#1614](cotes2020/jekyll-theme-chirpy#1614)) ([700fd5b](cotes2020/jekyll-theme-chirpy@700fd5b))
* **analytics:** add post pageviews for GoatCounter ([mmistakes#1543](cotes2020/jekyll-theme-chirpy#1543)) ([b641b3f](cotes2020/jekyll-theme-chirpy@b641b3f))
* **analytics:** add Umami and Matomo tracking codes ([mmistakes#1658](cotes2020/jekyll-theme-chirpy#1658)) ([61bdca2](cotes2020/jekyll-theme-chirpy@61bdca2))
* change site verification settings ([mmistakes#1561](cotes2020/jekyll-theme-chirpy#1561)) ([e436387](cotes2020/jekyll-theme-chirpy@e436387))
* **deps:** move `MathJax` configuration to a separate file ([mmistakes#1670](cotes2020/jekyll-theme-chirpy#1670)) ([44f552c](cotes2020/jekyll-theme-chirpy@44f552c))
* display theme version in footer ([mmistakes#1611](cotes2020/jekyll-theme-chirpy#1611)) ([8349314](cotes2020/jekyll-theme-chirpy@8349314))
* **i18n:** allow `page.lang` to override `site.lang` ([mmistakes#1586](cotes2020/jekyll-theme-chirpy#1586)) ([547b95c](cotes2020/jekyll-theme-chirpy@547b95c))
* make post description customizable ([mmistakes#1602](cotes2020/jekyll-theme-chirpy#1602)) ([f865336](cotes2020/jekyll-theme-chirpy@f865336))
* **media:** support audio and video tag with multi sources ([mmistakes#1618](cotes2020/jekyll-theme-chirpy#1618)) ([23be416](cotes2020/jekyll-theme-chirpy@23be416))

### Bug Fixes

* make TOC title and entries visible at the same time ([mmistakes#1711](cotes2020/jekyll-theme-chirpy#1711)) ([e0950fc](cotes2020/jekyll-theme-chirpy@e0950fc))
* mode toggle not outlined when receiving keyboard focus ([mmistakes#1690](cotes2020/jekyll-theme-chirpy#1690)) ([cd37f63](cotes2020/jekyll-theme-chirpy@cd37f63))
* prevent footnote back arrow from becoming an emoji ([mmistakes#1716](cotes2020/jekyll-theme-chirpy#1716)) ([8608147](cotes2020/jekyll-theme-chirpy@8608147))
* **pwa:** skip range requests in service worker ([mmistakes#1672](cotes2020/jekyll-theme-chirpy#1672)) ([76d58fe](cotes2020/jekyll-theme-chirpy@76d58fe))
* search result prompt is empty ([mmistakes#1583](cotes2020/jekyll-theme-chirpy#1583)) ([8a2afae](cotes2020/jekyll-theme-chirpy@8a2afae))
* use `https` for Weibo sharing URL ([mmistakes#1612](cotes2020/jekyll-theme-chirpy#1612)) ([8e5fbb7](cotes2020/jekyll-theme-chirpy@8e5fbb7))

### Improvements

* improve <hr> visibility in dark mode ([mmistakes#1565](cotes2020/jekyll-theme-chirpy#1565)) ([4ddd5c4](cotes2020/jekyll-theme-chirpy@4ddd5c4))
* lean bootstrap javascript ([mmistakes#1734](cotes2020/jekyll-theme-chirpy#1734)) ([ddb48ed](cotes2020/jekyll-theme-chirpy@ddb48ed))
* rename comment setting parameter ([mmistakes#1563](cotes2020/jekyll-theme-chirpy#1563)) ([f8390d4](cotes2020/jekyll-theme-chirpy@f8390d4))
* replace jQuery with Vanilla JS ([mmistakes#1681](cotes2020/jekyll-theme-chirpy#1681)) ([fe7afa3](cotes2020/jekyll-theme-chirpy@fe7afa3))
* simplify mode toggle script ([mmistakes#1692](cotes2020/jekyll-theme-chirpy#1692)) ([d4a6d64](cotes2020/jekyll-theme-chirpy@d4a6d64))
* tree shaking Bootstrap CSS ([mmistakes#1736](cotes2020/jekyll-theme-chirpy#1736)) ([363a3d9](cotes2020/jekyll-theme-chirpy@363a3d9))

### Changes

* optimize the resource hints ([mmistakes#1717](cotes2020/jekyll-theme-chirpy#1717)) ([dcb0add](cotes2020/jekyll-theme-chirpy@dcb0add))
* rename media-url file and related parameters ([mmistakes#1651](cotes2020/jekyll-theme-chirpy#1651)) ([9f8aeaa](cotes2020/jekyll-theme-chirpy@9f8aeaa))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants