Single Page Theme

sage9

#1

I prepared a repository with code for single page sites based on
the sage 9 theme (needed for a project) – maybe it is also helpful for you:

Helper functions and customizr UI setup have been offloaded
to a separate (composer packaged) library:

(The code has been adopted from the WordPress Twenty Seventeen theme.)


#2

Nifty. I will try this out sometime soon!


#3

Just wanted to bring this up. Tried to install this into my theme, but composer says it can’t find it.

[InvalidArgumentException]
Could not find a matching version of package strarsis/sage9-onepager-lib. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).


#4

I published the strarsis/sage9-onepager-lib package on packagist now. You can install it in the theme (directory) using

$ composer require strarsis/sage9-onepager-lib

Previously you had to install directly from the GitHub repository by adding it to composer.json:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/strarsis/sage9-onepager-lib"
        }
    ],                                                                                                                            ],

#5

@romero2k: See the post above!