forked from luizdepra/hugo-coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'e66c1740611b15eee0069811d10b5a22b0dc4332'
* commit 'e66c1740611b15eee0069811d10b5a22b0dc4332': (66 commits) Remove hugow (luizdepra#146) Add missing built css files Fix pagination style (luizdepra#145) Add pt-br i18n (luizdepra#144) Add external link feature for posts (luizdepra#141) Fix hidden nav button on inverted (luizdepra#140) Easy customize (luizdepra#138) Add simple figure style for content class (luizdepra#130) Add Twitter Cards to each page (luizdepra#133) Fix multilingual home page avatar (luizdepra#134) Fix homepage main content section vertical align (luizdepra#118) Add missing pages Add HUGO_BIN into Makefile bug(base-url): change from site url to page url (luizdepra#131) Improve icons accessibility (luizdepra#127) Upgrade Hugo to v0.52/extended (luizdepra#124) Update PR template (luizdepra#125) Fix code indent (luizdepra#123) Revert flex on body Change copyright year to be current (luizdepra#121) ... # Conflicts: # archetypes/posts.md # layouts/_default/baseof.html # layouts/partials/home.html # layouts/partials/post.html # static/css/style.min.css # static/less/colors.less # static/less/style.less
- Loading branch information
Showing
71 changed files
with
1,360 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
### Prerequisites | ||
|
||
Put an `x` into the box(es) that apply: | ||
|
||
- [ ] This pull request fixes a bug. | ||
- [ ] This pull request adds a feature. | ||
- [ ] This pull request introduces breaking change. | ||
|
||
### Description | ||
|
||
Describe what this pull request achieves. | ||
|
||
### Issues Resolved | ||
|
||
List any existing issues this pull request resolves. | ||
|
||
### Checklist | ||
|
||
Put an `x` into the box(es) that apply: | ||
|
||
#### General | ||
|
||
- [ ] Describe what changes are being made | ||
- [ ] Explain why and how the changes were necessary and implemented respectively | ||
- [ ] Reference issue with `#<ISSUE_NO>` if applicable | ||
|
||
#### Resources | ||
|
||
- [ ] If you have changed any SCSS code, run `make release` to regenerate all CSS files | ||
|
||
#### Contributors | ||
|
||
- [ ] Add yourself to `CONTRIBUTORS.md` if you aren't on it already |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
**/themes/ | ||
demo/ | ||
.hugo/* | ||
!.hugo/version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Contributors | ||
|
||
- [Chip Senkbeil](https://github.com/chipsenkbeil) | ||
- [Dale Noe](https://github.com/dalenoe) | ||
- [Gabor Nagy](https://github.com/Aigeruth) | ||
- [Harry Khanna](https://github.com/hkhanna) | ||
- [Ihor Dvoretskyi](https://github.com/idvoretskyi) | ||
- [Jacob Wood](https://github.com/jacoblukewood) | ||
- [Jan Baudisch](https://github.com/flyingP0tat0) | ||
- [Jiri Hubacek](https://github.com/qeef) | ||
- [Khosrow Moossavi](https://github.com/khos2ow) | ||
- [Maikel](https://github.com/mbollemeijer) | ||
- [Myles Johnson](https://github.com/MylesJohnson) | ||
- [Niels Reijn](https://github.com/reijnn) | ||
- [Padraic Renaghan](https://github.com/prenagha) | ||
- [peterrus](https://github.com/peterrus) | ||
- [Philipp Rintz](https://github.com/p-rintz) | ||
- [Ralf Junghanns](https://github.com/rabbl) | ||
- [rdhox](https://rdhox.io) | ||
- [tobaloidee](https://github.com/Tobaloidee) | ||
- [Tomasz Wąsiński](https://github.com/wasinski) | ||
- [Vinícius dos Santos Oliveira](https://github.com/vinipsmaker) | ||
- [Vlad Ionescu](https://github.com/Vlaaaaaaad) | ||
- [Joseph Ting](https://github.com/josephting) | ||
- [Abner Campanha](https://github.com/abnerpc) | ||
- [Martin Kiesel](https://github.com/Kyslik) | ||
- [John Tobin](https://www.johntobin.ie/) | ||
- [Thomas Nys](https://thomasnys.com) | ||
- [Piotr Januszewski](https://piojanu.github.io) | ||
- [Artem Khvastunov](https://artspb.me) | ||
- [Gabriel Nepomuceno] (https://blog.nepomuceno.me) | ||
- [Salvatore Giordano] (https://salvatore-giordano.github.io) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,20 @@ | ||
# LESS params | ||
LESS_DIR = ./static/less | ||
LESS_FILE = style.less | ||
LESS_RTL_FILE = style-rtl.less | ||
HUGO_BIN=hugo | ||
|
||
# CSS params | ||
CSS_DIR = ./static/css | ||
CSS_FILE = style.min.css | ||
CSS_RTL_FILE = style-rtl.min.css | ||
CSS_TMP_FILE = tmp.css | ||
.PHONY: prepare release build demo clean | ||
|
||
define build_less | ||
lessc $(LESS_DIR)/$(1) > $(CSS_DIR)/$(CSS_TMP_FILE) | ||
uglifycss $(CSS_DIR)/$(CSS_TMP_FILE) > $(CSS_DIR)/$(2) | ||
rm -f $(CSS_DIR)/$(CSS_TMP_FILE) | ||
endef | ||
build: prepare | ||
$(HUGO_BIN) --source demo | ||
|
||
.PHONY: clean demo build build-ltr build-rtl | ||
demo: prepare | ||
$(HUGO_BIN) server --buildDrafts --source demo | ||
|
||
build: clean build-ltr build-rtl | ||
release: build | ||
rm -rf ./resources && cp -r ./demo/resources ./resources | ||
|
||
build-ltr: | ||
$(call build_less,$(LESS_FILE),$(CSS_FILE)) | ||
|
||
build-rtl: | ||
$(call build_less,$(LESS_RTL_FILE),$(CSS_RTL_FILE)) | ||
|
||
demo: build | ||
mkdir -p demo/themes/coder | ||
rsync -av exampleSite/* demo | ||
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/coder | ||
cd demo && hugo serve -D | ||
prepare: clean | ||
mkdir -p demo/themes/hugo-coder | ||
rsync -av exampleSite/ demo | ||
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder | ||
|
||
clean: | ||
rm -f $(CSS_DIR)/*.css | ||
rm -rf demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.